feat: add Python stdlib bindings for logging, random, and expand string module#166
Merged
feat: add Python stdlib bindings for logging, random, and expand string module#166
Conversation
…ng module - Add logging module with Logger, Handler, Formatter classes and Level constants - Add random module with seed, random, uniform, choice, sample, shuffle, and distribution functions - Expand string module with Template class, constants (ascii_letters, digits, etc.), and capwords - Add builtins.bytes function for F# byte array to Python bytes conversion - Fix sys module to use ResizeArray for argv/path and add int conversion for exit - Add comprehensive tests for all new modules 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This was referenced Dec 16, 2025
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
Logger,Handler,Formatterclasses andLevelconstants (DEBUG, INFO, WARNING, ERROR, CRITICAL)seed,random,uniform,choice,sample,shuffle, and distribution functions (gauss, normalvariate, etc.)Templateclass, constants (ascii_letters,digits,hexdigits,punctuation, etc.), andcapwordsfunctionbuiltins.bytesfunction for converting F# byte arrays to Python bytesResizeArrayforargv/pathand addint()conversion forexitTest plan
just test-pythonint()conversion🤖 Generated with Claude Code