Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-34844: logging.Formatter enhancement - Ensure style and format string ↵ | BNMetrics | 2018-10-15 | 6 | -22/+403 |
| | | | | matches in logging.Formatter (GH-9703) | ||||
* | bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). ↵ | Serhiy Storchaka | 2018-10-14 | 4 | -5/+24 |
| | | | | | | | (GH-9852) bytes and bytearray constructors converted unexpected exceptions (e.g. MemoryError and KeyboardInterrupt) to TypeError. | ||||
* | bpo-34939: Allow annotated global names in module namespace (GH-9844) | Pablo Galindo | 2018-10-14 | 3 | -0/+17 |
| | | | | | | | 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. | ||||
* | bpo-34521: Add NEWS entry for changes in GH-9613 (GH-9850) | Pablo Galindo | 2018-10-14 | 1 | -0/+3 |
| | | | | * Add News entry for the change in multiprocessing.reduction.recvfds made in GH-9613. | ||||
* | Update compound_stmts.rst (#9864) | Andrés Delfino | 2018-10-14 | 1 | -4/+4 |
| | |||||
* | bpo-34941: Fix searching Element subclasses. (GH-9766) | Serhiy Storchaka | 2018-10-14 | 3 | -12/+31 |
| | | | | Methods find(), findtext() and findall() of xml.etree.ElementTree.Element were not able to find chldren which are instances of Element subclasses. | ||||
* | bpo-33656: Move pyshell ctypes import inside try block. (GH-9858) | Terry Jan Reedy | 2018-10-14 | 1 | -3/+3 |
| | | | | A Windows build with _tkinter, tkinter, and idlelib but without ctypes is unlikely but apparently possible. | ||||
* | bpo-34970: Protect tasks weak set manipulation in asyncio.all_tasks() (GH-9837) | Andrew Svetlov | 2018-10-13 | 2 | -2/+7 |
| | | | https://bugs.python.org/issue34970 | ||||
* | Add new tests for bytes and bytearray constructors. (GH-9843) | Serhiy Storchaka | 2018-10-13 | 1 | -3/+43 |
| | | | | Covered all special cases: bytes, tuple, list, differend kinds of iterables and iterators. | ||||
* | Fixes issues in Windows release upload script (GH-9845) | Steve Dower | 2018-10-13 | 1 | -3/+8 |
| | |||||
* | bpo-16965: 2to3 now rewrites execfile() to open with 'rb'. (GH-8569) | Zackery Spytz | 2018-10-13 | 3 | -9/+12 |
| | |||||
* | bpo-22872: multiprocessing.Queue's put() and get() now raise ValueError if ↵ | Zackery Spytz | 2018-10-13 | 4 | -2/+26 |
| | | | | | | | the queue is closed. (GH-9010) Previously, put() and get() would raise AssertionError and OSError, respectively. | ||||
* | bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type ↵ | Stéphane Wirtel | 2018-10-13 | 2 | -5/+5 |
| | | | | (GH-9827) | ||||
* | bpo-34783: Disable test_nonexisting_script for macOS framework builds (GH-9831) | Ned Deily | 2018-10-13 | 1 | -0/+4 |
| | | | | | | | | | 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. | ||||
* | Pin again sphinx version as stated in the comment. (GH-9824) | Julien Palard | 2018-10-12 | 1 | -1/+1 |
| | |||||
* | bpo-23831: Add moveto method to the tkinter.Canvas widget. (GH-9768) | Juliette Monsel | 2018-10-12 | 4 | -0/+38 |
| | |||||
* | bpo-34964: Make Tkinter sources more readable by adding blank lines. (GH-9822) | Serhiy Storchaka | 2018-10-12 | 8 | -9/+565 |
| | |||||
* | bpo-11233: Create availability directive for documentation (GH-9692) | Cheryl Sabella | 2018-10-12 | 27 | -291/+351 |
| | | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org> | ||||
* | bpo-34900: Make TestCase.debug() work with subtests (GH-9707) | Bruno Oliveira | 2018-10-12 | 3 | -1/+17 |
| | |||||
* | bpo-34203: FAQ now recommends python 3.x over 2.x (GH-9796) | Gus Goulart | 2018-10-12 | 1 | -6/+8 |
| | |||||
* | bpo-31516: Skip test_main_thread_during_shutdown() with COUNT_ALLOCS builds. ↵ | Zackery Spytz | 2018-10-12 | 1 | -0/+1 |
| | | | | (GH-8052) | ||||
* | bpo-34940: Fix the error handling in _check_for_legacy_statements(). (GH-9764) | Zackery Spytz | 2018-10-12 | 1 | -8/+18 |
| | |||||
* | bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806) | Stéphane Wirtel | 2018-10-12 | 9 | -73/+218 |
| | |||||
* | Fix an incorrect check in compiler_try_except(). (GH-9810) | Zackery Spytz | 2018-10-12 | 1 | -1/+2 |
| | |||||
* | Fix a possible decref of a borrowed reference in symtable.c. (GH-9786) | Zackery Spytz | 2018-10-11 | 1 | -2/+4 |
| | |||||
* | bpo-34922: Fix integer overflow in the digest() and hexdigest() methods ↵ | Serhiy Storchaka | 2018-10-11 | 3 | -0/+20 |
| | | | | | (GH-9751) for the SHAKE algorithm in the hashlib module. | ||||
* | Micro-optimize list index range checks (GH-9784) | Raymond Hettinger | 2018-10-11 | 1 | -5/+18 |
| | |||||
* | bpo-34576 warn users on security for http.server (#9720) | Felipe Rodrigues | 2018-10-11 | 1 | -0/+8 |
| | | | | It was proposed to add an warning for http.server regarding security issues. The wording was provided at bpo-26005 by @orsenthil | ||||
* | bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH ↵ | Elvis Pranskevichus | 2018-10-10 | 8 | -30/+161 |
| | | | | | | | | | | | | | | | | | | | | (GH-9607) 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. | ||||
* | bpo-34926: Make mimetypes.guess_type accept os.PathLike objects (GH-9777) | Mayank Asthana | 2018-10-10 | 4 | -3/+35 |
| | | | | :meth:`mimetypes.MimeTypes.guess_type` now accepts :term:`path-like object` in addition to url strings. | ||||
* | bpo-33613: Fix test_semaphore_tracker signal tests when using -Werror (GH-9778) | Pablo Galindo | 2018-10-10 | 1 | -2/+4 |
| | | | | | | 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. | ||||
* | Convert code of conduct to markdown for Github (GH-9776) | Ammar Askar | 2018-10-10 | 2 | -14/+12 |
| | |||||
* | bpo-34913: Document gzip command line interface (GH-9782) | Stéphane Wirtel | 2018-10-10 | 2 | -0/+36 |
| | |||||
* | bpo-23596: Use argparse for the command line of gzip (GH-9781) | Stéphane Wirtel | 2018-10-09 | 2 | -13/+13 |
| | | | | Co-authored-by: Antony Lee <anntzer.lee@gmail.com> | ||||
* | bpo-23596: Add unit tests for the command line for the gzip module (GH-9775) | Stéphane Wirtel | 2018-10-09 | 1 | -6/+93 |
| | | | | Add unit tests for the command line for the gzip module | ||||
* | bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) | twisteroid ambassador | 2018-10-09 | 3 | -4/+71 |
| | |||||
* | bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection ↵ | Victor Stinner | 2018-10-09 | 2 | -1/+33 |
| | | | | | | | | | | | | | -O0 (GH-9656) 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 9b7c74ca32d1bec7128d550a9ab1b2ddc7046287) | ||||
* | bpo-32680 add default "sock" on SMTP objects (#5345) | Romuald Brunet | 2018-10-09 | 3 | -1/+11 |
| | | | | By default the smtplib.SMTP objects did not have a sock attribute, it was only created during connect() | ||||
* | Extract sendfile tests into a separate test file (#9757) | Andrew Svetlov | 2018-10-09 | 2 | -450/+551 |
| | |||||
* | bpo-34758: add .wasm to recognized file extensions in mimetypes module (GH-9464) | travisoneill | 2018-10-09 | 2 | -0/+3 |
| | |||||
* | bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758) | animalize | 2018-10-08 | 3 | -1/+42 |
| | | | | | Let .chm document display non-ASCII characters properly Escape the `body` part of .chm source file to 7-bit ASCII, to fix visual effect on some MBCS Windows systems. | ||||
* | Extract tests for sock_*() functions into a separate file (GH-9761) | Andrew Svetlov | 2018-10-08 | 2 | -130/+238 |
| | |||||
* | bpo-31715 Add mimetype for extension .mjs (#3908) | Bradley Meck | 2018-10-08 | 2 | -0/+2 |
| | |||||
* | bpo-34921: Allow escaped NoReturn in get_type_hints (GH-9750) | Noah Wood | 2018-10-08 | 1 | -1/+1 |
| | |||||
* | bpo-34911: Added support for secure websocket cookies (GH-9734) | Paul Bailey | 2018-10-08 | 4 | -5/+67 |
| | |||||
* | bpo-34829: Add missing selection_ methods to the Tkinter Spinbox. (GH-9617) | Juliette Monsel | 2018-10-08 | 5 | -0/+82 |
| | | | | | Implement the methods selection_from(), selection_range(), selection_present() and selection_to() for Tkinter Spinbox. | ||||
* | Use double quote instead of backtick to clarify Ellipsis constant (GH-9754) | Xtreak | 2018-10-08 | 1 | -3/+2 |
| | |||||
* | bpo-34925: Optimize common case for bisect() argument parsing (#9753) | Raymond Hettinger | 2018-10-08 | 2 | -15/+40 |
| | |||||
* | Add missing closing quote and trailing period in str.isidentifier() ↵ | Emanuele Gaifas | 2018-10-08 | 2 | -4/+4 |
| | | | | | docstring (GH-9756) This rectifies commit ffc5a14d00db984c8e72c7b67da8a493e17e2c14. | ||||
* | bpo-33014: Clarify str.isidentifier docstring (GH-6088) | Sanyam Khurana | 2018-10-08 | 3 | -8/+19 |
| | | | | | | * bpo-33014: Clarify str.isidentifier docstring * bpo-33014: Add code example in isidentifier documentation |