@@ -1723,9 +1723,6 @@ Optimizations
17231723 free lists when garbage-collecting the highest generation of objects.
17241724 This may return memory to the operating system sooner.
17251725
1726- The net result of the 2.6 optimizations is that Python 2.6 runs the pystone
1727- benchmark around XXX% faster than Python 2.5.
1728-
17291726.. ======================================================================
17301727
17311728 .. _new-26-interpreter :
@@ -1794,7 +1791,6 @@ changes, or look through the Subversion logs for all the details.
17941791 :mod: `mimetools `,
17951792 :mod: `multifile `,
17961793 :mod: `new `,
1797- :mod: `popen2 `,
17981794 :mod: `pure `,
17991795 :mod: `statvfs `,
18001796 :mod: `sunaudiodev `,
@@ -1806,12 +1802,10 @@ changes, or look through the Subversion logs for all the details.
18061802 were applied. (Maintained by Josiah Carlson; see :issue: `1736190 ` for
18071803 one patch.)
18081804
1809- .. |uacute | unicode :: 0xA9
1810-
1811- * The :mod: `bsddb ` module also has a new maintainer, Jes|uacute|s Cea,
1812- and the package is now available as a standalone package.
1813- The web page for the package is
1814- `www.jcea.es/programacion/pybsddb.htm <http://www.jcea.es/programacion/pybsddb.htm >`__.
1805+ * The :mod: `bsddb ` module also has a new maintainer, Jesús Cea, and the package
1806+ is now available as a standalone package. The web page for the package is
1807+ `www.jcea.es/programacion/pybsddb.htm
1808+ <http://www.jcea.es/programacion/pybsddb.htm> `__.
18151809
18161810* The :mod: `bsddb.dbshelve ` module now uses the highest pickling protocol
18171811 available, instead of restricting itself to protocol 1.
@@ -2134,6 +2128,13 @@ changes, or look through the Subversion logs for all the details.
21342128
21352129 (Contributed by Christian Heimes and Mark Dickinson.)
21362130
2131+ * The :mod: `MimeWriter ` module and :mod: `mimify ` module
2132+ have been deprecated; use the :mod: `email `
2133+ package instead.
2134+
2135+ * The :mod: `md5 ` module has been deprecated; use the :mod: `hashlib ` module
2136+ instead.
2137+
21372138* :class: `mmap ` objects now have a :meth: `rfind ` method that searches for a
21382139 substring beginning at the end of the string and searching
21392140 backwards. The :meth: `find ` method also gained an *end * parameter
@@ -2216,6 +2217,9 @@ changes, or look through the Subversion logs for all the details.
22162217 and can optionally take new command-line arguments for the program.
22172218 (Contributed by Rocky Bernstein; :issue: `1393667 `.)
22182219
2220+ * The :mod: `posixfile ` module has been deprecated; :func: `fcntl.lockf `
2221+ provides better locking.
2222+
22192223 The :func: `post_mortem ` function, used to begin debugging a
22202224 traceback, will now use the traceback returned by :func: `sys.exc_info `
22212225 if no traceback is supplied. (Contributed by Facundo Batista;
@@ -2226,6 +2230,9 @@ changes, or look through the Subversion logs for all the details.
22262230 opcodes, returning a shorter pickle that contains the same data structure.
22272231 (Contributed by Raymond Hettinger.)
22282232
2233+ * The :mod: `popen2 ` module has been deprecated; use the :mod: `subprocess `
2234+ module.
2235+
22292236* A :func: `get_data ` function was added to the :mod: `pkgutil `
22302237 module that returns the contents of resource files included
22312238 with an installed Python package. For example::
@@ -2305,6 +2312,9 @@ changes, or look through the Subversion logs for all the details.
23052312* The :mod: `sets ` module has been deprecated; it's better to
23062313 use the built-in :class: `set ` and :class: `frozenset ` types.
23072314
2315+ * The :mod: `sha ` module has been deprecated; use the :mod: `hashlib ` module
2316+ instead.
2317+
23082318* The :func: `shutil.copytree ` function now has an optional *ignore * argument
23092319 that takes a callable object. This callable will receive each directory path
23102320 and a list of the directory's contents, and returns a list of names that
@@ -2390,6 +2400,10 @@ changes, or look through the Subversion logs for all the details.
23902400 (Contributed by Pedro Werneck and Jeffrey Yasskin;
23912401 :issue: `742598 `, :issue: `1193577 `.)
23922402
2403+ * The :mod: `sqlite3 ` module, maintained by Gerhard Haering,
2404+ has been updated from version 2.3.2 in Python 2.5 to
2405+ version 2.4.1.
2406+
23932407* The :mod: `struct ` module now supports the C99 :ctype: `_Bool ` type,
23942408 using the format character ``'?' ``.
23952409 (Contributed by David Remahl.)
@@ -3158,6 +3172,13 @@ that may require changes to your code:
31583172 before adding elements from the iterable. This change makes the
31593173 behavior match ``list.__init__() ``.
31603174
3175+ * :meth: `object.__init__ ` previously accepted arbitrary arguments and
3176+ keyword arguments, ignoring them. In Python 2.6, this is no longer
3177+ allowed and will result in a :exc: `TypeError `. This will affect
3178+ :meth: `__init__ ` methods that end up calling the corresponding
3179+ method on :class: `object ` (perhaps through using :func: `super `).
3180+ See :issue: `1683368 ` for discussion.
3181+
31613182* The :class: `Decimal ` constructor now accepts leading and trailing
31623183 whitespace when passed a string. Previously it would raise an
31633184 :exc: `InvalidOperation ` exception. On the other hand, the
0 commit comments