This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients docs@python, eric.araujo, georg.brandl, terry.reedy
Date 2010-08-07.21:34:58
SpamBayes Score 7.242184e-09
Marked as misclassified No
Message-id <1281216901.5.0.319677436218.issue9538@psf.upfronthosting.co.za>
In-reply-to
Content
Good catch!

Names listed under language reference section 3.3.1 actually all exist on object, e.g. object.__new__¹. It is section 3.3.2 that lists names that *can* be defined but don’t have a default implementation on object, so +1 on using “someclass” here to be clear. Oh, and let’s change “class” to “someclass” too in the examples under 3.3.4, to use valid syntax and consistent naming.

I think we should not change “the base class”, since even with multiple bases a class still has one most immediate parent, found in cls.__base__ (a.k.a. cls.__bases__[0]).

¹ with the exception of __bool__ and the lack of __reduce{_ex,}__ and __subclasshook__; I’ll open a bug about those.
History
Date User Action Args
2010-08-07 21:35:01eric.araujosetrecipients: + eric.araujo, georg.brandl, terry.reedy, docs@python
2010-08-07 21:35:01eric.araujosetmessageid: <1281216901.5.0.319677436218.issue9538@psf.upfronthosting.co.za>
2010-08-07 21:34:59eric.araujolinkissue9538 messages
2010-08-07 21:34:59eric.araujocreate