#11751 closed enhancement (fixed)
python2-2.7.16
| Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 9.0 |
| Component: | BOOK | Version: | SVN |
| Severity: | normal | Keywords: | |
| Cc: |
Description
New point version.
Change History (4)
comment:1 by , 7 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 7 years ago
Note:
See TracTickets
for help on using tickets.

Python News
What's New in Python 2.7.16 final?
*Release date: 2019-03-02*
IDLE
What's New in Python 2.7.16 release candidate 1?
*Release date: 2019-02-16*
Security
readline()in :class:imaplib.IMAP4_SSLto limit line length.shutil.make_archivefalls back to the externalzipproblem, it uses :mod:subprocessto invoke it rather than :mod:distutils.spawn. This closes a possible shell injection vector.Core and Builtins
%sin :c:func:`PyString_FromFormat` no longer read memory past the limit if *precision* is specified.SystemError\ s when deleting certain attributes. Patch by Zackery Spytz.u'\N'. It would read one byte beyond the end of the memory allocation.bytearrayconstructor no longer convert unexpected exceptions (e.g. :exc:MemoryErrorand :exc:KeyboardInterrupt) to :exc:TypeError.generator.gi_frame.f_restrictedwhen the generator is exhausted. Patch by Zackery Spytz.bsddbmodule. Patch by Zackery Spytz.io.IOBase.close, ensure that the :attr:~io.IOBase.closedattribute is not set with a live exception. Patch by Zackery Spytz and Serhiy Storchaka.-3and-We.delmethod or referenced by it into the :data:gc.garbagelist. :c:func:`PyGC_Collect` can now be called when an exception is set and preserves it.type_getattro()if a descriptor deletes itself from the class. Patch by Jeroen Demeyer.tell()method ofio.TextIOWrapper. Patch by Zackery Spytz.Library
~distutils.utils.check_environof :mod:distutils.utilsnow catchs :exc:KeyErroron calling :func:pwd.getpwuid: don't create theHOMEenvironment variable in this case.posixpath.expandusernow returns the input *path* unchanged if theHOMEenvironment variable is not set and the current user has no home directory (if the current user identifier doesn't exist in the password database). This change fix the :mod:sitemodule if the current user doesn't exist in the password database (if the user has no home directory)._io.IncrementalNewlineDecoder's *translate* argument.socketserver.BaseServer.serve_forevernow exits immediately if it's :meth:~socketserver.BaseServer.shutdownmethod is called while it is polling for new events.2to3:2to3fixer:execfilefixer now opens the file with mode'rb'. Patch by Zackery Spytz.TclErrorintkinter.Spinbox.selection_element(). Patch by Juliette Monsel.max_num_fieldstocgi.FieldStorageto make DOS attacks harder by limiting the number ofMiniFieldStorageobjects created byFieldStorage.distutilswill now include entries for directories.os.lchmodis never defined on Linux.multiprocessing.managers.DictProxy.distutils.spawn.find_executable()now falls back on :data:os.defpathif thePATHenvironment variable is not set.zipfile. Previously an optional signature was not being written and certain ZIP applications were not supported. Patch by Silas Sewell..mjsfile extension withapplication/javascriptMIME Type.sqlite3.Connection.create_aggregate, :meth:sqlite3.Connection.create_function, :meth:sqlite3.Connection.set_authorizer, :meth:sqlite3.Connection.set_progress_handlermethods raises TypeError when unhashable objects are passed as callable. These methods now don't pass such objects to SQLite API. Previous behavior could lead to segfaults. Patch by Sergey Fedoseev.webbrowsermodule. Patch by Bumsik Kim.",\,{,}and\nas options to :mod:~tkinter.ttkwidgets.platform.libc_ver. It almost always returned version '2.9' for glibc.+) and repetition (*) sequence operations now raise :exc:TypeErrorinstead of :exc:SystemErrorwhen performed on :class:mmap.mmapobjects. Patch by Zackery Spytz.uuid.get_nodefrom using a DUID instead of a MAC on Windows. Patch by Zvi Effronimaplibnow allowsMOVEcommand inIMAP4.uid()(RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method ofIMAP4object.python -m curses.has_key.parsermodule when converting an ST object to a tree of tuples or lists withline_info=Falseandcol_info=True.<module>call in the html produced bycgitb.html(). Patch by Stéphane Blondon.strrepresentation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields. Patch by Michael Lazar.tkinter,after_cancel(None)now raises a :exc:ValueErrorinstead of canceling the first scheduled function. Patch by Cheryl Sabella.TypeErrorinstead of crashing if acollections.dequesubclass returns a non-deque fromnew. Patch by Oren Milman.ctypes. Patch by Segev Finer.Documentation
email.utilstoemail.utils.rst.bz2and :mod:tarfilestating that handling of multi-stream bzip2 files is not supported.Tests
test.support.run_unittestno longer raise :exc:TestDidNotRunif the test result contains skipped tests. The exception is now only raised if no test have been run and no test have been skipped.regrtestthat caused an extra test to run if --huntrleaks/-R was used. Exit with error in case that invalid parameters are specified to --huntrleaks/-R (at least one warmup run and one repetition must be used).test_ssl.test_load_dh_paramswhen Python filesystem encoding cannot encode the provided path.Build
pyexpatinModules/Setup.NULL.IDLE
Tools/Demos
UnicodeDecodeErrorexceptions when callingstring().C API
and :c:func:PyUnicode_FromFormat` when they return an empty string (e.g.PyString_FromFormat("%s", "")).SystemErrorin :c:func:`PyArg_ParseTupleAndKeywordswhen thew*` format unit is used for optional parameter.