[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2017-01-02 Thread Berker Peksag
Berker Peksag added the comment: Good point, Serhiy. Thanks for the patch, Jim. I've now removed the "possible a singleton" part. -- ___ Python tracker ___ _

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2017-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1aba7cbbcc27 by Berker Peksag in branch '3.5': Issue #29012: Remove another outdated information https://hg.python.org/cpython/rev/1aba7cbbcc27 New changeset 7ef5b02b228a by Berker Peksag in branch '3.6': Issue #29012: Merge from 3.5 https://hg.pyth

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2017-01-02 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Yes, I agree with that it seems redundant after the change. I'm attaching another small patch based on the committed one to trim that off. -- Added file: http://bugs.python.org/file46117/fixbasesdoc2.patch __

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2017-01-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think "possible a singleton" can be removed too. It doesn't add any useful information, any tuple is possible a singleton. -- nosy: +serhiy.storchaka ___ Python tracker __

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2017-01-01 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Jim. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: -Python 3.3, Python 3.4 ___ Python tracker __

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2017-01-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 721df314d45a by Berker Peksag in branch '3.5': Issue #29012: Remove outdated information about __bases__ https://hg.python.org/cpython/rev/721df314d45a New changeset 019125fb6d66 by Berker Peksag in branch '3.6': Issue #29012: Merge from 3.5 https:/

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2016-12-19 Thread R. David Murray
R. David Murray added the comment: Most likely it just slipped through. In 2.7 the section is just called 'classes', not 'custom classes', and covered both classic classes and the new style classes that are all that python3 has. -- nosy: +r.david.murray __

[issue29012] __bases__ is a tuple (possibly empty or a singleton)

2016-12-19 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard: The following statement is in the Language Reference for Custom classes: > __bases__ is a tuple (possibly empty or a singleton) containing the base > classes AFAIK, ``object.__bases__`` is the only object for which ``__bases__`` is empty and it isn