Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-43952: Fix multiprocessing Listener authkey bug (GH-25845) | Miguel Brito | 2024-02-27 | 3 | -1/+23 |
| | | | | Listener.accept() no longer hangs when authkey is an empty bytes object. | ||||
* | gh-115315: Update time.rst to include microseconds field (%f) in chart (#115316) | Tahoma Software | 2024-02-27 | 1 | -6/+16 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | GH-115816: Assorted naming and formatting changes to improve ↵ | Mark Shannon | 2024-02-27 | 8 | -476/+498 |
| | | | | | | | maintainability. (GH-115987) * Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol. * #define shortened form of _Py_uop_... names for improved readability. | ||||
* | GH-115816: Make tier2 optimizer symbols testable, and add a few tests. ↵ | Mark Shannon | 2024-02-27 | 15 | -607/+720 |
| | | | | (GH-115953) | ||||
* | gh-115720: Show number of leaks in huntrleaks progress reports (GH-115726) | Petr Viktorin | 2024-02-27 | 3 | -14/+39 |
| | | | | | | | | | | | | | | | | | Instead of showing a dot for each iteration, show: - '.' for zero (on negative) leaks - number of leaks for 1-9 - 'X' if there are more leaks This allows more rapid iteration: when bisecting, I don't need to wait for the final report to see if the test still leaks. Also, show the full result if there are any non-zero entries. This shows negative entries, for the unfortunate cases where a reference is created and cleaned up in different runs. Test *failure* is still determined by the existing heuristic. | ||||
* | bpo-44865: Fix yet one missing translations in argparse (GH-27668) | Jérémie Detrey | 2024-02-26 | 2 | -1/+3 |
| | |||||
* | bpo-45101: Add consistency in usage message IO between 2 versions of ↵ | Kien Dang | 2024-02-26 | 3 | -2/+9 |
| | | | | | | python-config (GH-28162) On --help output to stdout. On error output to stderr. | ||||
* | gh-77956: Add the words 'default' and 'version' help text localizable ↵ | Emmanuel Arias | 2024-02-26 | 2 | -2/+5 |
| | | | | | | | (GH-12711) Co-authored-by: paul.j3 Co-authored-by: Jérémie Detrey <jdetrey@users.noreply.github.com> | ||||
* | gh-115582: Make default PC/pyconfig.h work for free-threaded builds with ↵ | Steve Dower | 2024-02-26 | 3 | -2/+10 |
| | | | | manual /DPy_GIL_DISABLED (GH-115850) | ||||
* | gh-113942: Show functions implemented as builtin methods (GH-115306) | Serhiy Storchaka | 2024-02-26 | 4 | -6/+24 |
| | | | | Pydoc no longer skips global functions implemented as builtin methods, such as MethodDescriptorType and WrapperDescriptorType. | ||||
* | gh-112006: Fix inspect.unwrap() for types where __wrapped__ is a data ↵ | Serhiy Storchaka | 2024-02-26 | 3 | -13/+32 |
| | | | | | | descriptor (GH-115540) This also fixes inspect.Signature.from_callable() for builtins classmethod() and staticmethod(). | ||||
* | gh-115168: Add pystats counter for invalidated executors (GH-115169) | Michael Droettboom | 2024-02-26 | 11 | -14/+31 |
| | |||||
* | gh-115882: Reference Unknwn.h for ctypes on Windows (GH-115350) | Yuriy Chernyshov | 2024-02-26 | 2 | -0/+5 |
| | | | This allows the module to be compiled with WIN32_LEAN_AND_MEAN enabled | ||||
* | Rename tier 2 redundancy eliminator to optimizer (#115888) | Guido van Rossum | 2024-02-26 | 12 | -30/+30 |
| | | | | The original name is just too much of a mouthful. | ||||
* | GH-115802: JIT "small" code for macOS and Linux (GH-115826) | Brandt Bucher | 2024-02-26 | 3 | -29/+168 |
| | |||||
* | Add Jason as an owner of configparser to coordinate backport concerns. (#115885) | Jason R. Coombs | 2024-02-26 | 1 | -0/+4 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-113706: Update comment about long int representation (#113707) | Michael Droettboom | 2024-02-26 | 1 | -10/+21 |
| | |||||
* | gh-115823: Calculate correctly error locations when dealing with implicit ↵ | Pablo Galindo Salgado | 2024-02-26 | 3 | -11/+13 |
| | | | | encodings (#115824) | ||||
* | gh-115931: Fix `SyntaxWarning`s in `test_unparse` (#115935) | Nikita Sobolev | 2024-02-26 | 1 | -2/+11 |
| | |||||
* | Doc: Clarify the return type of Event.wait when timeout is used (GH-104168) | Phil Elson | 2024-02-26 | 1 | -10/+7 |
| | |||||
* | gh-115091: Remove a left-over sentence that refers to Py_OptimizeFlag from ↵ | Antti Haapala | 2024-02-26 | 1 | -4/+0 |
| | | | | | | | ctypes documentation (GH-115092) Remove a left-over sentence that refers to Py_OptimizeFlag Remove a left-over sentence that refers to an example that was present in Python 3.10 and was using ``Py_OptimizeFlag``. | ||||
* | gh-115881: Ensure `ast.parse()` parses conditional context managers even ↵ | Alex Waygood | 2024-02-26 | 5 | -11/+11 |
| | | | | with low `feature_version` passed (#115920) | ||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/2.1.rst` (#112357) | Hugo van Kemenade | 2024-02-26 | 2 | -38/+37 |
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-115921: Change 'equation' to 'expression' in random.rst (#115927) | Terry Jan Reedy | 2024-02-26 | 1 | -1/+2 |
| | | | In uniform function entry. | ||||
* | gh-114099: Add configure and Makefile targets to support iOS compilation. ↵ | Russell Keith-Magee | 2024-02-26 | 20 | -104/+849 |
| | | | | (GH-115390) | ||||
* | GH-101112: Add "pattern language" section to pathlib docs (#114030) | Barney Gale | 2024-02-26 | 1 | -56/+103 |
| | | | Explain the `full_match()` / `glob()` / `rglob()` pattern language in its own section. Move `rglob()` documentation under `glob()` and reduce duplicated text. | ||||
* | gh-71052: fix test_concurrent_futures wasi regression. (#115923) | Gregory P. Smith | 2024-02-26 | 1 | -1/+5 |
| | | | Fix the WASI test_concurrent_futures regression from #115917. | ||||
* | gh-115532: Add kernel density estimation to the statistics module (gh-115863) | Raymond Hettinger | 2024-02-25 | 5 | -41/+285 |
| | |||||
* | gh-115799: Add missing double-quote in docs (#115884) | bssyousefi | 2024-02-25 | 1 | -1/+1 |
| | |||||
* | gh-72249: Include the module name in the repr of partial object (GH-101910) | Furkan Onder | 2024-02-25 | 4 | -18/+27 |
| | | | Co-authored-by: Anilyka Barry <vgr255@live.ca> | ||||
* | gh-115914: minor cleanup: simplify filename_obj assignment in ↵ | Sergii K | 2024-02-25 | 1 | -4/+1 |
| | | | | | PyRun_AnyFileExFlags (gh-115916) This simplifies the code: less lines, easier to read. Logically equivalent, as any compiler likely already determined. | ||||
* | gh-101100: Fix broken xrefs in fcntl module doc (#115691) | Skip Montanaro | 2024-02-25 | 3 | -16/+28 |
| | | | | | | | | | | | | | | | | | | | | | * clean up fcntl module doc * simplify * a few changes, based on suggestion by CAM-Gerlach * nitpick ignore for a couple other C functions mentioned in the fcntl module doc * more changes, especially related to LOCK_* constants * :data: back to :const: * Apply suggestions from code review Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> --------- Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-71052: Enable test_concurrent_futures on platforms that lack ↵ | Malcolm Smith | 2024-02-25 | 6 | -21/+16 |
| | | | | | multiprocessing (gh-115917) Enable test_concurrent_futures on platforms that support threading but not multiprocessing. | ||||
* | bpo-31116: Add Z85 variant to base64 (GH-30598) | Matan Perelman | 2024-02-25 | 5 | -2/+141 |
| | | | Z85 specification: https://rfc.zeromq.org/spec/32/ | ||||
* | gh-96471: Correct docs for queue shutdown (#115838) | Laurie O | 2024-02-25 | 2 | -11/+8 |
| | |||||
* | gh-113479: Link to workaround for subtle issue with takewhile() (gh-115890) | Raymond Hettinger | 2024-02-25 | 1 | -33/+41 |
| | |||||
* | gh-103417: Fix the scheduler example (GH-111497) | mauricelambert | 2024-02-25 | 1 | -1/+1 |
| | | | | | Arguments to enterabs() are specified as Unix time. If the scheduler use the time.monotonic timer, the code will take decades to complete. | ||||
* | bpo-14322: added test case for invalid update to hmac (#26636) | Arjun | 2024-02-25 | 1 | -0/+8 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/2.0.rst` (#112351) | Hugo van Kemenade | 2024-02-25 | 2 | -53/+53 |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-115886: Handle embedded null characters in shared memory name (GH-115887) | Serhiy Storchaka | 2024-02-25 | 3 | -3/+31 |
| | | | | shm_open() and shm_unlink() now check for embedded null characters in the name and raise an error instead of silently truncating it. | ||||
* | Add an example of of custom `__repr__` (#112761) | Oh seungmin | 2024-02-25 | 1 | -0/+10 |
| | | | | | | | Added to repr entry in Doc/library/functions.rst. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | Erase some unnecessary quotes on data model doc (#113521) | Adorilson Bezerra | 2024-02-25 | 2 | -5/+4 |
| | | | | Thanks to Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) for help with this bug. | ||||
* | gh-115323: Add meaningful error message for using bytearray.extend with str ↵ | Jay Ting | 2024-02-24 | 3 | -0/+13 |
| | | | | | | | | (#115332) Perform str check after TypeError is raised --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | GH-114610: Fix `pathlib.PurePath.with_stem('')` handling of file extensions ↵ | Barney Gale | 2024-02-24 | 3 | -1/+15 |
| | | | | | | | (#114612) Raise `ValueError` if `with_stem('')` is called on a path with a file extension. Paths may only have an empty stem if they also have an empty suffix. | ||||
* | gh-113202: Add whatsnew entry for the batched() strict option. (gh-115889) | Raymond Hettinger | 2024-02-24 | 1 | -0/+8 |
| | |||||
* | gh-115872: Doc: remove obsolete reference to MSI packages (#115873) | partev | 2024-02-24 | 1 | -1/+1 |
| | |||||
* | gh-114763: Protect lazy loading modules from attribute access races (GH-114781) | Chris Markiewicz | 2024-02-24 | 3 | -32/+94 |
| | | | Setting the __class__ attribute of a lazy-loading module to ModuleType enables other threads to attempt to access attributes before the loading is complete. Now that is protected by a lock. | ||||
* | Insert missing apostrophes in ctypes documentation (#115090) | jmcb | 2024-02-23 | 1 | -3/+3 |
| | |||||
* | gh-67044: Always quote or escape \r and \n in csv.writer() (GH-115741) | Serhiy Storchaka | 2024-02-23 | 3 | -15/+43 |
| | |||||
* | gh-54358: Clarify data chunking in pyexpat (GH-31629) | Stanley | 2024-02-23 | 1 | -2/+6 |
| | | | | Co-authored-by: Éric Araujo <merwok@netwok.org> |