Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typo in documentation of `SysLogHandler.createSocket` (#111665) | LoipesMas | 2023-11-02 | 1 | -3/+1 |
| | |||||
* | gh-111354: simplify detection of RESUME after YIELD_VALUE at except-depth 1 ↵ | Irit Katriel | 2023-11-02 | 1 | -2/+11 |
| | | | | (#111459) | ||||
* | gh-111576: Improve documention for tkinter.messagebox (GH-111578) | Serhiy Storchaka | 2023-11-01 | 1 | -10/+165 |
| | |||||
* | gh-111282: Fix NamedTemporaryFile example code (GH-111283) | Krzysiek Karbowiak | 2023-10-31 | 1 | -7/+7 |
| | |||||
* | gh-110774: allow setting the Runner(loop_factory=...) from ↵ | Thomas Grainger | 2023-10-31 | 1 | -0/+8 |
| | | | | | | | IsolatedAsyncioTestCase (#110776) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> | ||||
* | gh-102249: Expand sys.call_tracing documentation (#102806) | Quentin Peter | 2023-10-31 | 1 | -3/+17 |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-93607: document `root` attribute of `iterparse` (#99410) | Prometheus3375 | 2023-10-31 | 1 | -1/+3 |
| | | | | | Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-106861: Docs: Add availability directives to all Unix-only modules (#108975) | xzmeng | 2023-10-31 | 9 | -6/+14 |
| | |||||
* | gh-111165: Remove documentation for moved functions (GH-111467) | Serhiy Storchaka | 2023-10-29 | 1 | -10/+0 |
| | |||||
* | gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst` (GH-111222) | Nikita Sobolev | 2023-10-29 | 2 | -6/+15 |
| | | | | | | | | | | | | | | | * gh-101100: Fix sphinx warnings in `library/asyncio-eventloop.rst` * Update Doc/library/socket.rst Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update asyncio-eventloop.rst * Update socket.rst --------- Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-79033: Try to fix asyncio.Server.wait_closed() again (GH-111336) | Guido van Rossum | 2023-10-28 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Try to fix asyncio.Server.wait_closed() again I identified the condition that `wait_closed()` is intended to wait for: the server is closed *and* there are no more active connections. When this condition first becomes true, `_wakeup()` is called (either from `close()` or from `_detach()`) and it sets `_waiters` to `None`. So we just check for `self._waiters is None`; if it's not `None`, we know we have to wait, and do so. A problem was that the new test introduced in 3.12 explicitly tested that `wait_closed()` returns immediately when the server is *not* closed but there are currently no active connections. This was a mistake (probably a misunderstanding of the intended semantics). I've fixed the test, and added a separate test that checks exactly for this scenario. I also fixed an oddity where in `_wakeup()` the result of the waiter was set to the waiter itself. This result is not used anywhere and I changed this to `None`, to avoid a GC cycle. * Update Lib/asyncio/base_events.py --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> | ||||
* | gh-111388: Add `show_group` parameter to `traceback.format_exception_only` ↵ | Nikita Sobolev | 2023-10-27 | 1 | -1/+8 |
| | | | | (#111390) | ||||
* | gh-111276: Clarify docs and comments about the role of LC_CTYPE (#111319) | Łukasz Langa | 2023-10-27 | 1 | -5/+10 |
| | | | | | | | | Fix locale.LC_CTYPE documentation to no longer mention string.lower() et al. Those functions were removed in Python 3.0: https://docs.python.org/2/library/string.html#deprecated-string-functions Also, fix a comment in logging about locale-specific behavior of `str.lower()`. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 ↵ | Raymond Hettinger | 2023-10-27 | 1 | -1/+1 |
| | | | | (gh-110163) | ||||
* | gh-111343: Fix `itertools` docs: `start` arg is optional for `count` (gh-111344) | Nikita Sobolev | 2023-10-27 | 1 | -1/+1 |
| | |||||
* | Docs: Add `restart_events()` and positional arg semantics for ↵ | Tian Gao | 2023-10-25 | 1 | -8/+13 |
| | | | | | `sys.monitoring` (#111291) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-110679: Improved markup in enum.rst (GH-110747) | Khalil Mouawad | 2023-10-25 | 1 | -15/+15 |
| | |||||
* | gh-108590: Improve sqlite3 docs on encoding issues and how to handle those ↵ | Erlend E. Aasland | 2023-10-25 | 1 | -33/+50 |
| | | | | | | | | | | | | (#108699) Add a guide for how to handle non-UTF-8 text encodings. Link to that guide from the 'text_factory' docs. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Corvin <corvin@corvin.dev> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-111187: Postpone removal version for locale.getdefaultlocale() to 3.15 ↵ | Hugo van Kemenade | 2023-10-25 | 1 | -1/+1 |
| | | | | (#111188) | ||||
* | gh-111165: Move test running code from test.support to libregrtest (GH-111166) | Serhiy Storchaka | 2023-10-25 | 1 | -28/+0 |
| | | | | Remove no longer used functions run_unittest() and run_doctest() from the test.support module. | ||||
* | Fix first parameter name in `tool` functions from `sys.monitoring` (#111286) | Pavel Karateev | 2023-10-24 | 1 | -9/+9 |
| | |||||
* | GH-111182: Update EnumType.__contains__ docs (GH-111184) | InSync | 2023-10-24 | 1 | -3/+4 |
| | |||||
* | Revert "Fix a code snippet typo in asyncio docs (#108427)" (GH-111271) | Zachary Ware | 2023-10-24 | 1 | -1/+1 |
| | | | | | | | | | This reverts commit 7f316763402a7d5556deecc3acd06cb719e189b3. The change resulted in a tautology and should not have been made. There may be an opportunity for additional clarity in this section, but this change wasn't it :) Ref: https://github.com/python/cpython/pull/108427#issuecomment-1777525740 | ||||
* | gh-111151: Convert monospaced directives to :ref: (#111152) | InSync | 2023-10-24 | 3 | -8/+20 |
| | |||||
* | Fix typo in sys docs (#111196) | James Tocknell | 2023-10-24 | 1 | -1/+1 |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-101100: Fix Sphinx warnings for `fileno` (#111118) | Hugo van Kemenade | 2023-10-23 | 6 | -10/+48 |
| | |||||
* | typo: missing line of output in pull parser example (#111068) | Don Patterson | 2023-10-23 | 1 | -0/+1 |
| | |||||
* | gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` (GH-111179) | Nikita Sobolev | 2023-10-22 | 1 | -3/+11 |
| | | | | | | | | | | | * gh-101100: Fix sphinx warnings in `library/asyncio-dev.rst` * Update Doc/library/asyncio-eventloop.rst * Update Doc/library/asyncio-eventloop.rst --------- Co-authored-by: Carol Willing <carolcode@willingconsulting.com> | ||||
* | gh-106310 - document the __signature__ attribute (#106311) | Gouvernathor | 2023-10-20 | 1 | -0/+5 |
| | | | | | Document the __signature__ attribute Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-101100: Fix Sphinx warnings in `library/tty.rst` (#111079) | Hugo van Kemenade | 2023-10-20 | 1 | -4/+14 |
| | | | Fix Sphinx warnings in library/tty.rst | ||||
* | gh-109510: Clearly explain "Which Docstrings Are Examined" (#109696) | Unique-Usman | 2023-10-19 | 1 | -3/+24 |
| | | | | | | | Co-authored-by: Mariatta <Mariatta@users.noreply.github.com> Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` (#110112) | Adam Turner | 2023-10-19 | 4 | -15/+15 |
| | |||||
* | GH-101100: Fix reference warnings for ``__getitem__`` (#110118) | Adam Turner | 2023-10-19 | 12 | -20/+20 |
| | |||||
* | gh-101100: Fix sphinx warnings in `library/getpass.rst` (#110461) | Nikita Sobolev | 2023-10-19 | 1 | -1/+1 |
| | |||||
* | gh-101100: Fix sphinx warnings in `library/codecs.rst` (#110979) | Nikita Sobolev | 2023-10-19 | 1 | -33/+36 |
| | |||||
* | GH-103082: Clean up the sys.monitoring docs (GH-110532) | Tian Gao | 2023-10-18 | 1 | -101/+157 |
| | |||||
* | GH-104232: Fix statement about trace return values (GH-110516) | Tian Gao | 2023-10-18 | 1 | -3/+2 |
| | |||||
* | GH-102895 Add an option local_exit in code.interact to block exit() from ↵ | Tian Gao | 2023-10-18 | 1 | -4/+11 |
| | | | | terminating the whole process (GH-102896) | ||||
* | gh-107457: update dis documentation with changes in 3.12 (#108900) | Matthieu Dartiailh | 2023-10-17 | 1 | -16/+43 |
| | |||||
* | sysconfig docs: fix broken link to the source code (#110920) | Karolina Surma | 2023-10-16 | 1 | -1/+1 |
| | | | It's now a package. See: https://github.com/python/cpython/commit/4a53a397c311567f05553bc25a28aebaba4f6f65 | ||||
* | gh-101100: Fix sphinx warnings in `library/time.rst` (#110862) | Nikita Sobolev | 2023-10-14 | 1 | -33/+60 |
| | |||||
* | gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) | paskozdilar | 2023-10-13 | 1 | -3/+3 |
| | | | | | | | | | | | | | * Remove redundant versionchanged * Add missing versionchanged * Update Doc/library/asyncio-task.rst Co-authored-by: Kumar Aditya <kumaraditya@python.org> --------- Co-authored-by: Kumar Aditya <kumaraditya@python.org> | ||||
* | Remove unnecessary escape in Doc/library/enum.rst (GH-110780) | InSync | 2023-10-12 | 1 | -1/+1 |
| | |||||
* | gh-94597: Add asyncio.EventLoop (#110723) | Thomas Grainger | 2023-10-12 | 2 | -4/+14 |
| | | | This is needed to pave the way for deprecating and eventually killing the event loop policy system (which is over-engineered and rarely used). | ||||
* | gh-110631: Fix reST indentation (#110724) | Ezio Melotti | 2023-10-11 | 4 | -20/+18 |
| | | | | | * Fix wrong indentation in the other dirs. * Fix more wrong indentation. | ||||
* | gh-110631: Fix reST indentation in `Doc/library` (#110685) | Ezio Melotti | 2023-10-11 | 34 | -926/+933 |
| | | | Fix wrong indentation in the Doc/library dir. | ||||
* | gh-108826: Document `dis` module CLI and rename `_test` function to `main` ↵ | Radislav Chugunov | 2023-10-10 | 2 | -1/+27 |
| | | | | | | | (#108827) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | gh-101100: Fix sphinx warnings in `library/socketserver.rst` (GH-110207) | Nikita Sobolev | 2023-10-10 | 1 | -25/+52 |
| | |||||
* | gh-109595: Add -Xcpu_count=<n> cmdline for container users (#109667) | Donghee Na | 2023-10-10 | 2 | -2/+16 |
| | | | | | | --------- Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> | ||||
* | gh-110497: Add note about `OSError` being an alias to `IOError` in docs ↵ | Nikita Sobolev | 2023-10-09 | 5 | -9/+11 |
| | | | | (#110498) |