Skip to content

Sample code for: Python 3.15 Preview: Sentinel Values - #823

Merged
realpython-bot merged 7 commits into
masterfrom
python315-sentinel-values
Sep 24, 2026
Merged

realpython-bot merged 7 commits into
masterfrom
python315-sentinel-values

Conversation

@lpozo

@lpozo lpozo commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Where to put new files:

  • New files should go into a top-level subfolder, named after the article slug. For example: my-awesome-article

How to merge your changes:

  1. Make sure the CI code style tests all pass (+ run the automatic code formatter if necessary).
  2. Find an RP Team member on Slack and ask them to review & approve your PR.
  3. Once the PR has one positive ("approved") review, GitHub lets you merge the PR.
  4. 🎉

@realpython-bot realpython-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Final QA: all 34 scripts run as expected on Python 3.15.0rc2, and the output matches the tutorial. README title and link match the slug. Fixed example_006.py to print the enum's repr(), as shown in the tutorial. ruff 0.14.1 format and check pass.

@realpython-bot
realpython-bot merged commit b20e04a into master Sep 24, 2026
1 check passed
@realpython-bot
realpython-bot deleted the python315-sentinel-values branch September 24, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants