]> granicus.if.org Git - python/commit
Merged revisions 88498 via svnmerge from
authorBrett Cannon <bcannon@gmail.com>
Tue, 22 Feb 2011 03:35:18 +0000 (03:35 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 22 Feb 2011 03:35:18 +0000 (03:35 +0000)
commit45b96d373e6025ce0c16d6d60943da1bf4d13620
tree5ca314188a7570b1fd8fbbb5ae84c57986d4ce9e
parent64c9af1508e506c188cd1eb8e986d64b1ac8c46c
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.
........
Lib/tokenize.py
Misc/NEWS