mirror of
https://github.com/python/cpython.git
synced 2025-10-01 04:42:10 +00:00
Some news.
This commit is contained in:
parent
79bcc17cd9
commit
12d955c830
1 changed files with 13 additions and 1 deletions
14
Misc/NEWS
14
Misc/NEWS
|
@ -4,6 +4,10 @@ XXX Planned XXX Release date: 14-Nov-2001
|
||||||
|
|
||||||
Type/class unification and new-style classes
|
Type/class unification and new-style classes
|
||||||
|
|
||||||
|
- Assignment to object.__dict__ is now possible, for objects that are
|
||||||
|
instances of new-style classes that have a __dict__ (unless the base
|
||||||
|
class forbids it).
|
||||||
|
|
||||||
- dictionary() now accepts an iterable object producing 2-sequences.
|
- dictionary() now accepts an iterable object producing 2-sequences.
|
||||||
For example, dictionary(d.items()) == d for any dictionary d. The
|
For example, dictionary(d.items()) == d for any dictionary d. The
|
||||||
argument, and the elements of the argument, can be any iterable
|
argument, and the elements of the argument, can be any iterable
|
||||||
|
@ -15,9 +19,17 @@ Type/class unification and new-style classes
|
||||||
|
|
||||||
Core and builtins
|
Core and builtins
|
||||||
|
|
||||||
|
- Clarified the error messages for unsupported operands to an operator
|
||||||
|
(like 1 + '').
|
||||||
|
|
||||||
Extension modules
|
Extension modules
|
||||||
|
|
||||||
- Various bugfixes to the curses module.
|
- The socket module defines a new method for socket objects,
|
||||||
|
sendall(). This is like send() but may make multiple calls to
|
||||||
|
send() until all data has been sent.
|
||||||
|
|
||||||
|
- Various bugfixes to the curses module. There is now a test suite
|
||||||
|
for the curses module (you have to run it manually).
|
||||||
|
|
||||||
Library
|
Library
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue