Message127570
The tokenize module stores the built-in open() module in a global assignment statement. Problem is that if you reload the module, that global assignment picks up the module's own open() that came into existence during the initial import.
The attached patch fixes this by having tokenize.open() use builtins.open() instead of its own cached global version. |
|
Date |
User |
Action |
Args |
2011-01-31 04:04:11 | brett.cannon | set | recipients:
+ brett.cannon, georg.brandl, vstinner |
2011-01-31 04:04:11 | brett.cannon | set | messageid: <1296446651.43.0.796363573653.issue11074@psf.upfronthosting.co.za> |
2011-01-31 04:04:10 | brett.cannon | link | issue11074 messages |
2011-01-31 04:04:10 | brett.cannon | create | |
|