Re: _namemapper: check error from PyImport_ImportModule
Bogdano Arendartchuk <[email protected]>
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
2009/6/7 R. Tyler Ballance <[email protected]>: > > One more thing, this doesn't reproduce the error for me, since the > 'level' parameter is only passed in 2.6+ when using relative or absolute > imports. If I run this test on my Python 2.4 sandbox I get no issues > whatsoever. > > Do you have an actual full reproduction case? :/ > Indeed, with Python 2.4 it requires some kind of cheating to reproduce it: import sys import Cheetah sys.path[:] = ["/foo/bar"] import Cheetah._namemapper -- Bogdano Arendartchuk ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get