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/2011-March/109137.html below:

[Python-Dev] Python 3.4 version in the tracker

[Python-Dev] Python 3.4 version in the tracker [Python-Dev] Python 3.4 version in the trackerAntoine Pitrou solipsis at pitrou.net
Sat Mar 12 16:58:29 CET 2011
On Sat, 12 Mar 2011 16:55:30 +0100
Éric Araujo <merwok at netwok.org> 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.

And magically break all the buildbots :)

Regards

Antoine.


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