My wishlist for Python3K
Thomas Thiele
thiele at muc.das-werk.de
Thu Jun 8 10:50:01 EDT 2000
>
And my wish is:
Something like a (optional) preprocesor that scans the whole file for unknown
arguments and double defined functions (int the same class)
Example One:
def function_running_very_long(...):
......
def other_function(.....):
variable = function_running_very_long(...)
print variabl #forgotten "e"
I really don't like it, to get a "NameError: variabl" after some hours.......
Example Two:
class X:
.....
def function(......): #you can write here what you want
....
.....
def function(......): #if you have a second function with the same
name
..... #(forgotten or forgotten to delete or
type-mistake)
More information about the Python-list
mailing list