Skip to content

Materials for Python 3.15 Preview: Sampling Profiler#792

Draft
bzaczynski wants to merge 9 commits into
masterfrom
python-315-sampling-profiler
Draft

Materials for Python 3.15 Preview: Sampling Profiler#792
bzaczynski wants to merge 9 commits into
masterfrom
python-315-sampling-profiler

Conversation

@bzaczynski

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. 🎉

bzaczynski and others added 9 commits July 7, 2026 16:48
Replace the hand-rolled Mesh class and the SimpleNamespace background
with dataclasses, and introduce PEP 695 type aliases for the geometry
primitives. No behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Annotate all function signatures, mark module-level constants as Final,
and reuse the geometry aliases from pretzel.engine. The make_assets
script gets its own local aliases. No behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Extract parse_args() from main(), unfold the color-cache conditional
into a plain if/else inside the render loop, wire --cache-colors
through the windowed viewer, and order helpers below their callers
in assets.py and make_assets.py. No behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants