Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [typo] s/libexpact/libexpat/ in setup.py (GH-28624)main | Łukasz Langa | 2021-09-29 | 1 | -1/+1 |
| | |||||
* | [typo] Fix threading.Barrier comment that used confusing punctuation (GH-28623) | Łukasz Langa | 2021-09-29 | 1 | -1/+1 |
| | | | | | Removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading. Co-authored-by: Priyank <5903604+cpriyank@users.noreply.github.com> | ||||
* | bpo-44394: Ensure libexpat is linked against libm (GH-28617) | Pablo Galindo Salgado | 2021-09-29 | 1 | -1/+3 |
| | |||||
* | Fix doctest doc examples for syntax errors (GH-28486) | andrei kulakov | 2021-09-29 | 1 | -11/+10 |
| | | | | | | | | | * fix doctest doc examples for syntax errors * updated examples to use TypeErrors * fixed first sentence * unneeded comma | ||||
* | bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) | zhanpon | 2021-09-29 | 1 | -0/+1 |
| | |||||
* | bpo-24391: Better reprs for threading objects. (GH-20534) | Serhiy Storchaka | 2021-09-29 | 3 | -0/+61 |
| | | | | Add reprs for Semaphore, BoundedSemaphore, Event, and Barrier. | ||||
* | bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) | Jack DeVries | 2021-09-29 | 3 | -0/+25 |
| | | | | | | | * during tarfile parsing, a zlib error indicates invalid data * tarfile.open now raises a descriptive exception from the zlib error * this makes it clear to the user that they may be trying to open a corrupted tar file | ||||
* | [docs] Use full names for time units (GH-28611) | Serhiy Storchaka | 2021-09-29 | 13 | -20/+21 |
| | | | | Use "second", "millisecond", "microsecond", "nanosecond" instead of "sec", "ms", "msec", "us", "ns", etc. | ||||
* | bpo-45269: test wrong `markers` type to `c_make_encoder` (GH-28540) | Nikita Sobolev | 2021-09-28 | 2 | -0/+10 |
| | |||||
* | [docs] Improve the markup of powers (GH-28598) | Serhiy Storchaka | 2021-09-28 | 18 | -32/+32 |
| | |||||
* | bpo-45211: Remember the stdlib dir during startup. (gh-28586) | Eric Snow | 2021-09-28 | 10 | -3/+93 |
| | | | | | During runtime startup we figure out the stdlib dir but currently throw that information away. This change preserves it and exposes it via PyConfig.stdlib_dir, _Py_GetStdlibDir(), and sys._stdlib_dir. https://bugs.python.org/issue45211 | ||||
* | bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595) | Pablo Galindo Salgado | 2021-09-28 | 2 | -14/+15 |
| | |||||
* | bpo-45296: Fix exit/quit message on Windows (GH-28577) | Terry Jan Reedy | 2021-09-28 | 3 | -0/+16 |
| | | | | IDLE recognizes Ctrl-D, as on other systems, instead of Ctrl-Z. | ||||
* | Optimized code format (GH-28599) | Rajendra arora | 2021-09-28 | 1 | -3/+1 |
| | | | Automerge-Triggered-By: GH:pablogsal | ||||
* | [doc] fix minor typo for argparse (GH-28451) | Louis Sautier | 2021-09-28 | 1 | -1/+1 |
| | | | "A JSONDecodeError" instead of "An JSONDecodeError". | ||||
* | Fixed typo in "decclarations" (GH-28578) | Rajendra arora | 2021-09-28 | 1 | -1/+1 |
| | |||||
* | Fix typo in whatsnew: "ns" is 10^-9 secs and "us" is 10^-6 secs. (GH-28565) | Jörn Heissler | 2021-09-28 | 1 | -2/+2 |
| | |||||
* | bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549) | Victor Stinner | 2021-09-27 | 3 | -8/+53 |
| | | | | | Fix the threading._shutdown() function when the threading module was imported first from a thread different than the main thread: no longer log an error at Python exit. | ||||
* | bpo-45249: Ensure the traceback module prints correctly syntax errors with ↵ | Pablo Galindo Salgado | 2021-09-27 | 2 | -6/+34 |
| | | | | ranges (GH-28575) | ||||
* | Select correct tool platform when building on Windows ARM64 natively (GH-28491) | Niyas Sait | 2021-09-27 | 2 | -4/+9 |
| | |||||
* | Do not check isabs() on Windows. (gh-28584) | Eric Snow | 2021-09-27 | 1 | -0/+2 |
| | | | | | I missed this in gh-28550. https://bugs.python.org/issue45211 | ||||
* | bpo-45211: Move helpers from getpath.c to internal API. (gh-28550) | Eric Snow | 2021-09-27 | 8 | -100/+164 |
| | | | | | | | | | | | | This accomplishes 2 things: * consolidates some common code between getpath.c and getpathp.c * makes the helpers available to code in other files FWIW, the signature of the join_relfile() function (in fileutils.c) intentionally mirrors that of Windows' PathCchCombineEx(). Note that this change is mostly moving code around. No behavior is meant to change. https://bugs.python.org/issue45211 | ||||
* | bpo-43914: Correctly highlight SyntaxError exceptions for invalid generator ↵ | Pablo Galindo Salgado | 2021-09-27 | 5 | -8/+31 |
| | | | | expression in function calls (GH-28576) | ||||
* | bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532) | Victor Stinner | 2021-09-27 | 2 | -4/+22 |
| | | | | | | Fix a race condition in the Thread.join() method of the threading module. If the function is interrupted by a signal and the signal handler raises an exception, make sure that the thread remains in a consistent state to prevent a deadlock. | ||||
* | bpo-44958: Revert GH-27844 (GH-28574) | Erlend Egeberg Aasland | 2021-09-26 | 3 | -40/+39 |
| | | | | This reverts commit 050d1035957379d70e8601e6f5636637716a264b, but keeps the tests. | ||||
* | bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) | Nikita Sobolev | 2021-09-26 | 2 | -0/+14 |
| | | | Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | ||||
* | bpo-21302: Add nanosleep() implementation for time.sleep() in Unix (GH-28545) | Victor Stinner | 2021-09-25 | 7 | -33/+114 |
| | | | Co-authored-by: Livius <egyszeregy@freemail.hu> | ||||
* | bpo-43914: Whats New 310: add new SyntaxError attributes (GH-28558) | Terry Jan Reedy | 2021-09-25 | 1 | -1/+6 |
| | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | ||||
* | bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) | Nikita Sobolev | 2021-09-25 | 5 | -10/+56 |
| | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | ||||
* | bpo-45277: Fix typo in codecs doc (GH-28555) | Terry Jan Reedy | 2021-09-24 | 1 | -1/+1 |
| | | | encoding => encode | ||||
* | bpo-41299: Mark private thread_nt.h functions as static (GH-28553) | Victor Stinner | 2021-09-25 | 1 | -10/+10 |
| | | | | | | | | Mark the following thread_nt.h functions as static: * AllocNonRecursiveMutex() * FreeNonRecursiveMutex() * EnterNonRecursiveMutex() * LeaveNonRecursiveMutex() | ||||
* | bpo-41299: Fix EnterNonRecursiveMutex() (GH-28548) | Victor Stinner | 2021-09-25 | 1 | -3/+0 |
| | | | Remove Py_FatalError() call: the code works even if now is negative. | ||||
* | bpo-41299: QueryPerformanceFrequency() cannot fail (GH-28552) | Victor Stinner | 2021-09-25 | 1 | -21/+7 |
| | | | | | | py_win_perf_counter_frequency() no longer checks for QueryPerformanceFrequency() failure. According to the QueryPerformanceFrequency() documentation, the function can no longer fails since Windows XP. | ||||
* | bpo-45020: Fix some corner cases for frozen module generation. (gh-28538) | Eric Snow | 2021-09-24 | 5 | -69/+130 |
| | | | | | This also includes some cleanup in preparation for a PR to make the "make all" output less noisy. https://bugs.python.org/issue45020 | ||||
* | bpo-44019: Add missing comma to operator.call doc (GH-28551) | Terry Jan Reedy | 2021-09-24 | 1 | -1/+1 |
| | |||||
* | bpo-44019: Implement operator.call(). (GH-27888) | Antony Lee | 2021-09-24 | 6 | -0/+62 |
| | | | | | | Having `operator.call(obj, arg)` mean `type(obj).__call__(obj, arg)` is consistent with the other dunder operators. The semantics with `*args, **kwargs` then follow naturally from the single-arg semantics. | ||||
* | bpo-20524: adds better error message for `.format()` (GH-28310) | Nikita Sobolev | 2021-09-24 | 3 | -7/+50 |
| | | | It now lists the bad format_spec and the type of the object. | ||||
* | bpo-30951: Correct co_names docstring in inspect module (GH-2743) | Alex Vig | 2021-09-24 | 1 | -1/+1 |
| | |||||
* | bpo-38623: Add note about site module (site-packages) (GH-16974) | Peter Bittner | 2021-09-23 | 1 | -1/+2 |
| | |||||
* | bpo-39359: [zipfile] add missing "pwd: expected bytes, got str" exception ↵ | Daniel Hillier | 2021-09-23 | 3 | -6/+20 |
| | | | | (GH-18031) | ||||
* | bpo-38415: Allow using @asynccontextmanager-made ctx managers as decorators ↵ | Jason Fried | 2021-09-23 | 3 | -0/+87 |
| | | | | (GH-16667) | ||||
* | [docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) | Sam Sneddon | 2021-09-23 | 1 | -1/+7 |
| | |||||
* | Fix legacy logging module URL (GH-28528) | Sean Leavey | 2021-09-23 | 1 | -1/+1 |
| | | | | | The URL listed in the `logging` docs for the original `logging` module leads to a 404. I managed to find the new location for the page and updated the URL. Automerge-Triggered-By: GH:vsajip | ||||
* | bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) | Victor Stinner | 2021-09-23 | 1 | -0/+3 |
| | |||||
* | bpo-41137: Reorganize What's New in Python 3.11 (GH-28518) | Victor Stinner | 2021-09-23 | 1 | -78/+77 |
| | | | | | | * Merge the two Removed sections. * Move "Build Changes" at the end, before "C API Changes". * Move the pdb change in Porting to Python 3.11. * Move C API new features in their section. | ||||
* | bpo-39549: reprlib.Repr uses a “fillvalue” attribute (GH-18343) | Alexander Böhn | 2021-09-22 | 4 | -9/+34 |
| | |||||
* | bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) | Serhiy Storchaka | 2021-09-22 | 29 | -69/+69 |
| | | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com> | ||||
* | bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) | Serhiy Storchaka | 2021-09-22 | 4 | -61/+176 |
| | | | | | | It runs now asynchronous methods and callbacks. If it fails, doCleanups() can be called for cleaning up. | ||||
* | bpo-21302: time.sleep() uses waitable timer on Windows (GH-28483) | Victor Stinner | 2021-09-22 | 6 | -56/+161 |
| | | | | | | | | | | | | On Windows, time.sleep() now uses a waitable timer which has a resolution of 100 ns (10^-7 sec). Previously, it had a solution of 1 ms (10^-3 sec). * On Windows, time.sleep() now calls PyErr_CheckSignals() before resetting the SIGINT event. * Add _PyTime_As100Nanoseconds() function. * Complete and update time.sleep() documentation. Co-authored-by: Livius <egyszeregy@freemail.hu> | ||||
* | bpo-45061: Revert unicode_is_singleton() change (GH-28516) | Victor Stinner | 2021-09-22 | 1 | -2/+4 |
| | | | Don't use a loop over 256 items, only checks for a single singleton. |