Skip to content

Latest commit

 

History

History
195 lines (135 loc) · 4.06 KB

3.8.7.rst

File metadata and controls

195 lines (135 loc) · 4.06 KB

Fix encoding name when running a .pyc file on Windows: :c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to decode the filename.

Several built-in and standard library types now ensure that their internal result tuples are always tracked by the :term:`garbage collector <garbage collection>`:

Previously, they could have become untracked by a prior garbage collection. Patch by Brandt Bucher.

:mod:`tkinter` functions and constructors which need a default root window raise now :exc:`RuntimeError` with descriptive message instead of obscure :exc:`AttributeError` or :exc:`NameError` if it is not created yet or cannot be created automatically.

logging.disable will now validate the types and value of its parameter. It also now accepts strings representing the levels (as does loging.setLevel) instead of only the numerical values.

Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only argument syntax.

subprocess module update for DragonFlyBSD support.

Windows: Change sysconfig.get_config_var('EXT_SUFFIX') to the expected full platform_tag.extension format. Previously it was hard-coded to .pyd, now it is compatible with distutils.sysconfig and will result in something like .cp38-win_amd64.pyd. This brings windows into conformance with the other platforms.

Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions.

fix format() behavior for IntFlag

Enum: fix regression involving inheriting a multiply-inherited enum

Ensure asyncio.wait_for waits for task completion

Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to prevent hiding part of the content label.

Fix Enum.__dir__: dir(Enum.member) now includes attributes as well as methods.

Add documentation for the :class:`multiprocessing.pool.ThreadPool` class.

Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in freeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previosuly only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI".

Fix implicit function declarations in configure which could have resulted in incorrect configuration checks. Patch contributed by Joshua Root.

Fix freeze.py tool to use the prope config and library directories. Patch by Victor Stinner.