summaryrefslogtreecommitdiff
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2011-02-22 03:25:12 +0000
committerBrett Cannon <bcannon@gmail.com>2011-02-22 03:25:12 +0000
commitf3042782af65fbf68ca7e343357144c676b3fd54 (patch)
treee1589872758b0742df86d7e7e18cc0e1a9a51062 /Python/pystrtod.c
parenteeb114b028f7aef886e0b1b514d58aac9d26bc8c (diff)
downloadcpython-git-f3042782af65fbf68ca7e343357144c676b3fd54.tar.gz
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/pystrtod.c')
0 files changed, 0 insertions, 0 deletions