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/2005-April/052696.html below:

[Python-Dev] Inconsistent exception for read-only properties?

[Python-Dev] Inconsistent exception for read-only properties? [Python-Dev] Inconsistent exception for read-only properties?Michael Hudson mwh at python.net
Sun Apr 17 22:14:39 CEST 2005
Barry Warsaw <barry at python.org> writes:

> On Sun, 2005-04-17 at 14:36, Guido van Rossum wrote:
>
>> Personally, I think it would be fine to just change the TypeError to
>> AttributeError. I expect that very few people would be hurt by that
>> change (they'd be building *way* too much specific arcane knowledge
>> into their program if they had code for which it mattered).
>
> Unless there are any objections in the next few days, I will take this
> as a pronouncement and make the change at least in 2.5 and 2.4.

I don't think this should be changed in 2.4.

Cheers,
mwh

-- 
  <spiv> As far as I'm concerned, the meat pie is the ultimate unit
         of currency.                           -- from Twisted.Quotes
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