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-110014: Include explicitly <unistd.h> header#110155

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 1 commit intopython:mainfromvstinner:unistd3
Sep 30, 2023

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedSep 30, 2023
edited by github-actionsbot
Loading

  • Remove unused <locale.h> include.
  • Remove <fcntl.h> include in traceback.h.
  • Remove redundant include: <assert.h> and <stddef.h> are already included by "Python.h".
  • Remove <object.h> include in faulthandler.c.
  • Add missing <stdbool.h> in pycore_pythread.h if HAVE_PTHREAD_STUBS is defined.
  • Fix also warnings in pthread_stubs.h: don't redefine macros if they are already defined, like the __NEED_pthread_t macro.

📚 Documentation preview 📚:https://cpython-previews--110155.org.readthedocs.build/

* Remove unused <locale.h> include.* Remove <fcntl.h> include in traceback.h.* Remove redundant include: <assert.h> and <stddef.h> are already  included by "Python.h".* Remove <object.h> include in faulthandler.c.* Add missing <stdbool.h> in pycore_pythread.h if HAVE_PTHREAD_STUBS  is defined.* Fix also warnings in pthread_stubs.h: don't redefine macros if they  are already defined, like the __NEED_pthread_t macro.
@vstinner
Copy link
MemberAuthor

Oh. It seems like WASM/WASI builds are badly broken. I'm not sure if it's related to my commit74e425e or not.

@vstinnervstinnerenabled auto-merge (squash)September 30, 2023 19:57
@vstinnervstinner merged commit7513994 intopython:mainSep 30, 2023
@vstinnervstinner deleted the unistd3 branchSeptember 30, 2023 20:06
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
* Remove unused <locale.h> includes.* Remove unused <fcntl.h> include in traceback.h.* Remove redundant <assert.h> and <stddef.h> includes. They  are already  included by "Python.h".* Remove <object.h> include in faulthandler.c. Python.h already includes it.* Add missing <stdbool.h> in pycore_pythread.h if HAVE_PTHREAD_STUBS  is defined.* Fix also warnings in pthread_stubs.h: don't redefine macros if they  are already defined, like the __NEED_pthread_t macro.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@rhettingerrhettingerAwaiting requested review from rhettingerrhettinger is a code owner

@pablogsalpablogsalAwaiting requested review from pablogsalpablogsal is a code owner

@lysnikolaoulysnikolaouAwaiting requested review from lysnikolaoulysnikolaou is a code owner

@iritkatrieliritkatrielAwaiting requested review from iritkatriel

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

Successfully merging this pull request may close these issues.

1 participant
@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp