• Serhiy Storchaka's avatar
    bpo-34854: Fix compiling string annotations containing lambdas. (GH-9645) · 2a2940e5
    Serhiy Storchaka yazdı
    * 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.
    2a2940e5
ast_unparse.c 23.7 KB