Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-102008: simplify test_except_star by using sys.exception() instead of ↵ | Irit Katriel | 2023-02-21 | 1 | -25/+19 |
| | | | | sys.exc_info() (#102009) | ||||
* | gh-101903: Remove obsolete undefs for previously removed macros ↵ | Owain Davies | 2023-02-21 | 1 | -4/+0 |
| | | | | Py_EnterRecursiveCall and Py_LeaveRecursiveCall (#101923) | ||||
* | 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-101965: Fix usage of Py_EnterRecursiveCall return value in ↵ | Owain Davies | 2023-02-21 | 1 | -2/+2 |
| | | | | | | | _bisectmodule.c (GH-101966) Closes #101965 Automerge-Triggered-By: GH:erlend-aasland | ||||
* | 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-101961 fileinput.hookcompressed should not set the encoding value for the ↵ | Gihwan Kim | 2023-02-21 | 4 | -12/+32 |
| | | | | binary mode (gh-102068) | ||||
* | gh-102056: Fix a few bugs in error handling of exception printing code (#102078) | Irit Katriel | 2023-02-20 | 3 | -7/+48 |
| | |||||
* | gh-102011: use sys.exception() instead of sys.exc_info() in docs where ↵ | Irit Katriel | 2023-02-20 | 6 | -32/+29 |
| | | | | possible (#102012) | ||||
* | gh-101566: Sync with zipp 3.14. (GH-102018) | Jason R. Coombs | 2023-02-20 | 6 | -56/+215 |
| | |||||
* | 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-88233: zipfile: handle extras after a zip64 extra (GH-96161) | Tim Hatch | 2023-02-20 | 3 | -0/+66 |
| | | | | | | | | | Previously, any data _after_ the zip64 extra would be removed. With many new tests. Fixes #88233 Automerge-Triggered-By: GH:jaraco | ||||
* | gh-101981: Apply HOMEBREW related environment variables (gh-102074) | Dong-hee Na | 2023-02-20 | 1 | -0/+3 |
| | |||||
* | gh-101907: Stop using `_Py_OPCODE` and `_Py_OPARG` macros (GH-101912) | Steve Dower | 2023-02-20 | 13 | -184/+200 |
| | | | | | | * gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h * Make cases_generator correct on Windows | ||||
* | gh-101819: Adapt _io types to heap types, batch 1 (GH-101949) | Erlend E. Aasland | 2023-02-20 | 10 | -478/+463 |
| | | | | | Adapt StringIO, TextIOWrapper, FileIO, Buffered*, and BytesIO types. Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-101981: Build macOS as recommended by the devguide (GH-102070) | Erlend E. Aasland | 2023-02-20 | 1 | -3/+10 |
| | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-97786: Fix compiler warnings in pytime.c (#101826) | Mark Dickinson | 2023-02-20 | 2 | -6/+31 |
| | | | Fixes compiler warnings in pytime.c. | ||||
* | 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 | 2 | -28/+39 |
| | | | | | | 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 |
| | |||||
* | Add missing 'is' to `cmath.log()` docstring (#102049) | Owain Davies | 2023-02-19 | 2 | -4/+4 |
| | | | Fix missing 'is' in cmath.log() docstring | ||||
* | gh-100210: Correct the comment link for unescaping HTML (#100212) | Jean-Christophe Amiel | 2023-02-19 | 1 | -1/+1 |
| | | | gh-100210: correct the comment link for unescaping HTML | ||||
* | gh-97930: Also include subdirectory in makefile. (#102030) | Jason R. Coombs | 2023-02-19 | 1 | -0/+2 |
| | |||||
* | 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 | 7 | -12/+53 |
| | |||||
* | gh-97930: Apply changes from importlib_resources 5.12. (GH-102010) | Jason R. Coombs | 2023-02-18 | 15 | -127/+241 |
| | |||||
* | bpo-46978: Correct docstrings for in-place builtin operators (#31802) | Nicko van Someren | 2023-02-18 | 2 | -1/+2 |
| | |||||
* | 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-101967: add a missing error check (#101968) | Eclips4 | 2023-02-18 | 2 | -1/+4 |
| | |||||
* | 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 | 2 | -10/+19 |
| | |||||
* | 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> | ||||
* | gh-101766: Fix refleak for _BlockingOnManager resources from test suite ↵ | Dong-hee Na | 2023-02-17 | 2 | -5/+5 |
| | | | | level (gh-101988) | ||||
* | gh-100809: Fix handling of drive-relative paths in pathlib.Path.absolute() ↵ | Barney Gale | 2023-02-17 | 4 | -1/+64 |
| | | | | | (GH-100812) Resolving the drive independently uses the OS API, which ensures it starts from the current directory on that drive. | ||||
* | gh-101360: Fix anchor matching in pathlib.PureWindowsPath.match() (GH-101363) | Barney Gale | 2023-02-17 | 4 | -8/+13 |
| | | | | Use `fnmatch` to match path and pattern anchors, just as we do for other path parts. This allows patterns such as `'*:/Users/*'` to be matched. | ||||
* | gh-101766: Fix refleak for _BlockingOnManager resources (gh-101942) | Dong-hee Na | 2023-02-17 | 1 | -0/+5 |
| | |||||
* | Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980) | Yeojin Kim | 2023-02-17 | 2 | -2/+2 |
| | | | | - possitibility => possibility - disaallowed => disallowed | ||||
* | gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (#101976) | Oleg Iarygin | 2023-02-17 | 1 | -2/+2 |
| | |||||
* | gh-101758: Fix Refleak-Related Failures in test_singlephase_variants (gh-101969) | Eric Snow | 2023-02-17 | 1 | -1/+13 |
| | | | | | gh-101891 is causing failures under `$> ./python -m test test_imp -R 3:3`. Furthermore, with that fixed, "test_singlephase_variants" is leaking references. This change addresses the first part, but skips the leaking tests until we can follow up with a fix. https://github.com/python/cpython/issues/101758 | ||||
* | gh-101758: Add _PyState_AddModule() Back for the Stable ABI (gh-101956) | Eric Snow | 2023-02-16 | 5 | -0/+31 |
| | | | | | | | We're adding the function back, only for the stable ABI symbol and not as any form of API. I had removed it yesterday. This undocumented "private" function was added with the implementation for PEP 3121 (3.0, 2007) for internal use and later moved out of the limited API (3.6, 2016) and then into the internal API (3.9, 2019). I removed it completely yesterday, including from the stable ABI manifest (where it was added because the symbol happened to be exported). It's unlikely that anyone is using _PyState_AddModule(), especially any stable ABI extensions built against 3.2-3.5, but we're playing it safe. https://github.com/python/cpython/issues/101758 | ||||
* | GH-96764: rewrite `asyncio.wait_for` to use `asyncio.timeout` (#98518) | Kumar Aditya | 2023-02-16 | 4 | -79/+133 |
| | | | Changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation. | ||||
* | gh-99942: correct the pkg-config/python-config flags for cygwin/android | Eli Schwartz | 2023-02-16 | 3 | -2/+4 |
| | |||||
* | gh-101952: Fix possible segfault in `BUILD_SET` opcode (#101958) | Eclips4 | 2023-02-16 | 3 | -0/+5 |
| | |||||
* | gh-93573: Replace wrong example domains in configparser doc (GH-93574) | sblondon | 2023-02-16 | 1 | -23/+23 |
| | | | | | | | | * Replace bitbucket.org domain by forge.example * Update example to python.org * Use explicitly invalid domain topsecret.server.com domain is not controled by PSF. It's replaced by invalid topsecret.server.example domain. It follows RFC 2606, which advise .example as TLD for documentation. | ||||
* | gh-101881: Support (non-)blocking read/write functions on Windows pipes ↵ | Rayyan Ansari | 2023-02-16 | 8 | -25/+107 |
| | | | | | | | | | | | | (GH-101882) * fileutils: handle non-blocking pipe IO on Windows Handle erroring operations on non-blocking pipes by reading the _doserrno code. Limit writes on non-blocking pipes that are too large. * Support blocking functions on Windows Use the GetNamedPipeHandleState and SetNamedPipeHandleState Win32 API functions to add support for os.get_blocking and os.set_blocking. | ||||
* | gh-101951: use textwrap.dedent in compiler tests to make them more readable ↵ | Irit Katriel | 2023-02-16 | 1 | -143/+145 |
| | | | | | | | (GH-101950) Fixes #101951. Automerge-Triggered-By: GH:iritkatriel | ||||
* | gh-101928: fix crash in compiler on multi-line lambda in function call (#101933) | penguin_wwy | 2023-02-16 | 2 | -2/+13 |
| | |||||
* | gh-99108: Refactor _sha256 & _sha512 into _sha2. (#101924) | Gregory P. Smith | 2023-02-16 | 18 | -1493/+1310 |
| | | | | | | | | | This merges their code. They're backed by the same single HACL* static library, having them be a single module simplifies maintenance. This should unbreak the wasm enscripten builds that currently fail due to linking in --whole-archive mode and the HACL* library appearing twice. Long unnoticed error fixed: _sha512.SHA384Type was doubly assigned and was actually SHA512Type. Nobody depends on those internal names. Also rename LIBHACL_ make vars to LIBHACL_SHA2_ in preperation for other future HACL things. |