Materials for Python 3.15 Preview: frozendict - #812
Conversation
The docstring said orders 1002 and 1003 both survive twice because their fetched_at timestamps differ. That only holds for 1002. The 1003 rows also disagree on amount (42.00 vs 99.00), so ignoring fetched_at merges 1002 but leaves 1003 split, which is what the script already prints. The output omitted the amount column, so the field that explains the result was the one field readers couldn't see. Matches the tutorial's output block. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
realpython-bot
left a comment
There was a problem hiding this comment.
Final QA review for the tutorial (post 2291).
Verified against a real Python 3.15.0rc2 build (python-build-standalone 20260901) — CI can't cover this, since it runs 3.14 and this folder is excluded from ruff:
- All 9 scripts execute and their output matches the tutorial's transcripts exactly, including the scaled-planet spacing in
planets.py,CacheInfo(hits=1, misses=1, ...)inmemoize.py/cache.py, and the token-leak demo insafe_defaults.py. exposure.pyexits on an uncaughtTypeErrorby design.README.mdtitle and the https://realpython.com/python315-frozendict/ link are correct.- The
dedupe_csv.pyprint()wrapping here is the form I've now adopted in the article, so the two match.
Non-blocking notes left as a comment. Approving so the opt-in download URL stops 404ing ahead of tomorrow's publication.
|
Non-blocking notes from Final QA — none of these gate the merge, but worth a follow-up:
For the record, the green |
Where to put new files:
my-awesome-articleHow to merge your changes: