Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-81611: Improve `range` paragraph in 8.3 of language reference (#98353) | 4l4k4z4m | 2023-01-03 | 1 | -3/+2 | |
| | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | |||||
* | gh-89727: Improve os.walk complexity (#100671) | Stanislav Zmiev | 2023-01-02 | 2 | -6/+7 | |
| | ||||||
* | gh-100637: Fix int and bool __sizeof__ calculation to include the 1 element ↵ | Ionite | 2023-01-02 | 3 | -2/+7 | |
| | | | | | | | | ob_digit array for 0 and False (#100663) Fixes behaviour where int (and subtypes like bool) __sizeof__ under-reports true size as it did not take into account the size 1 `ob_digit` array for the zero int. Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | |||||
* | gh-100676: Improve description for venv --upgrade-deps (GH-100678) | Rupa Lahiri | 2023-01-02 | 1 | -1/+1 | |
| | ||||||
* | fix `grammer` -> `grammar` typo in expressions.rst (GH-100683) | Kumar Aditya | 2023-01-02 | 1 | -1/+1 | |
| | | | Automerge-Triggered-By: GH:AlexWaygood | |||||
* | Fix deprecation doc for `PyEval_InitThreads` (#100667) | Alexander Shadchin | 2023-01-02 | 1 | -2/+2 | |
| | ||||||
* | gh-100428: Make int documentation more accurate (#100436) | Shantanu | 2023-01-02 | 1 | -11/+15 | |
| | | | | | | | | | - Remove first link to lexical definition of integer literal, since it doesn't apply (differs in handling of leading zeros, base needs to be explicitly specified, unicode digits are allowed) - Better describe handling of leading zeros, unicode digits, underscores - Base 0 does not work exactly as like a code literal, since it allows Unicode digits. Link code literal to lexical definition of integer literal. | |||||
* | gh-99953: Purge mention of numeric param style from sqlite3 docs (#100630) | Erlend E. Aasland | 2023-01-01 | 1 | -5/+1 | |
| | | | The PEP-249 numeric style has never been supported by sqlite3. | |||||
* | build(deps): bump actions/stale from 6 to 7 (#100656) | dependabot[bot] | 2023-01-01 | 1 | -1/+1 | |
| | ||||||
* | gh-97930: Apply changes from importlib_resources 5.10. (GH-100598) | Jason R. Coombs | 2023-01-01 | 9 | -90/+268 | |
| | ||||||
* | gh-87980: Fix the error message for disallowed __weakref__ slots (#25362) | Géry Ogam | 2023-01-01 | 1 | -2/+1 | |
| | | | Fix the error message for disallowed `__weakref__` slots. | |||||
* | gh-100201: Document behavior with a bare `yield` statement (#100416) | ram vikram singh | 2023-01-01 | 1 | -1/+3 | |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | gh-96773 Fix documentation of socket backlog (#96778) | Mehrdad Moradizadeh | 2023-01-01 | 1 | -2/+2 | |
| | ||||||
* | gh-100649: Update native_thread_id after fork (gh-100650) | Gabriele N. Tornetta | 2023-01-01 | 2 | -0/+5 | |
| | | | Update native_thread_id after fork | |||||
* | gh-100488: Add is_integer method to fractions.Fraction (#100489) | Shantanu | 2023-01-01 | 4 | -0/+24 | |
| | ||||||
* | gh-100546: Remove incorrect positional-only marker from eval (#100547) | Shantanu | 2023-01-01 | 1 | -1/+1 | |
| | | | | | | All the arguments are positional-only. The current status after #99476 seems to be to not use positional-only markers in documentation, hence I've simply removed it. | |||||
* | IDLE - fix module browser test (#100647) | Terry Jan Reedy | 2023-01-01 | 1 | -2/+1 | |
| | ||||||
* | Fix `pydtrace.d` path comment in `Include/pydtrace.h` (#28539) | Mark Hansen | 2022-12-31 | 1 | -1/+1 | |
| | ||||||
* | GH-87002: fix caching documentation in `struct` module (#24164) | Sandeep Subramanian | 2022-12-31 | 1 | -3/+3 | |
| | ||||||
* | gh-100633 Tutorial: Fix dataclasses import (#100638) | Owain Davies | 2022-12-31 | 1 | -1/+1 | |
| | | | import dataclass not dataclasses from dataclasses | |||||
* | gh-94808: Improve coverage of dictresize (GH-100619) | tqxia | 2022-12-31 | 1 | -0/+15 | |
| | ||||||
* | GH-85979: Clarify specification of `object.__await__` (#22320) | Paolo Lammens | 2022-12-31 | 1 | -0/+8 | |
| | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | |||||
* | Improve comments in itertools uniquification recipes (GH-100631) | Raymond Hettinger | 2022-12-31 | 1 | -7/+12 | |
| | ||||||
* | gh-95778: add doc missing in some places (GH-100627) | Éric | 2022-12-30 | 2 | -0/+11 | |
| | ||||||
* | gh-100616: Document 'attr' parameter for window.vline() in curses module ↵ | mathieui | 2022-12-30 | 2 | -3/+5 | |
| | | | | | (#24961) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> | |||||
* | gh-99433: Fix `doctest` failure on `types.MethodWrapperType` (#99434) | Nikita Sobolev | 2022-12-30 | 3 | -1/+6 | |
| | ||||||
* | gh-100228: Warn from os.fork() if other threads exist. (#100229) | Gregory P. Smith | 2022-12-29 | 12 | -66/+283 | |
| | | | | | Not comprehensive, best effort warning. There are cases when threads exist on some platforms that this code cannot detect. macOS when API permissions allow and Linux with a readable /proc procfs present are the currently supported cases where a warning should show up reliably. Starting with a DeprecationWarning for now, it is less disruptive than something like RuntimeWarning and most likely to only be seen in people's CI tests - a good place to start with this messaging. | |||||
* | gh-100540: Remove obsolete Modules/_ctypes/darwin/ dlfcn shim (GH-100541) | Zachary Ware | 2022-12-29 | 15 | -540/+15 | |
| | | | As far as I can tell, this hasn't been actually used since Mac OS X 10.2. | |||||
* | gh-100583: Improve the `pydoc` documentation (#100590) | ram vikram singh | 2022-12-29 | 1 | -4/+4 | |
| | ||||||
* | gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` ↵ | Nikita Sobolev | 2022-12-29 | 1 | -0/+1 | |
| | | | | (#100601) | |||||
* | gh-100585: Fixed a bug where importlib.resources.as_file was leaving file ↵ | Samet YASLAN | 2022-12-28 | 2 | -1/+2 | |
| | | | | | | | pointers open (GH-100586) * gh-100585: Fixed open fp bug in the imporlib module * Added news for gh-100585 | |||||
* | GH-100101: Clarify documentation of zip's strict option (GH-100103) | JustAnotherArchivist | 2022-12-28 | 1 | -4/+14 | |
| | ||||||
* | Restore early-out to factor(). Strengthen tests. (GH-100591) | Raymond Hettinger | 2022-12-28 | 1 | -5/+15 | |
| | ||||||
* | gh-94172: Update docs for params removed in 3.12 (#100431) | Hugo van Kemenade | 2022-12-28 | 7 | -56/+58 | |
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> | |||||
* | gh-100540: Remove unused Modules/_ctypes/libffi_osx/ (GH-100543) | Zachary Ware | 2022-12-28 | 22 | -6651/+5 | |
| | | | | It was an ancient, modified copy of libffi that has not been in use since GH-22855. | |||||
* | gh-100540: Remove obsolete '--with-system-ffi' configure option (GH-100544) | Zachary Ware | 2022-12-28 | 4 | -156/+87 | |
| | | | | | It has had no effect on non-macOS platforms for a long time, and has had the non-obvious effect of invoking `pkg_config` and not setting `-DUSING_APPLE_OS_LIBFFI` on macOS since GH-22855. | |||||
* | gh-100540: Remove unnecessary '-DMACOSX' for ctypes on macOS (GH-100542) | Zachary Ware | 2022-12-28 | 3 | -4/+4 | |
| | | | | The define was only used to protect a `#pragma clang diagnostic` setting, which is already better guarded by `__clang__` anwyay. | |||||
* | gh-100577: Replace `assert(0)` with `Py_UNREACHABLE` in `symtable.c` (#100579) | Nikita Sobolev | 2022-12-28 | 1 | -1/+1 | |
| | ||||||
* | Fix mock code coverage. (#100580) | Chris Withers | 2022-12-28 | 1 | -6/+3 | |
| | ||||||
* | Improve factor() recipe and fix its tests (GH-100576) | Raymond Hettinger | 2022-12-28 | 1 | -20/+20 | |
| | ||||||
* | Remove skipped test in test for async mocks. (#100559) | Chris Withers | 2022-12-28 | 1 | -4/+0 | |
| | | | | | | Remove skipped test. See discussion on https://github.com/python/cpython/pull/25326. Fix is apparently here, but no-one is confident to review and land: https://github.com/python/cpython/pull/25347. | |||||
* | GH-100192: fix `asyncio` subprocess tests to pass env vars to subprocess ↵ | Kumar Aditya | 2022-12-28 | 1 | -2/+4 | |
| | | | | (#100569) | |||||
* | gh-55688: Add note about ending backslashes for raw strings (#94768) | Stanley | 2022-12-28 | 2 | -0/+45 | |
| | | | Co-authored-by: hauntsaninja <hauntsaninja@gmail.com> | |||||
* | add tests for `asyncio` transport sockets (#100263) | Kumar Aditya | 2022-12-28 | 1 | -0/+23 | |
| | ||||||
* | Fix copy-paste error in `Tools/clinic.py` (#100560) | Nikita Sobolev | 2022-12-28 | 1 | -1/+1 | |
| | ||||||
* | GH-100342: check for allocation failure in AC `*args` parsing (#100343) | Kumar Aditya | 2022-12-28 | 4 | -2/+16 | |
| | ||||||
* | GH-100192: add more `asyncio` subprocess tests (#100194) | Kumar Aditya | 2022-12-28 | 1 | -0/+82 | |
| | ||||||
* | GH-98831: Modernize a ton of simpler instructions (#100545) | Guido van Rossum | 2022-12-28 | 3 | -349/+242 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * load_const and load_fast aren't families for now * Don't decref unmoved names * Modernize GET_ANEXT * Modernize GET_AWAITABLE * Modernize ASYNC_GEN_WRAP * Modernize YIELD_VALUE * Modernize POP_EXCEPT (in more than one way) * Modernize PREP_RERAISE_STAR * Modernize LOAD_ASSERTION_ERROR * Modernize LOAD_BUILD_CLASS * Modernize STORE_NAME * Modernize LOAD_NAME * Modernize LOAD_CLASSDEREF * Modernize LOAD_DEREF * Modernize STORE_DEREF * Modernize COPY_FREE_VARS (mark it as done) * Modernize LIST_TO_TUPLE * Modernize LIST_EXTEND * Modernize SET_UPDATE * Modernize SETUP_ANNOTATIONS * Modernize DICT_UPDATE * Modernize DICT_MERGE * Modernize MAP_ADD * Modernize IS_OP * Modernize CONTAINS_OP * Modernize CHECK_EXC_MATCH * Modernize IMPORT_NAME * Modernize IMPORT_STAR * Modernize IMPORT_FROM * Modernize JUMP_FORWARD (mark it as done) * Modernize JUMP_BACKWARD (mark it as done) | |||||
* | gh-100553: Improve accuracy of sqlite3.Row iter test (#100555) | Nikita Sobolev | 2022-12-28 | 1 | -2/+8 | |
| | ||||||
* | Remove `NoneType` redefinition from `clinic.py` (#100551) | Nikita Sobolev | 2022-12-27 | 1 | -2/+0 | |
| |