[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-24 Thread Georg Brandl
Georg Brandl added the comment: Closing as per python-dev discussion. -- nosy: +georg.brandl status: languishing -> closed ___ Python tracker ___ ___

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-23 Thread anatoly techtonik
anatoly techtonik added the comment: I understand your desire to keep the tracker clean, but I'd like that another person closes this issue. Maybe he will have another opinion. -- resolution: invalid -> status: closed -> languishing ___ Python trac

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-23 Thread Éric Araujo
Éric Araujo added the comment: The example is not in our documentation. I don’t see a bug, closing. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-20 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-19 Thread anatoly techtonik
anatoly techtonik added the comment: If changing behavior of console is not possible now, schedule it for python4. http://stackoverflow.com/questions/1392413/calculating-a-directory-size-using-python/1392549#1392549 -- ___ Python tracker

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-19 Thread Éric Araujo
Éric Araujo added the comment: If you point out the reST files with examples that don’t work when copy-pasted, we can fix them. Changing the behavior of the interpreter itself is probably not possible. -- nosy: +eric.araujo ___ Python tracker

[issue13008] syntax error when pasting valid snippet into console without empty string after the function def

2011-09-19 Thread anatoly techtonik
New submission from anatoly techtonik : This is self-explanative. Function definitions are identical. Syntax error caused by the absence of empty line after the function definition. Python 2.7.1 (r271:86832, Apr 12 2011, 16:16:18) [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2 Type "help", "