A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-July/015809.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Include rangeobject.h,2.16,2.17

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Include rangeobject.h,2.16,2.17Greg Ward gward@python.net
Sun, 8 Jul 2001 21:14:22 -0400
On 08 July 2001, Tim Peters said:
> "The problem" comes up again and again, and in every release (this isn't
> something new!), in the specific context of instance objects.  Like what do
> you do for
> 
>     class C:
>         pass
> 
>     c = C()
>     print len(c)

Good point -- this is one place where AttributeError is misused and
confusing.  +1 on changing it to TypeError -- this sounds like a
definite usability increase.  (IOW, it won't break *my* code.  ;-)

        Greg
-- 
Greg Ward - Unix nerd                                   gward@python.net
http://starship.python.net/~gward/
I repeat myself when under stress I repeat myself when under stress I repeat---



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