Skip to content

Conversation

verhovsky
Copy link
Contributor

@verhovsky verhovsky commented Dec 2, 2024

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Dec 2, 2024
@picnixz picnixz requested a review from vstinner December 2, 2024 21:26
@picnixz picnixz changed the title Correct function name Correct function name in Doc/extending/embedding.rst Dec 2, 2024
@vstinner vstinner added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Dec 3, 2024
@verhovsky
Copy link
Contributor Author

@vstinner can this be merged?

@vstinner vstinner merged commit e5527f2 into python:main Mar 7, 2025
42 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 7, 2025
@miss-islington-app
Copy link

Thanks @verhovsky for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 7, 2025
(cherry picked from commit e5527f2)

Co-authored-by: Boris Verkhovskiy <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 7, 2025

GH-130945 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 7, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 7, 2025
(cherry picked from commit e5527f2)

Co-authored-by: Boris Verkhovskiy <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 7, 2025

GH-130946 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Mar 7, 2025
vstinner pushed a commit that referenced this pull request Mar 7, 2025
) (#130945)

Correct function name in `Doc/extending/embedding.rst` (GH-127539)
(cherry picked from commit e5527f2)

Co-authored-by: Boris Verkhovskiy <[email protected]>
vstinner pushed a commit that referenced this pull request Mar 7, 2025
) (#130946)

Correct function name in `Doc/extending/embedding.rst` (GH-127539)
(cherry picked from commit e5527f2)

Co-authored-by: Boris Verkhovskiy <[email protected]>
@vstinner
Copy link
Member

vstinner commented Mar 7, 2025

Merged, thank you.

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL9 Refleaks 3.12 (tier-3) has failed when building commit 56fa6f3.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1569/builds/528) and take a look at the build logs.
  4. Check if the failure is related to this commit (56fa6f3) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1569/builds/528

Failed tests:

  • test.test_multiprocessing_spawn.test_manager

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/_test_multiprocessing.py", line 1580, in f
    woken.release()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 1060, in release
    return self._callmethod('release')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 843, in _callmethod
    raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError: 
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 260, in serve_client
    self.id_to_local_proxy_obj[ident]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: '3ff934014b0'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 262, in serve_client
    raise ke
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 256, in serve_client
    obj, exposed, gettypeid = id_to_obj[ident]
                              ~~~~~~~~~^^^^^^^
KeyError: '3ff93400970'
---------------------------------------------------------------------------
k


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 262, in serve_client
    raise ke
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 256, in serve_client
    obj, exposed, gettypeid = id_to_obj[ident]
                              ~~~~~~~~~^^^^^^^
KeyError: '3ff95682680'
---------------------------------------------------------------------------
k


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/_test_multiprocessing.py", line 1580, in f
    woken.release()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 1060, in release
    return self._callmethod('release')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 843, in _callmethod
    raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError: 
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 260, in serve_client
    self.id_to_local_proxy_obj[ident]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: '3ff84b33670'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/_test_multiprocessing.py", line 1580, in f
    woken.release()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 1060, in release
    return self._callmethod('release')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 843, in _callmethod
    raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError: 
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 260, in serve_client
    self.id_to_local_proxy_obj[ident]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: '3ff95682680'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 262, in serve_client
    raise ke
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 256, in serve_client
    obj, exposed, gettypeid = id_to_obj[ident]
                              ~~~~~~~~~^^^^^^^
KeyError: '3ff934014b0'
---------------------------------------------------------------------------
Timeout (0:45:00)!
Thread 0x000003ff7fbf3720 (most recent call first):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/popen_fork.py", line 27 in poll
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/popen_fork.py", line 43 in wait
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 149 in join
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 597 in _callCleanup
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 671 in doCleanups
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 638 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 690 in __call__
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/runner.py", line 240 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 57 in _run_suite
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 37 in run_unittest
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 135 in test_func
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/refleak.py", line 128 in runtest_refleak
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 87 in regrtest_runner
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 138 in _load_run_test
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 181 in _runtest_env_changed_exc
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 281 in _runtest
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 307 in run_single_test
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/worker.py", line 77 in worker_process
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/worker.py", line 100 in main
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/worker.py", line 104 in <module>
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/runpy.py", line 88 in _run_code
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/runpy.py", line 198 in _run_module_as_main


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 262, in serve_client
    raise ke
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 256, in serve_client
    obj, exposed, gettypeid = id_to_obj[ident]
                              ~~~~~~~~~^^^^^^^
KeyError: '3ff7f001fa0'
---------------------------------------------------------------------------
Timeout (0:45:00)!
Thread 0x000003ffbacf3720 (most recent call first):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/popen_fork.py", line 27 in poll
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/popen_fork.py", line 43 in wait
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 149 in join
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 597 in _callCleanup
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 671 in doCleanups
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 638 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/case.py", line 690 in __call__
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/unittest/runner.py", line 240 in run
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 57 in _run_suite
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 37 in run_unittest
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 135 in test_func
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/refleak.py", line 128 in runtest_refleak
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 87 in regrtest_runner
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 138 in _load_run_test
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 181 in _runtest_env_changed_exc
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 281 in _runtest
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/single.py", line 307 in run_single_test
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/worker.py", line 77 in worker_process
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/worker.py", line 100 in main
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/libregrtest/worker.py", line 104 in <module>
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/runpy.py", line 88 in _run_code
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/runpy.py", line 198 in _run_module_as_main


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 262, in serve_client
    raise ke
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 256, in serve_client
    obj, exposed, gettypeid = id_to_obj[ident]
                              ~~~~~~~~~^^^^^^^
KeyError: '3ff84b33670'
---------------------------------------------------------------------------
k


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/_test_multiprocessing.py", line 1581, in f
    cond.release()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 1060, in release
    return self._callmethod('release')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 843, in _callmethod
    raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError: 
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 260, in serve_client
    self.id_to_local_proxy_obj[ident]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: '3ff93400970'


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/_test_multiprocessing.py", line 1581, in f
    cond.release()
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 1060, in release
    return self._callmethod('release')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 843, in _callmethod
    raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError: 
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/multiprocessing/managers.py", line 260, in serve_client
    self.id_to_local_proxy_obj[ident]
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: '3ff7f001fa0'

seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants