Commit 9a448855 authored by Łukasz Langa's avatar Łukasz Langa

v3.8.0a3

parent a6fbc4e2
......@@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 8
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 2
#define PY_RELEASE_SERIAL 3
/* Version as a string */
#define PY_VERSION "3.8.0a2+"
#define PY_VERSION "3.8.0a3"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
......
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Mon Feb 25 13:03:43 2019
# Autogenerated by Sphinx on Mon Mar 25 20:32:23 2019
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
......@@ -11436,15 +11436,6 @@ topics = {'assert': 'The "assert" statement\n'
'is\n'
' the original function object.\n'
'\n'
' When a user-defined method object is created by retrieving\n'
' another method object from a class or instance, the behaviour '
'is\n'
' the same as for a function object, except that the '
'"__func__"\n'
' attribute of the new instance is not the original method '
'object\n'
' but its "__func__" attribute.\n'
'\n'
' When an instance method object is created by retrieving a '
'class\n'
' method object from a class or instance, its "__self__" '
......
This diff is collapsed.
Enable build system to cross-build for VxWorks RTOS.
Fix setup.py on macOS: only add ``/usr/include/ffi`` to include
directories of _ctypes, not for all extensions.
Add ``TEST_EXTENSIONS`` constant to ``setup.py`` to allow to not build test
extensions like ``_testcapi``.
Fix leaks that led to build failure when configured with address sanitizer.
The whole coreconfig.h header is now excluded from Py_LIMITED_API. Move
functions definitions into a new internal pycore_coreconfig.h header.
Raise ``DeprecationWarning`` when '#' formats are used for building or
parsing values without ``PY_SSIZE_T_CLEAN``.
Retire pgen and use a modified version of pgen2 to generate the parser.
Patch by Pablo Galindo.
The :meth:`~object.__index__` special method will be used instead of
:meth:`~object.__int__` for implicit conversion of Python numbers to C
integers. Using the ``__int__()`` method in implicit conversions has been
deprecated.
Add a ``feature_version`` flag to ``ast.parse()`` (documented) and
``compile()`` (hidden) that allows tweaking the parser to support older
versions of the grammar. In particular, if ``feature_version`` is 5 or 6,
the hacks for the ``async`` and ``await`` keyword from PEP 492 are
reinstated. (For 7 or higher, these are unconditionally treated as keywords,
but they are still special tokens rather than ``NAME`` tokens that the
parser driver recognizes.)
Add a new interpreter-specific dict and expose it in the C-API via
PyInterpreterState_GetDict(). This parallels PyThreadState_GetDict().
However, extension modules should continue using PyModule_GetState() for
their own internal per-interpreter state.
Cleaned up left-over vestiges of Python 2 unbound method handling in method objects and documentation.
Patch by Martijn Pieters
\ No newline at end of file
Fix a segfault occuring when sorting a list of heterogeneous values. Patch
contributed by Rémi Lapeyre and Elliot Gorokhovsky.
\ No newline at end of file
Fix an unlikely memory leak on conversion from string to float in the function
``_Py_dg_strtod()`` used by ``float(str)``, ``complex(str)``,
:func:`pickle.load`, :func:`marshal.load`, etc.
New empty dict uses fewer memory for now. It used more memory than empty
dict created by ``dict.clear()``. And empty dict creation and deletion
is about 2x faster. Patch by Inada Naoki.
Improved error message for too much positional arguments in some builtin
functions.
The builtin :func:`compile` can now handle AST objects that contain
assignment expressions. Patch by Pablo Galindo.
Fix leak in _PyRuntimeState_Fini. Contributed by Stéphane Wirtel.
Python initialization now fails if decoding ``pybuilddir.txt`` configuration
file fails at startup.
Python initialization now fails with an error, rather than silently
truncating paths, if a path is too long.
At Python initialization, the current directory is no longer prepended to
:data:`sys.path` if it has been removed.
Fix a possible null pointer dereference in ``merge_consts_recursive()``.
Patch by Zackery Spytz.
Fix bug in parsermodule when parsing a state in a DFA that has two or more
arcs with labels of the same type. Patch by Pablo Galindo.
Fix a possible double decref in _ctypes.c's ``PyCArrayType_new()``.
A new entry was added to the Core Language Section of the Programming FAQ,
which explaines the usage of slash(/) in the signature of a function. Patch
by Lysandros Nikolaou
Improve documentation about converting datetime.timedelta to scalars.
Declare the path of the Python binary for the usage of
``Tools/scripts/serve.py`` when executing ``make -C Doc/ serve``.
Contributed by Stéphane Wirtel
Increase test coverage of idlelib.autocomplete by 30%.
Refactor class variables to instance variables in colorizer.
Avoid blurry IDLE application icon on macOS with Tk 8.6. Patch by Kevin
Walzer.
Remove colorizer.ColorDelegator.close_when_done and the
corresponding argument of .close(). In IDLE, both have
always been None or False since 2007.
For the grep module, add tests for findfiles, refactor findfiles to be a
module-level function, and refactor findfiles to use os.walk.
Fix IDLE autocomplete & calltip popup colors. Prevent conflicts with Linux
dark themes (and slightly darken calltip background).
Remove fgBg param of idlelib.config.GetHighlight(). This param was only used
twice and changed the return type.
Calls to a child function created with :func:`unittest.mock.create_autospec`
should propagate to the parent. Patch by Karthikeyan Singaravelan.
Don't set cookie for a request when the request path is a prefix match of
the cookie's path attribute but doesn't end with "/". Patch by Karthikeyan
Singaravelan.
Use :func:`multiprocessing.connection.wait` instead of polling each 0.2
seconds for worker updates in :class:`multiprocessing.Pool`. Patch by Pablo
Galindo.
Librates the return value of a ProcessPoolExecutor _process_worker after it's no longer needed to free memory
\ No newline at end of file
Clean up code which checked presence of ``os.stat`` / ``os.lstat`` /
``os.chmod`` which are always present. Patch by Anthony Sottile.
Implement ``__getitem__`` for ``_NamespacePath``. Patch by Anthony Sottile.
`pprint.pp` has been added to pretty-print objects with dictionary
keys being sorted with their insertion order by default. Parameter
*sort_dicts* has been added to `pprint.pprint`, `pprint.pformat` and
`pprint.PrettyPrinter`. Contributed by Rémi Lapeyre.
Add ``args`` and ``kwargs`` properties to mock call objects. Contributed by Kumar Akshay.
Enum has been fixed to correctly handle empty strings and strings with non-Latin characters (ie. 'α', 'א') without crashing. Original patch contributed by Maxwell. Assisted by Stéphane Wirtel.
:class:`FileCookieJar` supports :term:`path-like object`. Contributed by Stéphane Wirtel
Clean up reference to async generator in Lib/types. Patch by Henry Chen.
\ No newline at end of file
Resolve potential name clash with libm's sinpi(). Patch by Dmitrii Pasechnik.
Ensure custom :func:`warnings.formatwarning` function can receive `line` as
positional argument. Based on patch by Tashrif Billah.
shutil.copytree(copy_function=...) erroneously pass DirEntry instead of a
path string.
Fix ``pdb`` with ``skip=...`` when stepping into a frame without a
``__name__`` global. Patch by Anthony Sottile.
Default buffer size used by ``shutil.copyfileobj()`` is changed from 16 KiB
to 64 KiB on non-Windows platform to reduce system call overhead. Contributed
by Inada Naoki.
Add overlap() method to statistics.NormalDist. Computes the overlapping
coefficient for two normal distributions.
Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in
out-of-memory cases.
Release GIL when closing :class:`~mmap.mmap` objects.
Update ensurepip to install pip 19.0.3 and setuptools 40.8.0.
Fix ``CFLAGS`` in ``customize_compiler()`` of ``distutils.sysconfig``: when
the ``CFLAGS`` environment variable is defined, don't override ``CFLAGS``
variable with the ``OPT`` variable anymore. Initial patch written by David
Malcolm.
Fix format strings used for stderrprinter and re.Match reprs. Patch by
Stephan Hohe.
The :mod:`pdb` ``debug`` command now gracefully handles all exceptions.
Add a kind field to ast.Constant. It is 'u' if the literal has a 'u' prefix
(i.e. a Python 2 style unicode literal), else None.
:mod:`logging` does not silently ignore RecursionError anymore. Patch
contributed by Rémi Lapeyre.
Fix integer overflows in the array module. Patch by Stephan Hohe.
Switch the default format used for writing tars with mod:`tarfile` to
the modern POSIX.1-2001 pax standard, from the vendor-specific GNU.
Contributed by C.A.M. Gerlach.
Raise ModuleNotFoundError in pyclbr when a module can't be found.
Thanks to 'mental' for the bug report.
"unicode_internal" codec is removed. It was deprecated since Python 3.3.
Patch by Inada Naoki.
collections.namedtuple() misspelled the name of an attribute. To be
consistent with typing.NamedTuple, the attribute name should have been
"_field_defaults" instead of "_fields_defaults". For backwards
compatibility, both spellings are now created. The misspelled version may
be removed in the future.
Add method to statistics.NormalDist for computing the inverse cumulative
normal distribution.
Fix :mod:`asyncio` ssl memory issues caused by circular references
The typing.NamedTuple() class has deprecated the _field_types attribute in
favor of the __annotations__ attribute which carried the same information.
Also, both attributes were converted from OrderedDict to a regular dict.
The class documentation created by pydoc now has a separate section for
readonly properties.
Don't send cookies of domain A without Domain attribute to domain B
when domain A is a suffix match of domain B while using a cookiejar
with :class:`http.cookiejar.DefaultCookiePolicy` policy. Patch by
Karthikeyan Singaravelan.
Changes urlsplit() to raise ValueError when the URL contains characters that
decompose under IDNA encoding (NFKC-normalization) into characters that
affect how the URL is parsed.
Fix race condition in test_socket.
\ No newline at end of file
Fix ``test_re.test_locale_flag()``: use ``locale.getpreferredencoding()``
rather than ``locale.getlocale()`` to get the locale encoding. With some
locales, ``locale.getlocale()`` returns the wrong encoding.
test_posix.PosixUidGidTests: add tests for invalid uid/gid type (str).
Initial patch written by David Malcolm.
Fix py-list and py-bt commands of python-gdb.py on gdb7.
\ No newline at end of file
Fix name collisions due to ``#define timezone _timezone`` in PC/pyconfig.h.
Don't honor POSIX ``HOME`` in ``os.path.expanduser`` on windows. Patch by
Anthony Sottile.
Fixed decoders for the following code pages: 50220, 50221, 50222, 50225,
50227, 50229, 57002 through 57011, 65000 and 42.
This is Python version 3.8.0 alpha 2
This is Python version 3.8.0 alpha 3
====================================
.. image:: https://travis-ci.org/python/cpython.svg?branch=master
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment