Bugs item #1637167, was opened at 2007-01-16 22:19 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1637167&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.5 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Russell Owen (reowen) Assigned to: Barry A. Warsaw (bwarsaw) Summary: mailbox.py uses old email names Initial Comment: mailbox.py uses old (and presumably deprecated) names for stuff in the email package. This can confuse application packagers such as py2app. I believe the complete list of desirable changes is: email.Generator -> email.generator email.Message -> email.message email.message_from_string -> email.parser.message_from_string email.message_from_file -> email.parser.message_from_file I submitted patches for urllib, urllib2 and smptlib but wasn't sure enough of mailbox to do that. Those four modules are the only instances I found that needed changing at the main level of the library. However, I did not do a recursive search. There may be files inside packages that could also use cleanup. ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2007-01-22 20:34 Message: Logged In: YES user_id=849994 Originator: NO FWIW, the last two are incorrect. I already fixed that while doing the other three patches. There shouldn't be any occurences of old style package name imports left. ---------------------------------------------------------------------- Comment By: A.M. Kuchling (akuchling) Date: 2007-01-22 19:34 Message: Logged In: YES user_id=11375 Originator: NO Barry, are the suggested name changes for the email module correct? If yes, please assign this bug back to me and I'll make the changes to the mailbox module. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1637167&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com