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

gh-117953: Always Run Extension Init Func in Main Interpreter First#117487

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

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commentedApr 2, 2024
edited by bedevere-appbot
Loading

neonene reacted with thumbs up emoji
@ericsnowcurrentlyericsnowcurrently changed the titleAlways Run Extension Init Func in Main Interpreter Firstgh-117953: Always Run Extension Init Func in Main Interpreter FirstApr 16, 2024
@neonene
Copy link
Contributor

I tried this PR on Windows. The following two results were unexpected to me:

...>>>_xxsubinterpreters.run_string(i,"import _datetime; print(_datetime)")<module'_datetime' (built-in)># legacy module is imported?
...>>>_xxsubinterpreters.run_string(i,"import _testcapi")>>>_xxsubinterpreters.destroy(i)Debugmemoryblockataddressp=0000000002EB8B90:API' '15987178197214944733bytesoriginallyrequestedThe7padbytesatp-7arenotallFORBIDDENBYTE (0xfd):atp-7:0x00***OUCHatp-6:0x00***OUCHatp-5:0x00***OUCH        ...

@ericsnowcurrently
Copy link
MemberAuthor

Thanks for trying it. That info is helpful. FYI, I'm working on extra changes here as the current PR appears to be incomplete.

neonene reacted with thumbs up emoji

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

@kumaraditya303kumaraditya303Awaiting requested review from kumaraditya303kumaraditya303 will be requested when the pull request is marked ready for reviewkumaraditya303 is a code owner

@brettcannonbrettcannonAwaiting requested review from brettcannonbrettcannon will be requested when the pull request is marked ready for reviewbrettcannon is a code owner

@ncoghlanncoghlanAwaiting requested review from ncoghlanncoghlan will be requested when the pull request is marked ready for reviewncoghlan is a code owner

@warsawwarsawAwaiting requested review from warsawwarsaw will be requested when the pull request is marked ready for reviewwarsaw is a code owner

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
@ericsnowcurrently@neonene

[8]ページ先頭

©2009-2025 Movatter.jp