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/2002-December/031203.html below:

[Python-Dev] [Python-checkins] python/dist/src/Objects abstract.c,2.93.6.7,2.93.6.8

[Python-Dev] [Python-checkins] python/dist/src/Objects abstract.c,2.93.6.7,2.93.6.8 [Python-Dev] [Python-checkins] python/dist/src/Objects abstract.c,2.93.6.7,2.93.6.8Guido van Rossum guido@python.org
Mon, 16 Dec 2002 11:22:13 -0500
> This backport checkin (Oct 5 2002) changed the exception text between
> 2.2.1:
> 
>     >>> int(None)
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>     TypeError: object can't be converted to int
> 
> and 2.2.2 (last line):
> 
>     >>> int(None)
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>     TypeError: int() argument must be a string or a number
> 
> Should this change have been backported to 2.2.2 from the 2.3
> codebase?

Clarifications of error messages is acceptable for bugfix releases.
Some error messages need more clarification than others, and you can
argue about this particular one, but I don't think you can rely on all
error messages remaining the same within bugfix releases.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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