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

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

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.

Lino Mastrodomenico

Reply to: