@@ -29,19 +29,6 @@ Library
2929 as a build_py replacement to automatically run 2to3 on modules
3030 that are going to be installed.
3131
32- - Issue #2315: logging.handlers: TimedRotatingFileHandler now accounts for
33- daylight savings time in calculating the next rollover.
34-
35- - Issue #2316: logging.handlers: TimedRotatingFileHandler now calculates
36- rollovers correctly even when nothing is logged for a while.
37-
38- - Issue #2317: logging.handlers: TimedRotatingFileHandler now uses improved
39- logic for removing old files.
40-
41- - Issue #2495: tokenize.untokenize now inserts a space between two consecutive
42- string literals; previously, ["" ""] was rendered as [""""], which is
43- incorrect python code.
44-
4532- A new pickle protocol (protocol 3) is added with explicit support
4633 for bytes. This is the default protocol. It intentionally cannot
4734 be unpickled by Python 2.x.
@@ -70,156 +57,15 @@ Library
7057What's New in Python 3.0a3?
7158===========================
7259
73- - Issue #1681432: Add triangular distribution to the random module
74-
75- - Issue #2136: urllib2's auth handler now allows single-quoted realms in the
76- WWW-Authenticate header.
77-
78- - Issue #2434: Enhanced platform.win32_ver() to also work on Python
79- installation which do not have the win32all package installed.
80-
81- - Added support to platform.uname() to also report the machine
82- and processor information on Windows XP and later. As a result,
83- platform.machine() and platform.processor() will report this
84- information as well.
85-
86- - The library implementing the 2to3 conversion, lib2to3, was added
87- to the standard distribution.
88-
89- - Issue #1747858: Fix chown to work with large uid's and gid's on 64-bit
90- platforms.
91-
92- - Issue #1202: zlib.crc32 and zlib.adler32 no longer return different values
93- on 32-bit vs. 64-bit python interpreters. Both were correct, but they now
94- both return a signed integer object for consistency.
95-
96- - Issue #1158: add %f format (fractions of a second represented as
97- microseconds) to datetime objects. Understood by both strptime and
98- strftime.
99-
100- - Issue #705836: struct.pack(">f", x) now raises OverflowError on all
101- platforms when x is too large to fit into an IEEE 754 float; previously
102- it only raised OverflowError on non IEEE 754 platforms.
103-
104- - Issue #1106316: pdb.post_mortem()'s parameter, "traceback", is now
105- optional: it defaults to the traceback of the exception that is currently
106- being handled (is mandatory to be in the middle of an exception, otherwise
107- it raises ValueError).
108-
109- - Issue #1193577: A .shutdown() method has been added to SocketServers
110- which terminates the .serve_forever() loop.
111-
112- - Bug #2220: handle rlcompleter attribute match failure more gracefully.
113-
114- - Issue #2225: py_compile, when executed as a script, now returns a non-
115- zero status code if not all files could be compiled successfully.
116-
117- - Bug #1725737: In distutil's sdist, exclude RCS, CVS etc. also in the
118- root directory, and also exclude .hg, .git, .bzr, and _darcs.
119-
120- - Issue #1872: The struct module typecode for _Bool has been changed
121- from 't' to '?'.
122-
123- - The bundled libffi copy is now in sync with the recently released
124- libffi3.0.4 version, apart from some small changes to
125- Modules/_ctypes/libffi/configure.ac.
126- On OS X, preconfigured libffi files are used.
127- On all linux systems the --with-system-ffi configure option defaults
128- to "yes".
129-
130- - Issue 1577: shutil.move() now calls os.rename() if the destination is a
131- directory instead of copying-then-remove-source.
132-
133- Tests
134- -----
135-
136- - test_nis no longer fails when test.test_support.verbose is true and NIS is
137- not set up on the testing machine.
138-
139- - Output comparison tests are no longer supported.
140-
141- - Rewrite test_errno to use unittest and no longer be a no-op.
142-
143- - GHOP 234: Convert test_extcall to doctest.
144-
145- - GHOP 290: Convert test_dbm and test_dummy_threading to unittest.
146-
147- - GHOP 293: Convert test_strftime, test_getargs, and test_pep247 to unittest.
148-
149- - Issue #2055: Convert test_fcntl to unittest.
150-
151- - Issue 1960: Convert test_gdbm to unittest.
152-
153- - GHOP 294: Convert test_contains, test_crypt, and test_select to unittest.
154-
155- - GHOP 238: Convert test_tokenize to use doctest.
156-
157- - GHOP 237: Rewrite test_thread using unittest.
158-
159- - Patch #2232: os.tmpfile might fail on Windows if the user has no
160- permission to create files in the root directory.
161-
162- Build
163- -----
164-
165- - A new script 2to3 is now installed, to run the 2.x to 3.x converter.
166-
167- - Python/memmove.c and Python/strerror.c have been removed; both functions are
168- in the C89 standard library.
169-
170- - Patch #2284: Add -x64 option to rt.bat.
171-
172- C API
173- -----
174-
175- - Patch #2477: Added PyParser_ParseFileFlagsEx() and
176- PyParser_ParseStringFlagsFilenameEx()
177-
178- What's New in Python 2.6 alpha 1?
179- =================================
180-
181- >>>>>>> .merge-right.r62114
18260*Release date: 29-Feb-2008*
18361
18462Core and Builtins
18563-----------------
18664
18765- Issue #2282: io.TextIOWrapper was not overriding seekable() from io.IOBase.
18866
189- - Issue #2067: file.__exit__() now calls subclasses' close() method.
190-
191- - Patch #1759: Backport of PEP 3129 class decorators.
192-
193- - Issue #1881: An internal parser limit has been increased. Also see
194- issue 215555 for a discussion.
195-
196- - Added the future_builtins module, which contains hex() and oct().
197- These are the PEP 3127 version of these functions, designed to be
198- compatible with the hex() and oct() builtins from Python 3.0. They
199- differ slightly in their output formats from the existing, unchanged
200- Python 2.6 builtins. The expected usage of the future_builtins
201- module is:
202- from future_builtins import hex, oct
203-
204- - Issue #1600: Modifed PyOS_ascii_formatd to use at most 2 digit
205- exponents for exponents with absolute value < 100. Follows C99
206- standard. This is a change on Windows, which would use 3 digits.
207- Also, added 'n' to the formats that PyOS_ascii_formatd understands,
208- so that any alterations it does to the resulting string will be
209- available in stringlib/formatter.h (for float.__format__).
210-
211- - Implemented PEP 3101, Advanced String Formatting. This adds a new
212- builtin format(); a format() method for str and unicode; a
213- __format__() method to object, str, unicode, int, long, float, and
214- datetime; the class string.Formatter; and the C API
215- PyObject_Format().
216-
217- - Fixed several potential crashes, all caused by specially crafted __del__
218- methods exploiting objects in temporarily inconsistent state.
219-
220- >>>>>>> .merge-right.r62114
221- - Issue #2115: Important speedup in setting __slot__ attributes. Also
222- prevent a possible crash: an Abstract Base Class would try to access a slot
67+ - Issue #2115: Important speedup in setting __slot__ attributes. Also
68+ prevent a possible crash: an Abstract Base Class would try to access a slot
22369 on a registered virtual subclass.
22470
22571- Fixed repr() and str() of complex numbers with infinity or nan as real or
@@ -260,11 +106,6 @@ Core and Builtins
260106
261107- Issue #1969: split and rsplit in bytearray are inconsistent
262108
263- - Issue #1920: "while 0" statements were completely removed by the compiler,
264- even in the presence of an "else" clause, which is supposed to be run when
265- the condition is false. Now the compiler correctly emits bytecode for the
266- "else" suite.
267-
268109- map() and no longer accepts None for the first argument.
269110 Use zip() instead.
270111
@@ -655,15 +496,9 @@ C API
655496- Removed these C APIs:
656497 PyNumber_Coerce(), PyNumber_CoerceEx(), PyMember_Get, PyMember_Set
657498
658- - ``PySet_Add()`` can now modify a newly created frozenset. Similarly to
659- ``PyTuple_SetItem``, it can be used to populate a brand new frozenset; but
660- it does not steal a reference to the added item.
661-
662499- Removed these C slots/fields:
663500 nb_divide, nb_inplace_divide
664501
665- - Added ``PySet_Check()`` and ``PyFrozenSet_Check()`` to the set API.
666-
667502- Removed these macros:
668503 staticforward, statichere, PyArg_GetInt, PyArg_NoArgs, _PyObject_Del
669504
@@ -699,34 +534,4 @@ Platforms
699534Tools/Demos
700535-----------
701536
702- - Bug #1542693: remove semi-colon at end of PyImport_ImportModuleEx macro
703- so it can be used as an expression.
704-
705-
706- Windows
707- -------
708-
709- - Patch #1706: Drop support for Win9x, WinME and NT4. Python now requires
710- Windows 2000 or greater. The _WINVER and NTDDI_VERSION macros are set to
711- Win2k for x86/32bit builds and WinXP for AMD64 builds.
712-
713- - Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
714- and _CRT_NONSTDC_NO_DEPRECATE.
715-
716- - Bug #1216: Restore support for Visual Studio 2002.
717-
718-
719- Mac
720- ---
721-
722- - cfmfile now raises a DeprecationWarning.
723-
724- - buildtools now raises a DeprecationWarning.
725-
726- - Removed the macfs module. It had been deprecated since Python 2.5. This
727- lead to the deprecation of macostools.touched() as it relied solely on macfs
728- and was a no-op under OS X.
729-
730- ----
731-
732537**(For information about older versions, consult the HISTORY file.)**
0 commit comments