summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-113706: Update comment about long int representation (#113707)Michael Droettboom2024-02-261-10/+21
|
* gh-115823: Calculate correctly error locations when dealing with implicit ↵Pablo Galindo Salgado2024-02-263-11/+13
| | | | encodings (#115824)
* gh-115931: Fix `SyntaxWarning`s in `test_unparse` (#115935)Nikita Sobolev2024-02-261-2/+11
|
* Doc: Clarify the return type of Event.wait when timeout is used (GH-104168)Phil Elson2024-02-261-10/+7
|
* gh-115091: Remove a left-over sentence that refers to Py_OptimizeFlag from ↵Antti Haapala2024-02-261-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 Waygood2024-02-265-11/+11
| | | | with low `feature_version` passed (#115920)
* gh-101100: Fix Sphinx warnings in `whatsnew/2.1.rst` (#112357)Hugo van Kemenade2024-02-262-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 Reedy2024-02-261-1/+2
| | | In uniform function entry.
* gh-114099: Add configure and Makefile targets to support iOS compilation. ↵Russell Keith-Magee2024-02-2620-104/+849
| | | | (GH-115390)
* GH-101112: Add "pattern language" section to pathlib docs (#114030)Barney Gale2024-02-261-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. Smith2024-02-261-1/+5
| | | Fix the WASI test_concurrent_futures regression from #115917.
* gh-115532: Add kernel density estimation to the statistics module (gh-115863)Raymond Hettinger2024-02-255-41/+285
|
* gh-115799: Add missing double-quote in docs (#115884)bssyousefi2024-02-251-1/+1
|
* gh-72249: Include the module name in the repr of partial object (GH-101910)Furkan Onder2024-02-254-18/+27
| | | Co-authored-by: Anilyka Barry <vgr255@live.ca>
* gh-115914: minor cleanup: simplify filename_obj assignment in ↵Sergii K2024-02-251-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 Montanaro2024-02-253-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 Smith2024-02-256-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 Perelman2024-02-255-2/+141
| | | Z85 specification: https://rfc.zeromq.org/spec/32/
* gh-96471: Correct docs for queue shutdown (#115838)Laurie O2024-02-252-11/+8
|
* gh-113479: Link to workaround for subtle issue with takewhile() (gh-115890)Raymond Hettinger2024-02-251-33/+41
|
* gh-103417: Fix the scheduler example (GH-111497)mauricelambert2024-02-251-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)Arjun2024-02-251-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 Kemenade2024-02-252-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 Storchaka2024-02-253-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 seungmin2024-02-251-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 Bezerra2024-02-252-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 Ting2024-02-243-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 Gale2024-02-243-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 Hettinger2024-02-241-0/+8
|
* gh-115872: Doc: remove obsolete reference to MSI packages (#115873)partev2024-02-241-1/+1
|
* gh-114763: Protect lazy loading modules from attribute access races (GH-114781)Chris Markiewicz2024-02-243-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)jmcb2024-02-231-3/+3
|
* gh-67044: Always quote or escape \r and \n in csv.writer() (GH-115741)Serhiy Storchaka2024-02-233-15/+43
|
* gh-54358: Clarify data chunking in pyexpat (GH-31629)Stanley2024-02-231-2/+6
| | | | Co-authored-by: Éric Araujo <merwok@netwok.org>
* gh-115859: Disable the tier 2 redundancy eliminator by default (GH-115860)Ken Jin2024-02-232-3/+9
|
* gh-115778: Add `tierN` annotation for instruction definitions (#115815)Kirill Podoprigora2024-02-2313-147/+56
| | | | | This replaces the old `TIER_{ONE,TWO}_ONLY` macros. Note that `specialized` implies `tier1`. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-89480: Document the gdb helpers (GH-115657)Pablo Galindo Salgado2024-02-232-0/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content adapted from https://devguide.python.org/development-tools/gdb/# and https://wiki.python.org/moin/DebuggingWithGdb. The original content on the Wiki page came from gdb debug help used by the Launchpad (https://launchpad.net/) team. Thanks to Anatoly Techtonik and user `rmf` for substantial improvements to the Wiki page. The history of the Devguide page follows (with log entries expanded for major content contributions): Hugo van Kemenade, Sat Dec 30 21:22:04 2023 +0200 Hugo van Kemenade, Fri Dec 8 12:04:32 2023 +0200 Erlend E. Aasland & Hugo van Kemenade, Tue Aug 8 22:05:34 2023 +0200 Satish Mishra, Sat Feb 11 13:54:57 2023 +0530 Hugo van Kemenade, Fri Dec 23 17:33:33 2022 +0200 Skip Montanaro, Hugo, Erlend, & Ezio, Fri Nov 4 05:04:23 2022 -0500 Add a GDB tips section to Advanced Tools (#977) Adam Turner, Wed Jun 15 21:19:23 2022 +0100 Adam Turner, Tue Jun 14 11:12:26 2022 +0100 Suriyaa, Fri Jun 8 19:39:23 2018 +0200 Jeff Allen, Tue Oct 24 18:12:53 2017 +0100 Jeff Allen, Fri Oct 13 13:43:43 2017 +0100 Mariatta, Wed Jan 4 09:14:55 2017 -0800 Carol Willing, Mon Sep 26 14:50:54 2016 -0700 Zachary Ware, Thu Jul 21 10:42:23 2016 -0500 Georg Brandl, Mon Nov 3 11:28:19 2014 +0100 Add instruction how to activate python-gdb.py Georg Brandl, Sun Mar 9 10:32:01 2014 +0100 Georg Brandl, Tue Apr 3 09:12:53 2012 +0200 Georg Brandl, Sat Mar 5 17:32:35 2011 +0100 Dave Malcolm, Fri Jan 21 12:34:09 2011 -0500 Add documentation on the gdb extension commands provided in libpython.py I adapted this from documentation I wrote for the Fedora wiki: https://fedoraproject.org/wiki/Features/EasierPythonDebugging#New_gdb_commands reformatting it as rst, and making other minor changes Brett Cannon, Thu Jan 20 15:16:52 2011 -0800 Dave Malcolm, Thu Jan 20 16:17:23 2011 -0500 Add some notes on the gdb pretty-printer hooks Antoine Pitrou, Thu Jan 20 21:17:49 2011 +0100 Give an example backtrace Antoine Pitrou, Thu Jan 20 21:03:06 2011 +0100 Expand explanations about gdb support Brett Cannon, Thu Jan 20 11:33:36 2011 -0800 Tweak the gdb support title to fit in better with the devguide. Brett Cannon, Mon Jan 17 21:12:54 2011 +0000 Short README on gdb support. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: anatoly techtonik <techtonik@gmail.com> Co-authored-by: Antoine Pitrou <solipsis@pitrou.net> Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Dave Malcolm <dmalcolm@redhat.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Georg Brandl <georg@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jeff Allen <ja.py@farowl.co.uk> Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Satish Mishra <7506satish@gmail.com> Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Suriyaa <isc.suriyaa@gmail.com> Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* gh-114058: Improve method information in redundancy eliminator (GH-115848)Ken Jin2024-02-232-6/+14
|
* gh-111789: Use PyDict_GetItemRef() in Python/compile.c (GH-112083)Serhiy Storchaka2024-02-231-5/+4
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-115806: Make configure output more readable (#115807)Erlend E. Aasland2024-02-232-14/+15
| | | | - make sure LDLIBRARY and HOSTRUNNER checks don't overlap - make the ipv6 library check less subtle
* gh-90300: Reformat the Python CLI help output (GH-93415)Serhiy Storchaka2024-02-231-108/+106
|
* Remove `ConverterKeywordDict` alias in `clinic.py` (#115843)Nikita Sobolev2024-02-231-3/+1
|
* gh-114058: More robust method handling in redundancy eliminator (GH-115779)Ken Jin2024-02-233-16/+41
|
* gh-115836: Don't use hardcoded line numbers in test_monitoring (#115837)Brett Simmers2024-02-231-6/+14
|
* gh-88516: show file proxy icon in IDLE editor windows on macOS (#112894)Ronald Oussoren2024-02-232-1/+12
| | | | | | | | | | | | | The platform standard on macOS is to show a proxy icon for open files in the titlebar of Windows. Make sure IDLE matches this behaviour. Don't use both the long and short names in the window title. The behaviour of other editors (such as Text Editor) is to show only the short name with the proxy icon. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-115727: Reduce confidence even on 100% predicted jumps (#115748)Guido van Rossum2024-02-221-7/+13
| | | | | | | | The theory is that even if we saw a jump go in the same direction the last 16 times we got there, we shouldn't be overly confident that it's still going to go the same way in the future. This PR makes it so that in the extreme cases, the confidence is multiplied by 0.9 instead of remaining unchanged. For unpredictable jumps, there is no difference (still 0.5). For somewhat predictable jumps, we interpolate.
* gh-112075: Iterating a dict shouldn't require locks (#115108)Dino Viehland2024-02-222-60/+265
| | | Makes iteration of a dict be lock free for the forward iteration case.
* Update http.cookiejar document for cookie object attributes (GH-101885)NewUserHa2024-02-221-0/+5
|
* GH-113464: Clean up JIT stencil generation (GH-115800)Brandt Bucher2024-02-221-6/+5
|
* gh-115827: Fix compile warning in `longobject.c` (#115828)Nikita Sobolev2024-02-221-1/+1
| | | Objects/longobject.c:1186:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]