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-107954, PEP 741: Add PyInitConfig C API by vstinner · Pull Request #123502 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented Aug 30, 2024 •
edited by github-actions Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Add Doc/c-api/config.rst documentation.

  • Issue: [C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954

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

Sorry, something went wrong.

Uh oh!

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

All reactions
@bedevere-app bedevere-app Bot mentioned this pull request Aug 30, 2024
[C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954
Closed
@vstinner vstinner mentioned this pull request Aug 30, 2024
[PEP 741] gh-107954: Add PyInitConfig C API #110176
Closed
@vstinner

vstinner commented Aug 30, 2024

Copy link
Copy Markdown
Member Author

(Old version of the PR: #110176.)

All reactions

Sorry, something went wrong.

Uh oh!

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

vstinner added 2 commits August 30, 2024 15:59
@vstinner
pythongh-107954, PEP 741: Add PyInitConfig C API
c745977
Add Doc/c-api/config.rst documentation.
@vstinner
Fix compilation on clang
79741e5
@vstinner
vstinner force-pushed the initconfig branch from b625374 to 79741e5 Compare August 30, 2024 14:00
vstinner added 5 commits August 30, 2024 16:42
@vstinner
Add tests on the Get API
e04d667
@vstinner
Remove preconfiguration; add raw_member
6ca4b41
@vstinner
Merge branch 'main' into initconfig
18e77b7
@vstinner
Rename config_get_spec() to initconfig_get_spec()
693c72b
@vstinner
Add PyInitConfig.preconfig
fcc7d09
@vstinner
vstinner marked this pull request as ready for review September 2, 2024 22:31
@vstinner
vstinner requested a review from ericsnowcurrently as a code owner September 2, 2024 22:31
@bedevere-app bedevere-app Bot added the awaiting core review label Sep 2, 2024
vstinner added 12 commits September 3, 2024 00:33
@vstinner
Cleanup header file
96c4b08
Move also PyInitConfig_GetError() and PyInitConfig_GetExitCode()
implementations.
@vstinner
Move documentation into init_config.rst
de3c5f3
@vstinner
Document Error Handling earlier
27c21b9
@vstinner
revert preconfig.c changes
43d844b
@vstinner
config_spec_get_member() => config_get_spec_member()
5163774
@vstinner
Check preconfig spec in PyInitConfig_HasOption()
2e37ac4
@vstinner
Fix leak in PyInitConfig_GetStrList()
7e3e1aa
+ some extra edits
@vstinner
PyInitConfig_SetInt() uses switch/case
1d27258
@vstinner
Fix comparisons in PyInitConfig_SetInt()
e171ca9
@vstinner
Fix PyInitConfig_GetStr() doc
d2609c2
@vstinner
Reformat header file
7cecfbd
@vstinner
Update doc
5ae1b69
@vstinner
vstinner enabled auto-merge (squash) September 3, 2024 12:11
@vstinner
vstinner merged commit ef9d547 into python:main Sep 3, 2024
@vstinner
vstinner deleted the initconfig branch September 3, 2024 12:33
@bedevere-app bedevere-app Bot removed the awaiting core review label Sep 3, 2024
@NekoAsakura NekoAsakura mentioned this pull request Oct 30, 2026
Null dereferencing of a pointer in initconfig.c #160962
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner

Uh oh!

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

Assignees

No one assigned

Labels

None yet

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.

1 participant

@vstinner
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.