Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
76f7fe37
Commit
76f7fe37
authored
Nov 15, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
News about mixing classic and new-style classes in MI.
parent
330bdfe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
Misc/NEWS
Misc/NEWS
+14
-1
No files found.
Misc/NEWS
View file @
76f7fe37
What's New in Python 2.2b2?
XXX Planned XXX Release date: 14
-Nov-2001
Release date: 16
-Nov-2001
===========================
Type/class unification and new-style classes
- Restrictions on multiple inheritance from classes with different
metatypes have been relaxed. The only builtin metatypes are one for
classic classes a second for new-style classes, so the primary
visible effect is that this works now:
class Classic: pass
class Mixed(Classic, object): now
The MRO (method resolution order) for each base class is respected
according to its kind, but the MRO for the derived class is computed
using new-style MRO rules if any base clase is a new-style class.
This needs to be documented.
- The new builtin dictionary() constructor, and dictionary type, have
been renamed to dict. This reflects a decade of common usage.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment