[Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/

James Y Knight foom at fuhm.net
Wed Nov 3 18:04:53 CET 2010


On Nov 3, 2010, at 11:25 AM, Eric Smith wrote:

> On 11/3/10 10:53 AM, Eric Smith wrote:
> 
>> The problem is that there is no unittest.loader in 2.4, and
>> unittest.loader.TestLoader is the name that the 2.7 pickle creates. We
>> see this problem every time we try and move anything in the stdlib.
> 
> And BTW: for me, this is the strongest reason not to break up modules into packages or otherwise reorganize the stdlib.

This is the strongest reason why I recommend to everyone I know that they not use pickle for storage they'd like to keep working after upgrades [not just of stdlib, but other 3rd party software or their own software]. :)

James


More information about the Python-Dev mailing list