This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kaizhu
Recipients georg.brandl, kaizhu, pitrou
Date 2009-07-18.10:48:19
SpamBayes Score 1.927613e-06
Marked as misclassified No
Message-id <1247914101.81.0.740874717336.issue6504@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-07-18 10:48:21kaizhusetrecipients: + kaizhu, georg.brandl, pitrou
2009-07-18 10:48:21kaizhusetmessageid: <1247914101.81.0.740874717336.issue6504@psf.upfronthosting.co.za>
2009-07-18 10:48:19kaizhulinkissue6504 messages
2009-07-18 10:48:19kaizhucreate