[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it worth back porting PEP 3147 to Python < 3.2?

On May 05, 2010, at 11:54 AM, Piotr Ożarowski wrote:

>What do you think about backporting it to Python 3.1 in Squeeze?
>I think it's worth to backport it to python3.1 even if it will be the
>only 3.X version supported in Squeeze as this should ease the transition
>to python3.2 in Squeeze+1 and give some time to various tools to adopt
>to PEP3147 changes.
>There are not so many packages that support Python 3 for now and Lenny
>doesn't have it at all so this transition shouldn't be too problematic.

It sounds like a good idea.  A few questions:

* Would you enable __pycache__ by default?
* If so, would you provide a command line option to disable it?

The easiest thing of course would be a high fidelity back port of exactly
what's in py3k: it's always on and you can't disable it.  I bet that would
back port fairly easily.  It's a bit more work to change that behavior but
users of Python 3.1 might be surprised by the difference from upstream (the
same questions apply to any back port to Python 2.x).


Attachment: signature.asc
Description: PGP signature

Reply to: