A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-November/105227.html below:

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

[Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/ [Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/Nick Coghlan ncoghlan at gmail.com
Wed Nov 3 15:05:44 CET 2010
On Wed, Nov 3, 2010 at 9:32 AM, Raymond Hettinger
<raymond.hettinger at gmail.com> wrote:
> Sounds like a decision to split a module into a package is a big commitment.  Each of the individual file names becomes a permanent part of the API.  Even future additional splits are precluded because it might break someones dotted import (i.e. not a single function can be moved between those files -- once in unittest.utils, alway in unittest.utils).

Can Python 2.7 pickles containing unittest classes be unpickled using
2.6 or earlier? Even if nobody uses the new names for imports, I
believe they implicitly end up included in any pickles involving
affected classes (I seem to recall we've been bitten by that before
when moving things around).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4