Skip to content

Latest commit

 

History

History
355 lines (246 loc) · 5.88 KB

3.6.0b3.rst

File metadata and controls

355 lines (246 loc) · 5.88 KB

Deprecation warning for invalid str and byte escape sequences now prints better information about where the error occurs. Patch by Serhiy Storchaka and Eric Smith.

dict.update() no longer allocate unnecessary large memory.

Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

Fixed of-by-one error in the peephole optimizer that caused keeping unreachable code.

Improved exception reporting for problematic __set_name__ attributes.

Fixed possible memory leak in _PyTraceback_Add() and exception loss in PyTraceBack_Here().

Fix "Python memory allocator called without holding the GIL" crash in socket.setblocking.

LZMA compressor and decompressor no longer raise exceptions if given empty data twice. Patch by Benjamin Fogle.

Fixed segfault in curses's addch() with ncurses6.

tarfile.open() with mode "r" or "r:" now tries to open a tar file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True.

The webbrowser module now supports Firefox 36+ and derived browsers. Based on patch by Oleg Broytman.

Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by representing the scale as float value internally in Tk. tkinter.IntVar now works if float value is set to underlying Tk variable.

The various ways of specifying weights for random.choices() now produce the same result sequences.

calendar.TextCalendar().prmonth() no longer prints a space at the start of new line after printing a month's calendar. Patch by Xiang Zhang.

The textwrap.TextWrapper class now honors non-breaking spaces. Based on patch by Kaarle Ritvanen.

os.fwalk() no longer fails on broken links.

Fix iterator of C implemented asyncio.Future doesn't accept non-None value is passed to it.send(val).

Generated names for Tkinter widgets now start by the "!" prefix for readability.

Fixed HList.header_exists() in tkinter.tix module by addin a workaround to Tix library bug.

shutil.make_archive() no longer adds entry "./" to ZIP archive.

re.sub() now raises an error for invalid numerical group reference in replacement template even if the pattern is not found in the string. Error message for invalid group reference now includes the group index and the position of the reference. Based on patch by SilentGhost.

Optimize csv.DictWriter for large number of columns. Patch by Mariatta Wijaya.

Fix C implemented asyncio.Future didn't work on Windows.

Fix error building socket module when multithreading is disabled.

Make webbrowser support Chrome on Mac OS X.

Fix references leaked by pdb in the handling of SIGINT handlers.

Fix how StopIteration exception is raised in _asyncio.Future.

Fix asyncio to handle async gens GC from another thread.

Fix asyncio.Gather to refuse being cancelled once all children are done. Patch by Johannes Ebke.

Don't configure the number of workers for default threadpool executor. Initial patch by Hans Lawrenz.

Implement asyncio.Task in C.

Fixes mishandled buffer reallocation in getpathp.c

Fix missing extensions modules when cross compiling.

Update Windows build and OS X installers to use SQLite 3.14.2.

Update Windows build and OS X installers to use OpenSSL 1.0.2j.

Fix test_posix for Android where 'id -G' is entirely wrong or missing the effective gid.

regrtest: fix the parser of command line arguments.