Nick Coghlan added the comment:

As Serhiy's examples show, the ambiguities this introduces get confusing fast. 
A more constrained version that (for example) permitted only name references 
for the callable could resolve that, but it's probably still a bad idea. Still, 
interesting to know it is *technically* possible, if anyone decides to pursue 
it further :)

The "silently ignores bare print statements" aspect isn't new - Python 3 
already behaves that way, since a print on its own line now just references the 
builtin without calling it.

----------
resolution:  -> rejected
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18788>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to