Add chapters 36-41: Testing, AST, Memory, C Interop, Imports, Concurrency - #9
Merged
Conversation
…ency - Chapter 36: Advanced Testing (pytest fixtures, parametrize, markers, unittest.mock) - Chapter 37: Abstract Syntax Trees (ast, NodeVisitor, NodeTransformer, compile, eval, exec) - Chapter 38: Memory Management (reference counting, gc, tracemalloc, finalize) - Chapter 39: C Interoperability (ctypes, structures, callbacks, array, memoryview) - Chapter 40: Import System Internals (importlib, import hooks, sys.meta_path, pkgutil) - Chapter 41: Concurrency Patterns (threading sync, concurrent.futures, Queue, producer-consumer) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
leandro-mana
force-pushed
the
feature/chapters-36-41
branch
from
February 20, 2026 19:57
7e4c031 to
a2508c5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
unittest.mock, test patternsastmodule,NodeVisitor,NodeTransformer,compile,eval,execgcmodule,tracemalloc,weakref.finalize, optimizationctypes, structures, callbacks,arraymodule,memoryview, buffer protocolimportlib, import hooks,sys.meta_path,pkgutil,importlib.metadataconcurrent.futures,Queue, producer-consumer18 notebooks (3 per chapter), 6 test files with 100 new tests (467 total), all quality checks passing.
Note: This PR is stacked on
feature/chapters-31-35(PR #8). After PR #8 merges, this branch will be rebased ontomain.Test plan
pytest)ruff check .)ruff format --check .)mypy .)🤖 Generated with Claude Code