Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-38982: Fix asyncio PidfdChildWatcher on waitpid() error (GH-17477) | Victor Stinner | 2019-12-06 | 2 | -2/+18 | |
| | | | | | | If waitpid() is called elsewhere, waitpid() call fails with ChildProcessError: use return code 255 in this case, and log a warning. It ensure that the pidfd file descriptor is closed if this error occurs. | |||||
* | bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py ↵ | Mario Corchero | 2019-12-06 | 4 | -5/+17 | |
| | | | | | | | | | | | | (GH-13135) Break cycle generated when saving an exception in socket.py, codeop.py and dyld.py as they keep alive not only the exception but user objects through the ``__traceback__`` attribute. https://bugs.python.org/issue36820 Automerge-Triggered-By: @pablogsal | |||||
* | bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472) | wim glenn | 2019-12-06 | 4 | -0/+33 | |
| | ||||||
* | bpo-38858: Add pycore_interp_init() code to factorize code (GH-17483) | Victor Stinner | 2019-12-06 | 1 | -32/+24 | |
| | | | | Add a new pycore_interp_init() function called by new_interpreter() and pyinit_config(). | |||||
* | bpo-38858: new_interpreter() reuses _PySys_Create() (GH-17481) | Victor Stinner | 2019-12-06 | 3 | -55/+46 | |
| | | | | | | | new_interpreter() now calls _PySys_Create() to create a new sys module isolated from the main interpreter. It now calls _PySys_InitCore() and _PyImport_FixupBuiltin(). init_interp_main() now calls _PySys_InitMain(). | |||||
* | Fix unquoted YAML in Windows release build (GH-17479) | Steve Dower | 2019-12-05 | 2 | -2/+2 | |
| | ||||||
* | Remove unused variable in Python/pylifecycle.c (GH-17475) | Pablo Galindo | 2019-12-05 | 1 | -2/+0 | |
| | ||||||
* | bpo-27961: Replace PY_LLONG_MAX, PY_LLONG_MIN and PY_ULLONG_MAX with ↵ | Sergey Fedoseev | 2019-12-05 | 4 | -26/+26 | |
| | | | | | standard macros (GH-15385) Use standard constants LLONG_MIN, LLONG_MAX and ULLONG_MAX. | |||||
* | bpo-38951: Use threading.main_thread() check in asyncio (GH-17433) | Hill Ma | 2019-12-05 | 2 | -4/+3 | |
| | | | https://bugs.python.org/issue38951 | |||||
* | bpo-38698: Prevent UnboundLocalError to pop up in parse_message_id (GH-17277) | Claudiu Popa | 2019-12-05 | 3 | -1/+13 | |
| | | | | | | | | | parse_message_id() was improperly using a token defined inside an exception handler, which was raising `UnboundLocalError` on parsing an invalid value. https://bugs.python.org/issue38698 | |||||
* | bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467) | Victor Stinner | 2019-12-04 | 2 | -10/+9 | |
| | | | | Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma. | |||||
* | bpo-38634: Allow non-apple build to cope with libedit (GH-16986) | serge-sans-paille | 2019-12-04 | 2 | -19/+6 | |
| | | | | | | | | | | | The readline module now detects if Python is linked to libedit at runtime on all platforms. Previously, the check was only done on macOS. If Python is used as a library by a binary linking to libedit, the linker resolves the rl_initialize symbol required by the readline module against libedit instead of libreadline, which leads to a segfault. Take advantage of the existing supporting code to have readline module being compatible with both situations. | |||||
* | bpo-38962: Fix reference leak in the per-subinterpreter gc (GH-17457) | Pablo Galindo | 2019-12-04 | 1 | -6/+5 | |
| | | | | | | | https://bugs.python.org/issue38962 Automerge-Triggered-By: @pablogsal | |||||
* | bpo-38962: Fix reference leak in new_interpreter() (GH-17453) | Pablo Galindo | 2019-12-04 | 1 | -0/+2 | |
| | | | | | | | https://bugs.python.org/issue38962 Automerge-Triggered-By: @pablogsal | |||||
* | bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460) | Inada Naoki | 2019-12-04 | 3 | -5/+24 | |
| | ||||||
* | bpo-38962: Fix reference leak in test_httpservers (GH-17454) | Pablo Galindo | 2019-12-04 | 1 | -5/+9 | |
| | ||||||
* | Add setobject.c (GH-17463) | Raymond Hettinger | 2019-12-04 | 1 | -0/+1 | |
| | ||||||
* | add @ethanfurman for tarfile (GH-17461) | Ethan Furman | 2019-12-04 | 1 | -0/+1 | |
| | ||||||
* | bpo-29636: Add --(no-)indent arguments to json.tool (GH-345) | Daniel Himmelstein | 2019-12-04 | 3 | -7/+69 | |
| | ||||||
* | bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436) | An Long | 2019-12-03 | 1 | -1/+2 | |
| | | | | | | | | Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`. Prev PR: https://github.com/python/cpython/pull/17367 @aeros https://bugs.python.org/issue27873 | |||||
* | bpo-38270: Fix indentation of test_hmac assertions (GH-17446) | stratakis | 2019-12-03 | 1 | -2/+2 | |
| | | | | | | | | Since https://github.com/python/cpython/commit/c64a1a61e6fc542cada40eb069a239317e1af36e two assertions were indented and thus ignored when running test_hmac. This PR fixes it. As the change is quite trivial I didn't add a NEWS entry. https://bugs.python.org/issue38270 | |||||
* | bpo-38945: UU Encoding: Don't let newline in filename corrupt the output ↵ | Matthew Rollings | 2019-12-02 | 4 | -0/+21 | |
| | | | | format (#17418) | |||||
* | Fix compiler warning in Objects/unicodeobject.c (GH-17440) | Pablo Galindo | 2019-12-02 | 1 | -1/+1 | |
| | ||||||
* | bpo-38815: Accept TLSv3 default in min max test (GH-NNNN) (GH-17437) | torsava | 2019-12-02 | 1 | -2/+8 | |
| | | | | | | | Make ssl tests less strict and also accept TLSv3 as the default maximum version. This change unbreaks test_min_max_version on Fedora 32. https://bugs.python.org/issue38815 | |||||
* | bpo-38449: Add URL delimiters test cases (#16729) | Dong-hee Na | 2019-12-01 | 1 | -0/+15 | |
| | | | | | | * bpo-38449: Add tricky test cases * bpo-38449: Reflect codereview | |||||
* | document threading.Lock.locked() (GH-17427) | idomic | 2019-12-01 | 1 | -0/+4 | |
| | ||||||
* | Fix typos (GH-17423) | Ofek Lev | 2019-12-01 | 1 | -2/+2 | |
| | ||||||
* | bpo-37523: Raise ValueError for I/O operations on a closed ↵ | Daniel Hillier | 2019-11-30 | 3 | -0/+25 | |
| | | | | | zipfile.ZipExtFile. (GH-14658) Raises ValueError when calling the following on a closed zipfile.ZipExtFile: read, readable, seek, seekable, tell. | |||||
* | Fix old mention of virtualenv (GH-17417) | Brett Cannon | 2019-11-29 | 1 | -1/+1 | |
| | | | Automerge-Triggered-By: @brettcannon | |||||
* | bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks ↵ | Steve Dower | 2019-11-28 | 7 | -47/+153 | |
| | | | | | are invoked (GH-17392) Also fixes some potential segfaults in unraisable hook handling. | |||||
* | bpo-38524: clarify example a bit and improve formatting (GH-17406) | Tal Einat | 2019-11-28 | 1 | -5/+8 | |
| | ||||||
* | bpo-38927: Use python -m pip to upgrade venv deps (GH-17403) | Tzu-ping Chung | 2019-11-27 | 3 | -6/+9 | |
| | | | I suggest you add `bpo-NNNNN: ` as a prefix for the first commit for future PRs. Thanks! | |||||
* | bpo-38928: Fix versionadded for venv's upgrade_deps function (GH-17404) | Tzu-ping Chung | 2019-11-27 | 2 | -2/+4 | |
| | ||||||
* | bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400) | Inada Naoki | 2019-11-27 | 4 | -19/+27 | |
| | | | | | | | SpooledTemporaryFile.rollback() might cause data corruption when it is in text mode. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | bpo-38524: document implicit and explicit calling of descriptors' ↵ | Florian Dahlitz | 2019-11-27 | 1 | -1/+12 | |
| | | | | __set_name__ (GH-17364) | |||||
* | Show the differing module names for readlink() (GH-17395) | Yoni Lavi | 2019-11-27 | 1 | -2/+2 | |
| | | | This was very confusing with the text for both being just `readlink()`. | |||||
* | Be more specific about the `.so` gitignore patterns (GH-17328) | Anthony Sottile | 2019-11-27 | 1 | -1/+2 | |
| | | | | | In GH-15823 the pattern was changed from `libpython*.so*` to `*.so*` which matches a bit too greedily for some packagers. For instance this trips up `debian/README.source`. A more specific pattern fixes this issue. | |||||
* | bpo-38688, shutil.copytree: consume iterator and create list of entries to ↵ | Bruno P. Kinoshita | 2019-11-27 | 3 | -6/+23 | |
| | | | | prevent infinite recursion (GH-17098) | |||||
* | bpo-38922: Raise code.__new__ audit event when code object replace() is ↵ | Steve Dower | 2019-11-27 | 2 | -0/+9 | |
| | | | | called (GH-17394) | |||||
* | bpo-38045: Improve the performance of _decompose() in enum.py (GH-16483) | HongWeipeng | 2019-11-26 | 2 | -23/+11 | |
| | | | | | | * Improve the performance of _decompose() in enum.py Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> | |||||
* | bpo-38892: Improve docs for audit event (GH-17361) | Terry Jan Reedy | 2019-11-26 | 4 | -15/+17 | |
| | ||||||
* | bpo-22377: Fixes documentation for %Z in datetime (GH-16507) | Karl Dubost | 2019-11-26 | 2 | -4/+15 | |
| | | | | | | | | | | This fixes the issue discussed in https://bugs.python.org/issue22377 and fixes it according to the comments made by Paul Ganssle @pganssle * It clarifies which values are acceptable in the table * It extends the note with a clearer information on the valid values https://bugs.python.org/issue22377 | |||||
* | bpo-27145: small_ints[x] could be returned in long_add and long_sub (GH-15716) | HongWeipeng | 2019-11-26 | 3 | -7/+18 | |
| | ||||||
* | Remove use of deprecated `array.fromstring` method (GH-17332) | David Coles | 2019-11-26 | 2 | -3/+3 | |
| | ||||||
* | bpo-38328: Speed up the creation time of constant list and set display. ↵ | Brandt Bucher | 2019-11-26 | 3 | -1/+25 | |
| | | | | (GH-17114) | |||||
* | closes bpo-38803: Fix leak in posixmodule. (GH-17373) | Eddie Elizondo | 2019-11-26 | 1 | -0/+1 | |
| | ||||||
* | bpo-21063: Improve module synopsis for distutils (GH-17363) | Sanchit Khurana | 2019-11-25 | 5 | -9/+9 | |
| | ||||||
* | bpo-20928: support base-URL and recursive includes in etree.ElementInclude ↵ | Stefan Behnel | 2019-11-25 | 3 | -7/+132 | |
| | | | | | | | | | | | | (#5723) * bpo-20928: bring elementtree's XInclude support en-par with the implementation in lxml by adding support for recursive includes and a base-URL. * bpo-20928: Support xincluding the same file multiple times, just not recursively. * bpo-20928: Add 'max_depth' parameter to xinclude that limits the maximum recursion depth to 6 by default. * Add news entry for updated ElementInclude support | |||||
* | bpo-38870: Remove dependency on contextlib to avoid performance regression ↵ | Pablo Galindo | 2019-11-25 | 1 | -7/+13 | |
| | | | | | | | | | on import (GH-17376) https://bugs.python.org/issue38870 Automerge-Triggered-By: @pablogsal | |||||
* | Fix typo in Doc/whatsnew/3.9.rst (GH-17372) | Pablo Galindo | 2019-11-25 | 1 | -1/+1 | |
| |