15
- The set methods, update() and union() now accept multiple arguments.
17
- Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.
19
- New environment variable PYTHONIOENCODING.
15
21
- Patch #2488: Add sys.maxsize.
17
23
- Issue #2353: file.xreadlines() now emits a Py3k warning.
45
- Issue #2138: Add factorial() the math module.
47
- The heapq module does comparisons using LT instead of LE. This
48
makes its implementation match that used by list.sort().
39
50
- Issue #2819: add full-precision summation function to math module,
40
51
based on Hettinger's ASPN Python Cookbook recipe.
54
65
bsddb.db.DBEnv.lock_get and other bsddb.db object constructors
55
66
raised an exception.
68
- Issue #2669: bsddb/__init__.py iteration no longer silently fails when
69
the database has changed size during iteration. It now raises a
70
RuntimeError in the same manner as a dictionary.
57
72
- Issue #2870: cmathmodule.c compile error.
74
- Added a threading.Thread.getIdent() method.
79
- Factored out the indentation cleaning from inspect.getdoc() into
80
inspect.cleandoc() to ease standalone use.
82
- Issue #1798: Add ctypes calling convention that allows safe access
85
- Issue #2404: ctypes objects support the new pep3118 buffer interface
87
- Patch #2125: Add GetInteger and GetString methods for
88
msilib.Record objects.
90
- Issue #2782: The datetime module's strftime methods now accept
91
unicode format strings just as time.strftime always has.
93
- The sgmllib and htmllib modules have been deprecated for removal
96
- Issue #3011: locale module alias table was updated to the latest
97
version from the X.org locale.alias file.
99
- Issue #1797 (partial fix): ctypes NULL function pointers have a
100
False boolean value now.
102
- Issue #2985: Allow 64-bit integer responses (``<i8>``) in XMLRPC
105
- Issue #2877: The UserString.MutableString class has been removed in
108
- Do not close external file objects passed to tarfile.open(mode='w:bz2')
109
when the TarFile is closed.
111
- Issue #2959: For consistency with other file-like objects, gzip's
112
GzipFile.close() can now be called multiple times without raising
62
115
- Issue #1390: Raise ValueError in toxml when an invalid comment would
63
116
otherwise be produced.
135
188
- The DEVICE, GL, gl, and cgen modules (which indirectly includes
136
189
cgensupport) have been deprecated for removal in Python 3.0.
138
- The ConfigParser module has been renamed 'configparser'. The old
139
name is now deprecated.
141
191
- The CL, CL_old, and cl modules for IRIX have been deprecated for
142
192
removal in Python 3.0.
162
212
- The multifile module has been deprecated as per PEP 4.
164
- The SocketServer module has been renamed 'socketserver'. The old
165
name is now deprecated.
167
214
- The imageop module has been deprecated for removal in Python 3.0.
169
216
- Issue #2250: Exceptions raised during evaluation of names in
224
271
- The Mac Modules (including Carbon) have been deprecated for removal
274
- Library: on MacOS X you can now set ``ARCHFLAGS`` in the shell
275
environment to control the '-arch' flags that are used to build
276
an extension. This was added for compatibility with Apple's build
279
- The bundled OSX-specific copy of libbffi is now in sync with the version
280
shipped with PyObjC 2.0 and includes support for x86_64 and ppc64 platforms.
232
287
- ``Lib/lib-old`` is now added to sys.path.
289
- On MacOS X it is now possible to install the framework in 64-bit
290
mode or even as a 4-way universal binary (that is, PPC, i386,
291
PPC64 and x86_64 support in one binary)
293
This is controlled by the configure argument ``--with-universal-archs``:
295
- ``--with-universal-archs=all``: install 4-way universal
297
- ``--with-universal-archs=32-bit``: install 2-way universal, 32-bit (the default)
299
- ``--with-universal-archs=64-bit``: install 2-way universal, 64-bit
301
This option should be used in combination with ``--enable-universalsdk=``.
303
NOTE: 64-bit and 4-way builds are only suppported on Mac OS X 10.5 (or later).
309
- Add ``PyType_Modified()`` as a public API to clear the type cache.
311
- The PyBytes functions have been renamed to PyByteArray.
313
- The PyString functions have been renamed to PyBytes. A batch of
314
defines were added so that the linker still sees the original
235
318
What's New in Python 2.6 alpha 3?
236
319
=================================
398
481
which provide the functions through their libm. The files also
399
482
contains several helpers and constants for math.
401
- Added a new convenience function, PyErr_WarnPy3k, for issuing Py3k
484
- Added a new convenience macro, PyErr_WarnPy3k, for issuing Py3k warnings.
405
487
What's New in Python 2.6 alpha 2?
1907
1989
Extension Modules
1908
1990
-----------------
1910
- Patch #1657: added select.epoll and select.kqueue
1992
- Patch #1657: added select.epoll and select.kqueue.
1912
1994
- Patch #1506171: added operator.methodcaller().
1914
1996
- Patch #1826: operator.attrgetter() now supports dotted attribute paths.
1916
- Patch #1957: syslogmodule: Release GIL when calling syslog(3)
1998
- Patch #1957: syslogmodule: Release GIL when calling syslog(3).
1918
2000
- Bug #2112: mmap.error is now a subclass of EnvironmentError and not
1919
2001
a direct EnvironmentError.