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 dmarks
Recipients dmarks
Date 2015-03-26.11:17:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427368677.31.0.668766566103.issue23784@psf.upfronthosting.co.za>
In-reply-to
Content
On 432 in tokenize.py there is an assignment

_builtin_open = open

Followed in 434 with a redefinition of open

def open(filename):

If the module is reloaded, _builtin_open gets reassigned to the new function and subsequent calls to _builtin_open fail.
History
Date User Action Args
2015-03-26 11:17:57dmarkssetrecipients: + dmarks
2015-03-26 11:17:57dmarkssetmessageid: <1427368677.31.0.668766566103.issue23784@psf.upfronthosting.co.za>
2015-03-26 11:17:57dmarkslinkissue23784 messages
2015-03-26 11:17:57dmarkscreate