summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-81611: Improve `range` paragraph in 8.3 of language reference (#98353)4l4k4z4m2023-01-031-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 Zmiev2023-01-022-6/+7
|
* gh-100637: Fix int and bool __sizeof__ calculation to include the 1 element ↵Ionite2023-01-023-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 Lahiri2023-01-021-1/+1
|
* fix `grammer` -> `grammar` typo in expressions.rst (GH-100683)Kumar Aditya2023-01-021-1/+1
| | | Automerge-Triggered-By: GH:AlexWaygood
* Fix deprecation doc for `PyEval_InitThreads` (#100667)Alexander Shadchin2023-01-021-2/+2
|
* gh-100428: Make int documentation more accurate (#100436)Shantanu2023-01-021-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. Aasland2023-01-011-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-011-1/+1
|
* gh-97930: Apply changes from importlib_resources 5.10. (GH-100598)Jason R. Coombs2023-01-019-90/+268
|
* gh-87980: Fix the error message for disallowed __weakref__ slots (#25362)Géry Ogam2023-01-011-2/+1
| | | Fix the error message for disallowed `__weakref__` slots.
* gh-100201: Document behavior with a bare `yield` statement (#100416)ram vikram singh2023-01-011-1/+3
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-96773 Fix documentation of socket backlog (#96778)Mehrdad Moradizadeh2023-01-011-2/+2
|
* gh-100649: Update native_thread_id after fork (gh-100650)Gabriele N. Tornetta2023-01-012-0/+5
| | | Update native_thread_id after fork
* gh-100488: Add is_integer method to fractions.Fraction (#100489)Shantanu2023-01-014-0/+24
|
* gh-100546: Remove incorrect positional-only marker from eval (#100547)Shantanu2023-01-011-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 Reedy2023-01-011-2/+1
|
* Fix `pydtrace.d` path comment in `Include/pydtrace.h` (#28539)Mark Hansen2022-12-311-1/+1
|
* GH-87002: fix caching documentation in `struct` module (#24164)Sandeep Subramanian2022-12-311-3/+3
|
* gh-100633 Tutorial: Fix dataclasses import (#100638)Owain Davies2022-12-311-1/+1
| | | import dataclass not dataclasses from dataclasses
* gh-94808: Improve coverage of dictresize (GH-100619)tqxia2022-12-311-0/+15
|
* GH-85979: Clarify specification of `object.__await__` (#22320)Paolo Lammens2022-12-311-0/+8
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Improve comments in itertools uniquification recipes (GH-100631)Raymond Hettinger2022-12-311-7/+12
|
* gh-95778: add doc missing in some places (GH-100627)Éric2022-12-302-0/+11
|
* gh-100616: Document 'attr' parameter for window.vline() in curses module ↵mathieui2022-12-302-3/+5
| | | | | (#24961) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-99433: Fix `doctest` failure on `types.MethodWrapperType` (#99434)Nikita Sobolev2022-12-303-1/+6
|
* gh-100228: Warn from os.fork() if other threads exist. (#100229)Gregory P. Smith2022-12-2912-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 Ware2022-12-2915-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 singh2022-12-291-4/+4
|
* gh-100600: Fix "coroutine was never awaited" warning in `test_coroutines` ↵Nikita Sobolev2022-12-291-0/+1
| | | | (#100601)
* gh-100585: Fixed a bug where importlib.resources.as_file was leaving file ↵Samet YASLAN2022-12-282-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)JustAnotherArchivist2022-12-281-4/+14
|
* Restore early-out to factor(). Strengthen tests. (GH-100591)Raymond Hettinger2022-12-281-5/+15
|
* gh-94172: Update docs for params removed in 3.12 (#100431)Hugo van Kemenade2022-12-287-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 Ware2022-12-2822-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 Ware2022-12-284-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 Ware2022-12-283-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 Sobolev2022-12-281-1/+1
|
* Fix mock code coverage. (#100580)Chris Withers2022-12-281-6/+3
|
* Improve factor() recipe and fix its tests (GH-100576)Raymond Hettinger2022-12-281-20/+20
|
* Remove skipped test in test for async mocks. (#100559)Chris Withers2022-12-281-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 Aditya2022-12-281-2/+4
| | | | (#100569)
* gh-55688: Add note about ending backslashes for raw strings (#94768)Stanley2022-12-282-0/+45
| | | Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
* add tests for `asyncio` transport sockets (#100263)Kumar Aditya2022-12-281-0/+23
|
* Fix copy-paste error in `Tools/clinic.py` (#100560)Nikita Sobolev2022-12-281-1/+1
|
* GH-100342: check for allocation failure in AC `*args` parsing (#100343)Kumar Aditya2022-12-284-2/+16
|
* GH-100192: add more `asyncio` subprocess tests (#100194)Kumar Aditya2022-12-281-0/+82
|
* GH-98831: Modernize a ton of simpler instructions (#100545)Guido van Rossum2022-12-283-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 Sobolev2022-12-281-2/+8
|
* Remove `NoneType` redefinition from `clinic.py` (#100551)Nikita Sobolev2022-12-271-2/+0
|