Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

prepare for pypy3.11 release#123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 3 commits intopython:mainfrommattip:pypy-3.11
Nov 19, 2024
Merged

Conversation

mattip
Copy link
Contributor

We are working on PyPy3.11. It requires some adjustments here:

  • Finally implementedPyThreadState_GetInterpreter andPyGC_Collect.
  • I will argue that the managed dict strategy is an implementation detail. I excluded PyPy3.11 from the test of it, and will make creating a PyTypeObject with that flag enabled an error.
  • Currently_PyObject_GetDictPtr returnsNULL on PyPy. That is probably a bug. In any case, the test should not segfault by dereferencing a NULL pointer so I added a check.

@@ -13,7 +13,6 @@
import argparse
import os.path
import shutil
import subprocess
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

stray import?

@@ -62,7 +62,7 @@ def build_ext():
display_title("Build test extensions")
if os.path.exists("build"):
shutil.rmtree("build")
cmd = [sys.executable, "setup.py", "build"]
cmd = [sys.executable, "setup.py", "build", "--debug"]
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

although runtests.py runs tests in a subprocess, I could debug my segfaults by running

gdb --args pypy3.11 tests/test_pythoncapi_compat.py -v

Using a debug build makes it easier

@mattip
Copy link
ContributorAuthor

Is thewindows 3.6 debug failure on me? I don't think it is related...

LINK : fatal error LNK1104: cannot open file 'python36_d.lib'

@vstinnervstinner merged commit0f1d42a intopython:mainNov 19, 2024
21 checks passed
@vstinner
Copy link
Member

Merged, thanks.


Please create a separated PR to add--debug. I reverted the change since it caused a build failure on Windows.

@mattip
Copy link
ContributorAuthor

Thanks!. I will use--debug locally if needed rather than make a new PR.

vstinner reacted with thumbs up emoji

@vstinner
Copy link
Member

Thanks!. I will use --debug locally if needed rather than make a new PR.

Ok, I'm also fine with that :-)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnervstinner left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mattip@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp