[Python-Dev] Python 3.4 version in the tracker
Eric Smith
eric at trueblade.com
Sat Mar 12 17:09:18 CET 2011
More information about the Python-Dev mailing list
Sat Mar 12 17:09:18 CET 2011
- Previous message: [Python-Dev] Python 3.4 version in the tracker
- Next message: [Python-Dev] Python 3.4 version in the tracker
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/12/2011 10:55 AM, Éric Araujo wrote: >> I have a deprecation warning that I need to make an error in 3.4. > > A neat trick to remember to do those changes is using a test that fails > if something does not raise a DeprecationWarning if sys.version_info[:2] > == (3, 3), or an error if sys.version_info[:3] == (3, 4). You write > those tests once and let “make test” remind you as soon as the Python > version changes. I like the idea, but it seems a little hostile to the person who actually changes the version number! Eric.
- Previous message: [Python-Dev] Python 3.4 version in the tracker
- Next message: [Python-Dev] Python 3.4 version in the tracker
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list