Skip to content

Exit/enter validation: positional parameters only; builtins pass (#39) - #40

Merged
thorwhalen merged 1 commit into
masterfrom
fix-positional-arg-count
Nov 23, 2026
Merged

thorwhalen merged 1 commit into
masterfrom
fix-positional-arg-count

Conversation

@thorwhalen

Copy link
Copy Markdown
Member

Found in a post-merge review of #36: now that ExitFunctionValidation runs, _has_min_num_of_arguments counted keyword-only and **kwargs parameters, so lambda a, *, b, c, d: ... passed and crashed at exit; and a builtin without a signature (max) raised a raw ValueError.

Tests for both; full suite: 77 passed, 1 skipped.

Closes #39

@thorwhalen
thorwhalen merged commit a63e8d7 into master Nov 23, 2026
28 checks passed
@thorwhalen
thorwhalen deleted the fix-positional-arg-count branch November 23, 2026 15:57
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.

ExitFunctionValidation: counts keyword-only and **kwargs parameters; raw ValueError for builtins

1 participant