Repository navigation
partialx single partial, curried, methodize default_from, docstring parser fixes - #117
Merged
Merged
Conversation
- partialx(_rm_partialize=True): the result stays a single functools.partial whose signature makes params after a keyword-bound one keyword-only, so positional bindings are applied once (#113). - curried(func): calls with missing required args return a curried function with those args bound (#111). - methodize/func_to_method_func default_from: params stay in the method signature with their default sourced from an instance attribute (#112). - docstring_to_params: Sphinx ':param type name:' fields and CRLF docstrings; detect_doc_style picks the style whose marker comes first (#116). Closes #111, closes #112, closes #113, closes #116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d not marked async, default_from validation, unit tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 20, 2026
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.
partialx(_rm_partialize=True): onefunctools.partial(no double-applied positional bindings), signature taken from the partial minus keyword-bound params, so params after a keyword binding are keyword-only (aspartialitself requires). Result type and coroutine-ness preserved.curried(func)(exported fromi2): partial calls return a curried function with those args bound; full calls callfunc.methodize(..., default_from=...)/func_to_method_func(..., default_from=...): param stays in the method signature with defaultself.<attr>(anInstanceAttrDefault), filled from the instance when not passed. A param followed by a required positional becomes keyword-only.docstring_to_params: Sphinx typed fields:param int x:, CRLF docstrings;detect_doc_stylepicks the style whose marker comes first.Tests: 856 passed, 2 xfailed. Dependents gate run before merge.
Closes #111, closes #112, closes #113, closes #116
🤖 Generated with Claude Code