mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Added PEP 3101.
This commit is contained in:
parent
ba486c5362
commit
5a3c135e17
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ What's New in Python 2.6 alpha 1?
|
||||||
Core and builtins
|
Core and builtins
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- Implemented PEP 3101, Advanced String Formatting. This adds a new
|
||||||
|
builtin format(); a format() method for str and unicode; a
|
||||||
|
__format__() method to object, str, unicode, int, long, float, and
|
||||||
|
datetime; the class string.Formatter; and the C API
|
||||||
|
PyObject_Format().
|
||||||
|
|
||||||
- Fixed several potential crashes, all caused by specially crafted __del__
|
- Fixed several potential crashes, all caused by specially crafted __del__
|
||||||
methods exploiting objects in temporarily inconsistent state.
|
methods exploiting objects in temporarily inconsistent state.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue