diff options
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -1,6 +1,12 @@ What's New in Python 2.2a2? =========================== +Build + +- configure supports a new option --enable-unicode, with the values + ucs2 and ucs4 (new in 2.2a1). With --disable-unicode, the Unicode + type and supporting code is completely removed from the interpreter. + Tools - The new Tools/scripts/cleanfuture.py can be used to automatically @@ -57,6 +63,12 @@ C API sure to check the Unicode width compatibility in their extensions by using at least one of the mangled Unicode APIs in the extension. +- Two new flags METH_NOARGS and METH_O are available in method definition + tables to simplify implementation of methods with no arguments and a + single untyped argument. Calling such methods is more efficient than + calling corresponding METH_VARARGS methods. METH_OLDARGS is now + deprecated. + Windows - "import module" now compiles module.pyw if it exists and nothing else @@ -90,12 +102,6 @@ Core (These warnings currently don't conform to the warnings framework of PEP 230; we intend to fix this in 2.2a2.) -- Two new flags METH_NOARGS and METH_O are available in method definition - tables to simplify implementation of methods with no arguments and a - single untyped argument. Calling such methods is more efficient than - calling corresponding METH_VARARGS methods. METH_OLDARGS is now - deprecated. - - The UTF-16 codec was modified to be more RFC compliant. It will now only remove BOM characters at the start of the string and then only if running in native mode (UTF-16-LE and -BE won't remove a |