mirror of
https://github.com/python/cpython.git
synced 2024-12-02 06:14:49 +08:00
Some news.
This commit is contained in:
parent
79bcc17cd9
commit
12d955c830
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
|
||||
|
||||
- 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.
|
||||
For example, dictionary(d.items()) == d for any dictionary d. The
|
||||
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
|
||||
|
||||
- Clarified the error messages for unsupported operands to an operator
|
||||
(like 1 + '').
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user