Merging email 4.0 to Python 2.5 svn trunk
Last night I merged email 4.0 from the sandbox into my working copy of the Python svn trunk and ran "make testall". I hit one failure, in test_pyclbr.py. The test was importing email.Parser and expecting a real module, however in email 4.0 email.Parser is a placeholder object which exposes a backward compatible API for email.parser. The fix is simple, change 'P' to 'p' in the test, but I want to make sure that nobody cares that __import__('email.Parser') now returns an object that isn't a module, but acts enough like the original module for all intents and purposes. -Barry
On Fri, 2006-03-17 at 09:40 -0500, Barry Warsaw wrote:
The fix is simple, change 'P' to 'p' in the test, but I want to make sure that nobody cares that __import__('email.Parser') now returns an object that isn't a module, but acts enough like the original module for all intents and purposes.
I think the answer is "no", so I'm going to commit these changes. -Barry
participants (1)
-
Barry Warsaw