Message90672
current hack-around, then is to pre-import locale, which is verified to
work:
# beg test.py
class importer(object):
def find_module(self, mname, path = None): open("foo.txt")
import sys, locale; sys.meta_path.append(importer)
import collections # no recursion
# end test.py |
|
Date |
User |
Action |
Args |
2009-07-18 10:48:21 | kaizhu | set | recipients:
+ kaizhu, georg.brandl, pitrou |
2009-07-18 10:48:21 | kaizhu | set | messageid: <1247914101.81.0.740874717336.issue6504@psf.upfronthosting.co.za> |
2009-07-18 10:48:19 | kaizhu | link | issue6504 messages |
2009-07-18 10:48:19 | kaizhu | create | |
|