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-91048: Prevent optimizing away the asyncio debug offsets structure on Windows#132963

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
pablogsal merged 3 commits intopython:mainfrompablogsal:gh-91048-win
Apr 25, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
Update Modules/_asynciomodule.c
  • Loading branch information
@pablogsal
pablogsal authoredApr 25, 2025
commitd3272239a53c5de312c17220d9fe000d3353ab0c
2 changes: 1 addition & 1 deletionModules/_asynciomodule.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -186,7 +186,7 @@ typedef struct {
uint64_t task_name_counter;

/* Pointer to the asyncio debug offset to avoid it to be optimized away
by the compilerin Windows (other platforms don't need this)*/
by the compiler */
void *debug_offsets;
Copy link
Member

Choose a reason for hiding this comment

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

Then we'd even do not need the__attribute__((used)) any longer in theGENERATE_DEBUG_SECTION macros.
But it doesn't hurt either - so let's keep it?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yeah I still prefer to keep it

chris-eibl reacted with thumbs up emoji

} asyncio_state;
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp