Skip to content

docs.github.com>desktop - #1

Merged
tngoc3395-stack merged 13 commits into
tngoc3395-stack:mainfrom
python:main
Jul 30, 2026
Merged

docs.github.com>desktop#1
tngoc3395-stack merged 13 commits into
tngoc3395-stack:mainfrom
python:main

Conversation

@tngoc3395-stack

@tngoc3395-stack tngoc3395-stack commented Jul 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

fedonman and others added 13 commits July 29, 2026 09:07
getparent() calls no curses function, it returns the window's stored parent,
but it was compiled only when the ncurses extension functions were present.
Close the guard after getscrreg(), which does need it.

The test moves out of test_state_getters, which is gated on is_scrollok(), so
that getparent() is covered on backends without the extensions.
in_wstr() searched the result for a terminating null, but winnwstr()
writes one only if it stored at least one character.  Use the number of
characters it returns as the length.
…ocessing.pool` (GH-136871)

The new argument allows consuming the input iterator lazily, potentially
saving memory, and allowing long/infinite iterators.

It mirrors the *buffersize* argument to `concurrent.futures.Executor.map`
that was added in 3.14.

Co-authored-by: Oleksandr Baltian <oleksandr.baltian@maklai.com.ua>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Sasha Baltian <sasha.baltian@hyperexponential.com>
…H-154255)

On NetBSD dl_iterate_phdr() reports only the link-map group of the calling
object.  Called through ctypes, the caller is libffi's closure trampoline,
which belongs to no object, so only the main executable was reported.
Calling dl_iterate_phdr() from the _ctypes extension module makes _ctypes
the caller and reports all loaded shared libraries.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…eue wait paths (GH-154837)

The event-driven wait introduced by gh-83069 passes the caller's timeout
unclamped to poll() / kqueue.control(), so values that do not fit the C
timestamp conversion (float('inf'), sys.maxsize, 1e10, ...) raise
OverflowError on Linux and, on macOS/BSD, a misleading
"TypeError: timeout must be a real number or None" -- all of which
worked on 3.14 and earlier.

- Lib/subprocess.py: clamp each wait to _MAXIMUM_WAIT_TIMEOUT (24h,
  following asyncio's MAXIMUM_SELECT_TIMEOUT precedent) and loop until
  the real deadline in both _wait_pidfd() and _wait_kqueue().
- Modules/selectmodule.c: only rewrite the kqueue.control() timeout
  conversion failure into TypeError when the original exception IS a
  TypeError, exactly like the select()/poll()/devpoll()/epoll() sites,
  so OverflowError surfaces for out-of-range values.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Currently if you have a generator like:
```
async def test():
    async with asyncio.TaskGroup() as tg:
        async for x in whatever():
            yield x
```

If aclose() is called on the generator and GeneratorExit is raised,
the TaskGroup's __aexit__ will raise a BaseExceptionGroup, and that
will be raised from the aclose() call instead of it being swallowed.

Fix this by raising GeneratorExit from __aexit__ when:
1. The body of task group raised it
2. No subtasks raised exceptions

This makes GeneratorExit work without swallowing other exceptions
(like it would if we just added it to _is_base_error).
…54885)

Calling ioctl on stdout raises warnings on Android. Ensure we have a TTY
before doing terminal size calls.
A collection of small cleanups for Android support:

* Clarifies the documentation around version number handling for iOS and 
  Android in os.uname and platform.release
* Ensures that automated NDK installs surface messages written to stderr
* Makes the Android NDK check more robust for incomplete downloads
* Corrects some linting errors in Android build scripts
The typing module caches every subscripted type. When an extension module
leaks a reference to typing, these caches also keep types owned by other
(correct) extension modules alive past interpreter shutdown, where nothing
can free them anymore. The cache_clear callables are already collected in
typing._cleanups, so registering them with atexit is enough to avoid this.
@tngoc3395-stack

Copy link
Copy Markdown
Owner Author

Soldier

| name | phone | email |
| John | 916-588-7564 | tngoc3395@gmail.com |
| Siharath | 559-813-7662 | siharathsomsack@gmail.com |
| Lee | 559-231-6138 | bounlee76@icloud.com |
| Stacy | 559-274-5462 | cabrerastacy42@gmail.com |
| Skylir | 559-473-6455 | skyliryang559@gmail.com |
| Noy | 559-907-8414 | b.nfresnojj@gmail.com |
| Xiong | 559-312-0371 | wasonx369@gmail.com |

@tngoc3395-stack
tngoc3395-stack merged commit 684ed04 into tngoc3395-stack:main Jul 30, 2026
@tngoc3395-stack tngoc3395-stack self-assigned this Jul 30, 2026
Repository owner locked and limited conversation to collaborators Jul 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.