diff options
author | Brett Cannon <bcannon@gmail.com> | 2011-02-22 03:35:18 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2011-02-22 03:35:18 +0000 |
commit | 45b96d373e6025ce0c16d6d60943da1bf4d13620 (patch) | |
tree | 5ca314188a7570b1fd8fbbb5ae84c57986d4ce9e /Python/pythonrun.c | |
parent | 64c9af1508e506c188cd1eb8e986d64b1ac8c46c (diff) | |
download | cpython-git-45b96d373e6025ce0c16d6d60943da1bf4d13620.tar.gz |
Merged revisions 88498 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88498 | brett.cannon | 2011-02-21 19:25:12 -0800 (Mon, 21 Feb 2011) | 8 lines
Issue #11074: Make 'tokenize' so it can be reloaded.
The module stored away the 'open' object as found in the global namespace
(which fell through to the built-in namespace) since it defined its own 'open'.
Problem is that if you reloaded the module it then grabbed the 'open' defined
in the previous load, leading to code that infinite recursed. Switched to
simply call builtins.open directly.
........
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions