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 vstinner
Recipients benjamin.peterson, certik, vstinner
Date 2008-11-10.09:45:59
SpamBayes Score 0.00031858703
Marked as misclassified No
Message-id <1226310378.14.0.41538238851.issue4290@psf.upfronthosting.co.za>
In-reply-to
Content
You would like to replace "from mptypes import ..." by "from .mptypes 
import ...". Is it really a bug? Python is unable to guess if mptypes, 
functions or settings are "global" modules or "relative" modules. Why 
don't you patch your original code since Python 2.5 also supports this 
syntax? Documentation:
http://www.python.org/doc/2.5.2/ref/import.html
http://docs.python.org/reference/simple_stmts.html#the-import-statement
History
Date User Action Args
2008-11-10 09:46:23vstinnersetrecipients: + vstinner, benjamin.peterson, certik
2008-11-10 09:46:18vstinnersetmessageid: <1226310378.14.0.41538238851.issue4290@psf.upfronthosting.co.za>
2008-11-10 09:46:14vstinnerlinkissue4290 messages
2008-11-10 09:46:11vstinnercreate