#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 , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 6 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_SSL
to limit line length.shutil.make_archive
falls back to the external
zip
problem, it uses :mod:
subprocess
to invoke it rather than :mod:distutils.spawn
. This closes a possible shell injection vector.Core and Builtins
%s
in :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.
bytearray
constructor no longer convert unexpected exceptions (e.g. :exc:MemoryError
and :exc:KeyboardInterrupt
) to :exc:TypeError
.generator.gi_frame.f_restricted
when the generator is exhausted. Patch by Zackery Spytz.
bsddb
module. Patch by Zackery Spytz.io.IOBase.close
, ensure that the :attr:~io.IOBase.closed
attribute is not set with a live exception. Patch by Zackery Spytz and Serhiy Storchaka.-3
and
-We
.
del
method or referenced by it into the :data:
gc.garbage
list. :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 of
io.TextIOWrapper
. Patch by Zackery Spytz.
Library
~distutils.utils.check_environ
of :mod:distutils.utils
now catchs :exc:KeyError
on calling :func:pwd.getpwuid
: don't create theHOME
environment variable in this case.
posixpath.expanduser
now returns the input *path* unchanged if theHOME
environment 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:
site
module 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_forever
now exits immediately if it's :meth:~socketserver.BaseServer.shutdown
method is called while it is polling for new events.2to3
:2to3fixer:execfile
fixer now opens the file with mode'rb'
. Patch by Zackery Spytz.
TclError
in
tkinter.Spinbox.selection_element()
. Patch by Juliette Monsel.
max_num_fields
to
cgi.FieldStorage
to make DOS attacks harder by limiting the number of
MiniFieldStorage
objects created by
FieldStorage
.
distutils
will now include entries for directories.os.lchmod
is never defined on Linux.multiprocessing.managers.DictProxy
.distutils.spawn.find_executable()
now falls back on :data:
os.defpath
if thePATH
environment variable is not set.
zipfile
. Previously an optional signature was not being written and certain ZIP applications were not supported. Patch by Silas Sewell..mjs
file extension with
application/javascript
MIME Type.
sqlite3.Connection.create_aggregate
, :meth:sqlite3.Connection.create_function
, :meth:sqlite3.Connection.set_authorizer
, :meth:sqlite3.Connection.set_progress_handler
methods 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.webbrowser
module. Patch by Bumsik Kim.
"
,
\
,
{
,
}
and
\n
as options to :mod:
~tkinter.ttk
widgets.platform.libc_ver
. It almost always returned version '2.9' for glibc.+
) and repetition (
*
) sequence operations now raise :exc:
TypeError
instead of :exc:SystemError
when performed on :class:mmap.mmap
objects. Patch by Zackery Spytz.uuid.get_node
from using a DUID instead of a MAC on Windows. Patch by Zvi Effron
imaplib
now allows
MOVE
command in
IMAP4.uid()
(RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method of
IMAP4
object.
python -m curses.has_key
.
parser
module when converting an ST object to a tree of tuples or lists withline_info=False
and
col_info=True
.
<module>
call in the html produced by
cgitb.html()
. Patch by Stéphane Blondon.
str
representation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields. Patch by Michael Lazar.
tkinter
,after_cancel(None)
now raises a :exc:
ValueError
instead of canceling the first scheduled function. Patch by Cheryl Sabella.TypeError
instead of crashing if a
collections.deque
subclass returns a non-deque from
new
. Patch by Oren Milman.
ctypes
. Patch by Segev Finer.Documentation
email.utils
toemail.utils.rst
.
bz2
and :mod:tarfile
stating that handling of multi-stream bzip2 files is not supported.Tests
test.support.run_unittest
no longer raise :exc:TestDidNotRun
if the test result contains skipped tests. The exception is now only raised if no test have been run and no test have been skipped.regrtest
that 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_params
when Python filesystem encoding cannot encode the provided path.
Build
pyexpat
inModules/Setup
.NULL
.
IDLE
Tools/Demos
UnicodeDecodeError
exceptions when calling
string()
.
C API
and :c:func:
PyUnicode_FromFormat` when they return an empty string (e.g.PyString_FromFormat("%s", "")
).
SystemError
in :c:func:`PyArg_ParseTupleAndKeywordswhen the
w*
` format unit is used for optional parameter.