Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add gettext support to tools/extensions/c_annotations.py (#101989) | Rémi Lapeyre | 2023-03-06 | 2 | -3/+9 |
| | |||||
* | gh-95672: Fix versionadded indentation of get_pagesize in test.rst (gh-102455) | Hyunkyun Moon | 2023-03-06 | 1 | -1/+1 |
| | |||||
* | GH-101362: Optimise PurePath(PurePath(...)) (GH-101667) | Barney Gale | 2023-03-05 | 1 | -2/+3 |
| | | | | | | | The previous `_parse_args()` method pulled the `_parts` out of any supplied `PurePath` objects; these were subsequently joined in `_from_parts()` using `os.path.join()`. This is actually a slower form of joining than calling `fspath()` on the path object, because it doesn't take advantage of the fact that the contents of `_parts` is normalized! This reduces the time taken to run `PurePath("foo", "bar")` by ~20%, and the time taken to run `PurePath(p, "cheese")`, where `p = PurePath("/foo", "bar", "baz")`, by ~40%. Automerge-Triggered-By: GH:AlexWaygood | ||||
* | Move around example in to_bytes() to avoid confusion (#101595) | Sergey B Kirpichev | 2023-03-05 | 1 | -2/+4 |
| | | | | Moves an example to be closer to the sentence that refers to it. | ||||
* | gh-96821: Add config option `--with-strict-overflow` (#96823) | Matthias Görgens | 2023-03-04 | 1 | -0/+5 |
| | | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <hauntsaninja@gmail.com> | ||||
* | Add import of `unittest.mock.Mock` in documentation (#102346) | Wagner Alberto | 2023-03-03 | 1 | -0/+1 |
| | |||||
* | gh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (#102390) | Nikita Sobolev | 2023-03-03 | 1 | -1/+1 |
| | |||||
* | gh-101754: Document that Windows converts keys in `os.environ` to uppercase ↵ | Owain Davies | 2023-03-03 | 1 | -0/+5 |
| | | | | (GH-101840) | ||||
* | Fix typos in documentation and comments (GH-102374) | Michael K | 2023-03-02 | 2 | -2/+2 |
| | | | | | | | | Found some duplicate `to`s in the documentation and some code comments and fixed them. [Misc/NEWS.d/3.12.0a1.rst](https://github.com/python/cpython/blob/ed55c69ebd74178115cd8b080f7f8e7588cd5fda/Misc/NEWS.d/3.12.0a1.rst) also contains two duplicate `to`s, but I wasn't sure if it's ok to touch that file. Looks auto generated. I'm happy to amend the PR if requested. :) Automerge-Triggered-By: GH:AlexWaygood | ||||
* | gh-102088 Optimize iter_index itertools recipe (GH-102360) | Stefan Pochmann | 2023-03-02 | 1 | -3/+6 |
| | |||||
* | gh-95672 skip fcntl when pipesize is smaller than pagesize (gh-102163) | Hyunkyun Moon | 2023-03-01 | 1 | -0/+7 |
| | |||||
* | Doc: Fix minor error in ePub (GH-100614) | Inada Naoki | 2023-03-01 | 1 | -3/+3 |
| | | | Fix issue reported https://mail.python.org/archives/list/docs@python.org/message/KE7OIAO53P4XRC4ZOWPDHA63ZQJCHEC3/ | ||||
* | GH-90744: Fix erroneous doc links in the sys module (#101319) | Furkan Onder | 2023-02-28 | 1 | -49/+49 |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-101101: Unstable C API tier (PEP 689) (GH-101102) | Petr Viktorin | 2023-02-28 | 4 | -9/+164 |
| | |||||
* | gh-101561: Add typing.override decorator (#101564) | Steven Troxler | 2023-02-27 | 2 | -0/+46 |
| | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843) | Sergey B Kirpichev | 2023-02-27 | 2 | -4/+5 |
| | | | | | | | | | Make docstrings for `as_integer_ratio` consistent across types, and document that the returned pair is always normalized (coprime integers, with positive denominator). --------- Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||||
* | gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297) | Gouvernathor | 2023-02-27 | 1 | -2/+3 |
| | | | Automerge-Triggered-By: GH:AlexWaygood | ||||
* | gh-101100: Fix sphinx warnings in `types` module (#102274) | Nikita Sobolev | 2023-02-27 | 1 | -1/+1 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-91038: Change default argument value to `False` instead of `0` (#31621) | Rotzbua | 2023-02-27 | 1 | -1/+1 |
| | | | | | | The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant `False` as default value instead of the integer `0`. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | ||||
* | [doc] Improve grammar/fix missing word (GH-102060) | VMan | 2023-02-26 | 2 | -2/+2 |
| | |||||
* | gh-102259: Fix re doc issue regarding right square brackets (#102264) | Skip Montanaro | 2023-02-26 | 1 | -1/+2 |
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | gh-101100: Fix sphinx warnings in `typing` module docs (#102260) | Nikita Sobolev | 2023-02-25 | 1 | -1/+1 |
| | |||||
* | asyncio docs: Fix dangling hyphen (#102227) | Jelle Zijlstra | 2023-02-25 | 1 | -2/+2 |
| | | | Currently this gets rendered with a dangling hyphen. | ||||
* | gh-101100: Fix Sphinx warnings in `decimal` module (#102125) | Hugo van Kemenade | 2023-02-25 | 1 | -84/+84 |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-102105 Fix wording in filterfalse/quantify/filter (GH-102189) | Stefan Pochmann | 2023-02-24 | 2 | -4/+4 |
| | |||||
* | gh-81652: Add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants ↵ | Yeojin Kim | 2023-02-24 | 1 | -3/+11 |
| | | | | (gh-102191) | ||||
* | Fix typo in `Py_GetPythonHome` signature (#102168) | Tanner Firl | 2023-02-23 | 1 | -1/+1 |
| | |||||
* | gh-101578: Fixup NEWS and add What's New entry for new exception APIs (#102157) | Erlend E. Aasland | 2023-02-23 | 1 | -0/+18 |
| | |||||
* | gh-87634: remove locking from functools.cached_property (GH-101890) | Carl Meyer | 2023-02-23 | 2 | -0/+25 |
| | | | Remove the undocumented locking capabilities of functools.cached_property. | ||||
* | Fix syntax error in struct doc example (#102160) | Terry Jan Reedy | 2023-02-22 | 1 | -1/+1 |
| | | | | Missing closing ) reported on Discuss by Chukwudi Nwachukwu. | ||||
* | GH-101777: `queue.rst`: use 2 spaces after a period to be consistent. (#102143) | Owain Davies | 2023-02-22 | 1 | -8/+8 |
| | |||||
* | gh-102135: Update turtle docs to rename wikipedia demo to rosette (#102137) | somebody | 2023-02-22 | 1 | -3/+3 |
| | |||||
* | gh-100556: Improve clarity of `or` docs (#100589) | ram vikram singh | 2023-02-21 | 1 | -2/+2 |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-101777: Make `PriorityQueue` docs slightly clearer (#102026) | Owain Davies | 2023-02-21 | 1 | -2/+2 |
| | | | | Adjust wording slightly, and use min(entries) instead of sorted(list(entries))[0] as an example. | ||||
* | gh-101578: Amend exception docs (#102057) | Erlend E. Aasland | 2023-02-21 | 2 | -22/+25 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-102011: use sys.exception() instead of sys.exc_info() in docs where ↵ | Irit Katriel | 2023-02-20 | 6 | -32/+29 |
| | | | | possible (#102012) | ||||
* | GH-99818: improve the documentation for zipfile.Path and Traversable (GH-101589) | Filipe Laíns | 2023-02-20 | 2 | -3/+7 |
| | | | Automerge-Triggered-By: GH:FFY00 | ||||
* | gh-101578: Amend PyErr_{Set,Get}RaisedException docs (#101962) | Erlend E. Aasland | 2023-02-19 | 2 | -32/+20 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | Misc improvements to the float tutorial (GH-102052) | Raymond Hettinger | 2023-02-19 | 1 | -33/+106 |
| | |||||
* | gh-85417: Clarify behaviour on branch cuts in cmath module (#102046) | Mark Dickinson | 2023-02-19 | 1 | -28/+38 |
| | | | | | | This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros. * Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts * Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour | ||||
* | gh-100425: Update tutorial docs related to sum() accuracy (FH-101854) | neuralstring | 2023-02-19 | 1 | -1/+1 |
| | |||||
* | gh-99735: Use required=True in argparse subparsers example (#100927) | Patricio Paez | 2023-02-19 | 1 | -1/+1 |
| | |||||
* | Fix incorrectly documented attribute in csv docs (#101250) | Reza Rastak | 2023-02-19 | 1 | -1/+1 |
| | |||||
* | GH-84783: Make the slice object hashable (GH-101264) | Furkan Onder | 2023-02-19 | 1 | -0/+3 |
| | |||||
* | gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` (#101612) | Nikita Sobolev | 2023-02-18 | 1 | -1/+12 |
| | | | | | * gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` * Address review | ||||
* | gh-101739: [Enum] update docs - default boundary for Flag is CONFORM (GH-101746) | Owain Davies | 2023-02-17 | 1 | -9/+8 |
| | |||||
* | gh-100226: Clarify StreamReader.read behavior (#101807) | Jan Gosmann | 2023-02-17 | 1 | -2/+10 |
| | |||||
* | gh-101992: update plistlib examples to be runnable (#101994) | Dustin Rodrigues | 2023-02-17 | 1 | -6/+15 |
| | | | | | | | | | * gh-101992: update plistlib examples to be runnable * Update Doc/library/plistlib.rst --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980) | Yeojin Kim | 2023-02-17 | 1 | -1/+1 |
| | | | | - possitibility => possibility - disaallowed => disallowed | ||||
* | gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (#101976) | Oleg Iarygin | 2023-02-17 | 1 | -2/+2 |
| |