[Python-Dev] Inconsistent script/console behaviour
anatoly techtonik
techtonik at gmail.com
Sat Sep 24 01:25:52 CEST 2011
Currently if you work in console and define a function and then
immediately call it - it will fail with SyntaxError.
For example, copy paste this completely valid Python script into console:
def some():
print "XXX"
some()
There is an issue for that that was just closed by Eric. However, I'd
like to know if there are people here that agree that if you paste a
valid Python script into console - it should work without changes.
--
anatoly t.
More information about the Python-Dev
mailing list