mirror of
https://github.com/python/cpython.git
synced 2025-11-18 18:31:56 +00:00
Merge Python 3.4.0rc1 release branch.
This commit is contained in:
commit
3f99504c08
22 changed files with 198 additions and 64 deletions
|
|
@ -282,3 +282,4 @@ whatsnew/changelog,,:PythonCmd,"With Tk < 8.5 _tkinter.c:PythonCmd() raised Unic
|
|||
whatsnew/changelog,,::,": Fix FTP tests for IPv6, bind to ""::1"" instead of ""localhost""."
|
||||
whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as"
|
||||
whatsnew/changelog,,:password,user:password
|
||||
whatsnew/changelog,,:gz,w:gz
|
||||
|
|
|
|||
|
|
|
@ -364,6 +364,9 @@ Some smaller changes made to the core Python language are:
|
|||
Contributed by Victor Stinner, Kang-Hao (Kenny) Lu and Serhiy Storchaka in
|
||||
:issue:`12892`.
|
||||
|
||||
* :class:`bytes`.join() and :class:`bytearray`.join() now accept arbitrary
|
||||
buffer objects as arguments. (Contributed by Antoine Pitrou in
|
||||
:issue:`15958`.)
|
||||
|
||||
|
||||
New Modules
|
||||
|
|
@ -1609,6 +1612,19 @@ Porting to Python 3.4
|
|||
This section lists previously described changes and other bugfixes
|
||||
that may require changes to your code.
|
||||
|
||||
|
||||
Changes in 'python' command behavior
|
||||
------------------------------------
|
||||
|
||||
* In a posix shell, setting the :envvar:`PATH` environment variable to
|
||||
an empty value is equivalent to not setting it at all. However, setting
|
||||
:envvar:`PYTHONPATH` to an empty value was *not* equivalent to not setting it
|
||||
at all: setting :envvar:`PYTHONPATH` to an empty value was equivalent to
|
||||
setting it to ``.``, which leads to confusion when reasoning by analogy to
|
||||
how :envvar:`PATH` works. The behavior now conforms to the posix convention
|
||||
for :envvar:`PATH`.
|
||||
|
||||
|
||||
Changes in the Python API
|
||||
-------------------------
|
||||
|
||||
|
|
@ -1704,6 +1720,11 @@ Changes in the Python API
|
|||
informative :exc:`ValueError` rather than the previous more mysterious
|
||||
:exc:`AttributeError` (:issue:`9177`).
|
||||
|
||||
* :meth:`slice.indices` no longer produces an :exc:`OverflowError` for huge
|
||||
values. As a consequence of this fix, :meth:`slice.indices` now raises a
|
||||
:exc:`ValueError` if given a negative length; previously it returned nonsense
|
||||
values (:issue:`14794`).
|
||||
|
||||
|
||||
Changes in the C API
|
||||
--------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue