This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ozy
Recipients ozy
Date 2014-01-15.00:40:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389746407.11.0.333794410769.issue20263@psf.upfronthosting.co.za>
In-reply-to
Content
Not sure if this is a bug. We're experiencing it in v3.3.2 and was discovered by accident.

It seems to be possible to define python functions (like print or input) as variables, as if they're not reserved. If you do that, the command functionality is lost until Python is reseted.

For example try this in IDLE:

>>> print = 10
>>> print
10
>>> print(print)
TypeError: int object is not callable
>>> print(10)
TypeError: int object is not callable

Here is a screenshot >

http://imgur.com/IpjELhp

We tested it, and this doesn't happen in v2.

Sorry if this has been reported previously.

Best regards.
History
Date User Action Args
2014-01-15 00:40:07ozysetrecipients: + ozy
2014-01-15 00:40:07ozysetmessageid: <1389746407.11.0.333794410769.issue20263@psf.upfronthosting.co.za>
2014-01-15 00:40:07ozylinkissue20263 messages
2014-01-15 00:40:06ozycreate