Please sign in to comment.
bpo-34854: Fix compiling string annotations containing lambdas. (GH-9645
) * Compiling a string annotation containing a lambda with keyword-only argument without default value caused a crash. * Remove the final "*" (it is incorrect syntax) in the representation of lambda without *args and keyword-only arguments when compile from AST. * Improve the representation of lambda without arguments. (cherry picked from commit 2a2940e) Co-authored-by: Serhiy Storchaka <firstname.lastname@example.org>
- Loading branch information...
Showing with 11 additions and 5 deletions.
|@@ -0,0 +1,2 @@|
|Fixed a crash in compiling string annotations containing a lambda with a|
|keyword-only argument that doesn't have a default value.|