[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 06, 2010, at 04:47 PM, Lino Mastrodomenico wrote:

>2010/5/5 Barry Warsaw <barry@python.org>:
>> users of Python 3.1 might be surprised by the difference from upstream
>
>It might be useful mentioning somewhere that the best way to detect if
>the Python implementation used supports PEP 3147 is:
>
>import imp
>hasattr(imp, 'get_tag')
>
>(or something similar) and not checking for an hard version number.

That's a good point, thanks.  I'll add that to the PEP.

-Barry

Attachment: signature.asc
Description: PGP signature


Reply to: