- 15 Oct, 2018 3 commits
-
-
Pablo Galindo authored
-
Wolfgang Maier authored
* fix dangling mention of key=str.lower in heapq doc * Fix dangling mention of keyfunc example for sorted()
-
BNMetrics authored
bpo-34844: logging.Formatter enhancement - Ensure style and format string matches in logging.Formatter (GH-9703)
-
- 14 Oct, 2018 6 commits
-
-
Serhiy Storchaka authored
bytes and bytearray constructors converted unexpected exceptions (e.g. MemoryError and KeyboardInterrupt) to TypeError.
-
Pablo Galindo authored
Allow annotated global names in the module namespace after the symbol is declared as global. Previously, only symbols annotated before they are declared as global (i.e. inside a function) were allowed. This change allows symbols to be declared as global before the annotation happens in the global scope.
-
Pablo Galindo authored
* Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613.
-
Andrés Delfino authored
-
Serhiy Storchaka authored
Methods find(), findtext() and findall() of xml.etree.ElementTree.Element were not able to find chldren which are instances of Element subclasses.
-
Terry Jan Reedy authored
A Windows build with _tkinter, tkinter, and idlelib but without ctypes is unlikely but apparently possible.
-
- 13 Oct, 2018 7 commits
-
-
-
Serhiy Storchaka authored
Covered all special cases: bytes, tuple, list, differend kinds of iterables and iterators.
-
Steve Dower authored
-
Zackery Spytz authored
-
Zackery Spytz authored
bpo-22872: multiprocessing.Queue's put() and get() now raise ValueError if the queue is closed. (GH-9010) Previously, put() and get() would raise AssertionError and OSError, respectively.
-
Stéphane Wirtel authored
-
Ned Deily authored
With macOS framework builds, test case test_nonexisting_script in test_nonexisting_script fails because the test case assumes that the file name in sys.executable will appear in the error message. For macOS framework builds, sys.executable is the file name of the stub launcher and its file name bears no relationship to the file name of the actual python executable. For now, skip the test in this case.
-
- 12 Oct, 2018 10 commits
-
-
Julien Palard authored
-
Juliette Monsel authored
-
Serhiy Storchaka authored
-
Cheryl Sabella authored
Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
-
Bruno Oliveira authored
-
Gus Goulart authored
-
Zackery Spytz authored
-
Zackery Spytz authored
-
Stéphane Wirtel authored
-
Zackery Spytz authored
-
- 11 Oct, 2018 4 commits
-
-
Zackery Spytz authored
-
Serhiy Storchaka authored
for the SHAKE algorithm in the hashlib module.
-
Raymond Hettinger authored
-
Felipe Rodrigues authored
It was proposed to add an warning for http.server regarding security issues. The wording was provided at bpo-26005 by @orsenthil
-
- 10 Oct, 2018 5 commits
-
-
Elvis Pranskevichus authored
Unconditional forcing of ``CHECKED_HASH`` invalidation was introduced in 3.7.0 in bpo-29708. The change is bad, as it unconditionally overrides *invalidation_mode*, even if it was passed as an explicit argument to ``py_compile.compile()`` or ``compileall``. An environment variable should *never* override an explicit argument to a library function. That change leads to multiple test failures if the ``SOURCE_DATE_EPOCH`` environment variable is set. This changes ``py_compile.compile()`` to only look at ``SOURCE_DATE_EPOCH`` if no explicit *invalidation_mode* was specified. I also made various relevant tests run with explicit control over the value of ``SOURCE_DATE_EPOCH``. While looking at this, I noticed that ``zipimport`` does not work with hash-based .pycs _at all_, though I left the fixes for subsequent commits.
-
Mayank Asthana authored
:meth:`mimetypes.MimeTypes.guess_type` now accepts :term:`path-like object` in addition to url strings.
-
Pablo Galindo authored
Tests involving sending signals to the semaphore_tracker will not fail anymore due to the fact that running the test suite with -Werror propagates warnings as errors. Fix a missing assertion when the semaphore_tracker is expected to die.
-
Ammar Askar authored
-
Stéphane Wirtel authored
-
- 09 Oct, 2018 5 commits
-
-
Stéphane Wirtel authored
Co-authored-by: Antony Lee <anntzer.lee@gmail.com>
-
Stéphane Wirtel authored
Add unit tests for the command line for the gzip module
-
twisteroid ambassador authored
-
Victor Stinner authored
When Python is built with the intel control-flow protection flags, -mcet -fcf-protection, gdb is not able to read the stack without actually jumping inside the function. This means an extra 'next' command is required to make the $pc (program counter) enter the function and make the stack of the function exposed to gdb. Co-Authored-By: Marcel Plch <gmarcel.plch@gmail.com> (cherry picked from commit 9b7c74ca)
-
Romuald Brunet authored
By default the smtplib.SMTP objects did not have a sock attribute, it was only created during connect()
-