[issue23784] Reloading tokenize module leads to error

2015-03-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: fixed -> duplicate superseder: -> Reloading tokenize breaks tokenize.open() ___ Python tracker ___ __

[issue23784] Reloading tokenize module leads to error

2015-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: out of date -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23784] Reloading tokenize module leads to error

2015-03-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue23615. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue23784] Reloading tokenize module leads to error

2015-03-26 Thread David Marks
New submission from David Marks: 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. ---