2012-09-23 12:15:21 -03:00
|
|
|
+++++++++++
|
2009-03-31 01:16:10 -03:00
|
|
|
Python News
|
2002-09-20 11:16:59 -03:00
|
|
|
+++++++++++
|
|
|
|
|
2012-09-29 04:34:13 -03:00
|
|
|
What's New in Python 3.4.0 Alpha 1?
|
|
|
|
===================================
|
2011-08-15 03:09:57 -03:00
|
|
|
|
2012-09-29 04:34:13 -03:00
|
|
|
*Relase date: XX-XXX-2014*
|
2011-08-15 03:09:57 -03:00
|
|
|
|
|
|
|
Core and Builtins
|
|
|
|
-----------------
|
|
|
|
|
2012-10-07 18:48:36 -03:00
|
|
|
- Issue #14783: Improve int() docstring and switch docstrings for str(),
|
|
|
|
range(), and slice() to use multi-line signatures.
|
|
|
|
|
2012-09-29 14:47:39 -03:00
|
|
|
- Upgrade Unicode data (UCD) to version 6.2.
|
|
|
|
|
2012-09-30 05:27:18 -03:00
|
|
|
- Issue #15379: Fix passing of non-BMP characters as integers for the charmap
|
|
|
|
decoder (already working as unicode strings). Patch by Serhiy Storchaka.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15144: Fix possible integer overflow when handling pointers as integer
|
|
|
|
values, by using `Py_uintptr_t` instead of `size_t`. Patch by Serhiy
|
|
|
|
Storchaka.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15965: Explicitly cast `AT_FDCWD` as (int). Required on Solaris 10
|
|
|
|
(which defines `AT_FDCWD` as ``0xffd19553``), harmless on other platforms.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15839: Convert SystemErrors in `super()` to RuntimeErrors.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-04 07:37:56 -03:00
|
|
|
- Issue #15448: Buffered IO now frees the buffer when closed, instead
|
|
|
|
of when deallocating.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15846: Fix SystemError which happened when using `ast.parse()` in an
|
2012-09-30 05:27:18 -03:00
|
|
|
exception handler on code with syntax errors.
|
|
|
|
|
2012-10-02 22:03:04 -03:00
|
|
|
- Issue #15897: zipimport.c doesn't check return value of fseek().
|
|
|
|
Patch by Felipe Cruz.
|
|
|
|
|
2012-09-30 05:27:18 -03:00
|
|
|
- Issue #15801: Make sure mappings passed to '%' formatting are actually
|
|
|
|
subscriptable.
|
|
|
|
|
2012-10-10 20:18:37 -03:00
|
|
|
- Issue #15111: __import__ should propagate ImportError when raised as a
|
|
|
|
side-effect of a module triggered from using fromlist.
|
2012-09-30 04:40:45 -03:00
|
|
|
|
2012-08-28 06:34:09 -03:00
|
|
|
Library
|
|
|
|
-------
|
2012-07-05 15:56:30 -03:00
|
|
|
|
2012-10-10 07:44:47 -03:00
|
|
|
- Issue #16114: The subprocess module no longer provides a misleading error
|
|
|
|
message stating that args[0] did not exist when either the cwd or executable
|
|
|
|
keyword arguments specified a path that did not exist.
|
2012-09-14 12:28:10 -03:00
|
|
|
|
2012-10-09 09:28:10 -03:00
|
|
|
- Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror.
|
|
|
|
|
2012-10-07 07:49:58 -03:00
|
|
|
- Issue #1492704: shutil.copyfile() raises a distinct SameFileError now if
|
|
|
|
source and destination are the same file. Patch by Atsuo Ishimoto.
|
|
|
|
|
2012-10-06 07:52:19 -03:00
|
|
|
- Issue #13896: Make shelf instances work with 'with' as context managers.
|
|
|
|
Original patch by Filip Gruszczyński.
|
|
|
|
|
2012-10-06 07:44:12 -03:00
|
|
|
- Issue #15417: Add support for csh and fish in venv activation scripts.
|
|
|
|
|
|
|
|
- Issue #16123: IDLE - deprecate running without a subprocess.
|
|
|
|
Patch by Roger Serwy.
|
|
|
|
|
2012-10-04 14:53:29 -03:00
|
|
|
- Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element
|
|
|
|
element_factory (fixes a regression in SimpleTAL).
|
|
|
|
|
2012-10-02 19:39:16 -03:00
|
|
|
- Issue #9650: List commonly used format codes in time.strftime and
|
|
|
|
time.strptime docsttings. Original patch by Mike Hoy.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #16034: Fix performance regressions in the new `bz2.BZ2File`
|
|
|
|
implementation. Initial patch by Serhiy Storchaka.
|
2012-09-29 22:57:33 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- `pty.spawn()` now returns the child process status returned by `os.waitpid()`.
|
2012-09-29 16:41:03 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15756: `subprocess.poll()` now properly handles `errno.ECHILD` to
|
|
|
|
return a returncode of 0 when the child has already exited or cannot be waited
|
|
|
|
on.
|
2012-09-05 19:59:49 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15323: Improve failure message of `Mock.assert_called_once_with()`.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #16064: ``unittest -m`` claims executable is "python", not "python3".
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #12376: Pass on parameters in `TextTestResult.__init__()` super call.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15222: Insert blank line after each message in mbox mailboxes.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #16013: Fix `csv.Reader` parsing issue with ending quote characters.
|
2012-09-30 05:27:18 -03:00
|
|
|
Patch by Serhiy Storchaka.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15421: Fix an OverflowError in `Calendar.itermonthdates()` after
|
|
|
|
`datetime.MAXYEAR`. Patch by Cédric Krier.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-04 08:58:22 -03:00
|
|
|
- Issue #16112: platform.architecture does not correctly escape argument to
|
|
|
|
/usr/bin/file. Patch by David Benjamin.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15970: `xml.etree.ElementTree` now serializes correctly the empty HTML
|
2012-09-30 05:27:18 -03:00
|
|
|
elements 'meta' and 'param'.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15842: The `SocketIO.{readable,writable,seekable}` methods now raise
|
|
|
|
ValueError when the file-like object is closed. Patch by Alessandro Moura.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15876: Fix a refleak in the `curses` module: window.encoding.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15881: Fix `atexit` hook in `multiprocessing`. Original patch by Chris
|
|
|
|
McDonough.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15841: The readable(), writable() and seekable() methods of
|
|
|
|
`io.BytesIO` and `io.StringIO` objects now raise ValueError when the object
|
|
|
|
has been closed. Patch by Alessandro Moura.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-04 11:06:30 -03:00
|
|
|
- Issue #16126: PyErr_Format format mismatch in _testcapimodule.c.
|
|
|
|
Patch by Serhiy Storchaka.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15447: Use `subprocess.DEVNULL` in webbrowser, instead of opening
|
|
|
|
`os.devnull` explicitly and leaving it open.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15509: `webbrowser.UnixBrowser` no longer passes empty arguments to
|
|
|
|
Popen when ``%action`` substitutions produce empty strings.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #12776, issue #11839: Call `argparse` type function (specified by
|
|
|
|
add_argument) only once. Before, the type function was called twice in the
|
|
|
|
case where the default was specified and the argument was given as well. This
|
|
|
|
was especially problematic for the FileType type, as a default file would
|
|
|
|
always be opened, even if a file argument was specified on the command line.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
|
|
|
- Issue #15906: Fix a regression in argparse caused by the preceding change,
|
2012-10-01 14:32:07 -03:00
|
|
|
when ``action='append'``, ``type='str'`` and ``default=[]``.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-08-28 06:34:09 -03:00
|
|
|
Extension Modules
|
|
|
|
-----------------
|
2012-07-04 23:28:16 -03:00
|
|
|
|
2012-10-05 21:27:57 -03:00
|
|
|
- Issue #16113: Added sha3 module based on the Keccak reference implementation
|
|
|
|
3.2. The `hashlib` module has four additional hash algorithms: `sha3_224`,
|
|
|
|
`sha3_256`, `sha3_384` and `sha3_512`. As part of the patch some common
|
|
|
|
code was moved from _hashopenssl.c to hashlib.h.
|
|
|
|
|
2012-09-30 05:27:18 -03:00
|
|
|
Tests
|
|
|
|
-----
|
|
|
|
|
2012-10-08 19:56:43 -03:00
|
|
|
- Issue #16115: Add some tests for the executable argument to
|
|
|
|
subprocess.Popen(). Initial patch by Kushal Das.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15304: Fix warning message when `os.chdir()` fails inside
|
|
|
|
`test.support.temp_cwd()`. Patch by Chris Jerdonek.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15802: Fix test logic in `TestMaildir.test_create_tmp()`. Patch by
|
|
|
|
Serhiy Storchaka.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15557: Added a test suite for the webbrowser module, thanks to Anton
|
|
|
|
Barkovsky.
|
2012-09-30 05:27:18 -03:00
|
|
|
|
|
|
|
Build
|
|
|
|
-----
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15923: Fix a mistake in ``asdl_c.py`` that resulted in a TypeError
|
|
|
|
after 2801bf875a24 (see #15801).
|
2012-08-19 18:26:34 -03:00
|
|
|
|
2012-10-04 20:04:27 -03:00
|
|
|
- Issue #16135: Remove OS/2 support.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15819: Make sure we can build Python out-of-tree from a readonly source
|
|
|
|
directory. (Somewhat related to Issue #9860.)
|
2012-09-30 05:27:18 -03:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
|
|
|
|
2012-10-09 03:12:21 -03:00
|
|
|
- Issue #16115: Improve subprocess.Popen() documentation around args, shell,
|
|
|
|
and executable arguments.
|
|
|
|
|
2012-10-08 02:46:11 -03:00
|
|
|
- Issue #13498: Clarify docs of os.makedirs()'s exist_ok argument. Done with
|
|
|
|
great native-speaker help from R. David Murray.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15533: Clarify docs and add tests for `subprocess.Popen()`'s cwd
|
2012-09-30 06:15:37 -03:00
|
|
|
argument.
|
2012-08-18 08:24:30 -03:00
|
|
|
|
2012-10-02 00:01:16 -03:00
|
|
|
- Issue #15979: Improve timeit documentation.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #16036: Improve documentation of built-in `int()`'s signature and
|
2012-09-30 05:27:18 -03:00
|
|
|
arguments.
|
|
|
|
|
2012-10-01 14:32:07 -03:00
|
|
|
- Issue #15935: Clarification of `argparse` docs, re: add_argument() type and
|
2012-09-30 05:27:18 -03:00
|
|
|
default arguments. Patch contributed by Chris Jerdonek.
|
|
|
|
|
|
|
|
- Issue #11964: Document a change in v3.2 to the behavior of the indent
|
|
|
|
parameter of json encoding operations.
|
|
|
|
|
|
|
|
Tools/Demos
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
2011-07-29 01:05:08 -03:00
|
|
|
**(For information about older versions, consult the HISTORY file.)**
|