GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-144175: Remove internal _PyArg_ParseStack() function by vstinner · Pull Request #159150 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented Oct 10, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Replace internal _PyArg_ParseStack() with public PyArg_ParseArray() in Argument Clinic.

  • Issue: Add public PyArg_ParseTupleAndKeywords API equivalent for METH_FASTCALL #144175

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner
pythongh-144175: Remove internal _PyArg_ParseStack() function
fa03550
Replace internal _PyArg_ParseStack() with public PyArg_ParseArray()
in Argument Clinic.
@vstinner
vstinner requested review from AA-Turner, ericsnowcurrently and erlend-aasland as code owners October 10, 2026 21:37
@vstinner vstinner added the skip news label Oct 10, 2026
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 10, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Oct 10, 2026
Add public PyArg_ParseTupleAndKeywords API equivalent for METH_FASTCALL #144175
Closed
@bedevere-app bedevere-app Bot added the awaiting core review label Oct 10, 2026
@vstinner vstinner mentioned this pull request Oct 10, 2026
gh-144175: Add PyArg_ParseArray() function #144283
Merged
@vstinner vstinner removed the type-feature A feature request or enhancement label Oct 10, 2026
@vstinner

vstinner commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

Two tests failed, unrelated failures. I restarted the CIs.

Sanitizers / MSan: a process took longer than the timeout of 30 seconds:

ERROR: test_interrupt (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestProcess.test_interrupt)
..
RuntimeError: join took too long: <Process name='Process-167' pid=20684 parent=18303 started daemon>

test_multiprocessing_spawn:

0:27:20 load avg: 7.36 mem: 17.5 MiB [2/2/1] test.test_multiprocessing_spawn.test_threads failed (1 failure)
Re-running test.test_multiprocessing_spawn.test_threads in verbose mode (matching: test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full, test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full)
test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full) ... 
  test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full) (method_name='imap') ... FAIL
Warning -- Dangling threads: {<DummyProcess(Thread-10 (worker), started daemon 4380)>, <DummyProcess(Thread-9 (worker), started daemon 10836)>, <Thread(Thread-13 (_handle_tasks), started daemon 1020)>, <Thread(Thread-12 (_handle_workers), started daemon 1508)>, <Thread(Thread-14 (_handle_results), started daemon 1076)>, <DummyProcess(Thread-8 (worker), started daemon 8568)>, <DummyProcess(Thread-11 (worker), started daemon 10040)>}
Warning -- Dangling threads: {<DummyProcess(Thread-10 (worker), started daemon 4380)>, <DummyProcess(Thread-9 (worker), started daemon 10836)>, <Thread(Thread-13 (_handle_tasks), started daemon 1020)>, <Thread(Thread-12 (_handle_workers), started daemon 1508)>, <Thread(Thread-14 (_handle_results), started daemon 1076)>, <DummyProcess(Thread-8 (worker), started daemon 8568)>, <DummyProcess(Thread-11 (worker), started daemon 10040)>}
Warning -- Unraisable exception
Exception ignored while calling deallocator <function Pool.__del__ at 0x000002000395E390>:
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\multiprocessing\pool.py", line 274, in __del__
    _warn(f"unclosed running multiprocessing pool {self!r}",
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          ResourceWarning, source=self)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=4>

======================================================================
FAIL: test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full (test.test_multiprocessing_spawn.test_threads.WithThreadsTestPool.test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full) (method_name='imap')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\support\__init__.py", line 1128, in wrapper
    func(self, *args, **kwargs, **subtest_kwargs)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\a\cpython\cpython\Lib\test\_test_multiprocessing.py", line 3229, in test_imap_and_imap_unordered_with_buffersize_when_buffer_is_full
    self.assertEqual(last_produced_task_arg.value, processes + 2)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 5 != 6
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
vstinner merged commit 8992704 into python:main Oct 12, 2026
106 of 113 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
vstinner deleted the parse_array branch October 12, 2026 17:56
@bedevere-app bedevere-app Bot removed the awaiting core review label Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner
@erlend-aasland erlend-aasland Awaiting requested review from erlend-aasland erlend-aasland is a code owner
@AA-Turner AA-Turner Awaiting requested review from AA-Turner AA-Turner is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@vstinner
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.