GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-100086: Add build details to sys.version by vstinner · Pull Request #100087 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented Dec 7, 2022 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Add more build details about how Python was configured in sys.version, like "debug" or "release" build.

Build details and related configure option:

  • "debug": --with-pydebug, "release" otherwise
  • "+assert": --with-assertions
  • "+tracerefs": --with-trace-refs
  • "+pystats": --enable-pystats
  • "asan": --with-address-sanitizer
  • "msan": --with-memory-sanitizer
  • "ubsan": --with-undefined-behavior-sanitizer
  • "lto+pgo": --with-lto --enable-optimizations
  • "framework": --enable-framework
  • "shared": --enable-shared
  • Issue: Add more details about the Python build in sys.version #100086

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-bot bedevere-bot mentioned this pull request Dec 7, 2022
Add more details about the Python build in sys.version #100086
Closed
@bedevere-bot bedevere-bot added the awaiting core review label Dec 7, 2022
@netlify

netlify Bot commented Dec 7, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

✅ Deploy Preview for python-cpython-preview canceled.

Name Link
🔨 Latest commit 5fca7d3
🔍 Latest deploy log https://app.netlify.com/sites/python-cpython-preview/deploys/63911236edff440008be36da
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented Dec 7, 2022

Copy link
Copy Markdown
Member Author

cc @erlend-aasland

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner added 2 commits December 7, 2022 18:40
@vstinner
gh-100086: Add build details to sys.version
f9be944
Add more build details about how Python was configured in
sys.version, like "debug" or "release" build.

Build details and related configure option:

* "debug": --with-pydebug, "release" otherwise
* "+assert": --with-assertions
* "+tracerefs": --with-trace-refs
* "+pystats": --enable-pystats
* "asan": --with-address-sanitizer
* "msan": --with-memory-sanitizer
* "ubsan": --with-undefined-behavior-sanitizer
* "lto+pgo": --with-lto --enable-optimizations
* "framework": --enable-framework
* "shared": --enable-shared
@vstinner
Update platform._sys_version()
94b93ef
@vstinner

vstinner commented Dec 7, 2022

Copy link
Copy Markdown
Member Author

Example of "build details" on CI jobs (test.info details):

  • Address sanitizer: "release asan build" (build.NDEBUG: ignore assertions, build.Py_DEBUG: No, sysconfig[PY_CFLAGS]: -fsanitize=address (...))
  • Ubuntu: "debug build" (build.NDEBUG: build assertions, build.Py_DEBUG: Yes)
  • macOS: "debug build" (build.Py_DEBUG: Yes)
  • Windows x64: "debug build" (build.Py_DEBUG: Yes)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ned-deily

ned-deily commented Dec 7, 2022

Copy link
Copy Markdown
Member

I don't think this change should be made. See my comment on the issue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
Fix buildinfo buffer size
5fca7d3
@vstinner

vstinner commented Dec 7, 2022

Copy link
Copy Markdown
Member Author

I don't think this change should be made. See #100086 (comment).

Ok, I wrote PR #100093 instead.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner vstinner closed this Dec 7, 2022
@vstinner
vstinner deleted the py_build_str branch December 7, 2022 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

awaiting core review

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@vstinner @ned-deily @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.