Message 69610 - Python tracker (original) (raw)

Message69610

Author ncoghlan
Recipients ncoghlan, schmir, twouters
Date 2008-07-13.15:07:33
SpamBayes Score 0.00083345966
Marked as misclassified No
Message-id 1215961719.31.0.084116596631.issue3221@psf.upfronthosting.co.za
In-reply-to
Content
Fixed in r64915. The end result is that the import system now only emits a RuntimeWarning instead of raising SystemError if it can't find the parent module when attempting to perform an absolute import (regardless of whether the parent module name was derived from __package__ or from __name__). Explicit relative imports will still fail if __package__ is set incorrectly and setting __package__ to a non-string value will still result in a ValueError.
History
Date User Action Args
2008-07-13 15:08:40 ncoghlan set spambayes_score: 0.00083346 -> 0.00083345966recipients: + ncoghlan, twouters, schmir
2008-07-13 15:08:39 ncoghlan set spambayes_score: 0.00083346 -> 0.00083346messageid: 1215961719.31.0.084116596631.issue3221@psf.upfronthosting.co.za
2008-07-13 15:07:35 ncoghlan link issue3221 messages
2008-07-13 15:07:34 ncoghlan create