homepage

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 Dave Peck
Recipients Dave Peck, brett.cannon, docs@python
Date 2011年03月28日.22:52:04
SpamBayes Score 0.00079837086
Marked as misclassified No
Message-id <1301352725.37.0.377927770377.issue11676@psf.upfronthosting.co.za>
In-reply-to
Content
Definitely could agree with this assessment, but it is surprising given the lack of parallel behavior between 'import' and 'imp'.
Note that imp.load_module(subpackage) _does_ modify the parent module's attributes -- but it will never put the subpackage attribute itself on parent. That's the part that made me think it shouldn't work this way and that its more bug than documentation. (That, and the specific use of the imp module in Google's dev_appserver.py which indicates that others have the same expectation of load_module() that I did.)
History
Date User Action Args
2011年03月28日 22:52:05Dave Pecksetrecipients: + Dave Peck, brett.cannon, docs@python
2011年03月28日 22:52:05Dave Pecksetmessageid: <1301352725.37.0.377927770377.issue11676@psf.upfronthosting.co.za>
2011年03月28日 22:52:04Dave Pecklinkissue11676 messages
2011年03月28日 22:52:04Dave Peckcreate

AltStyle によって変換されたページ (->オリジナル) /