commit | 2a2940e5c3e6d92f4fac5e9d361a1e224bb2f12e | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Sep 30 21:07:05 2018 +0300 |
committer | GitHub <noreply@github.com> | Sun Sep 30 21:07:05 2018 +0300 |
tree | f703ecf4a37603fcc39e4d30bbec30c0f262e3f0 | |
parent | d5bd036138881bb90a803397d992870a46fbdc2d [diff] |
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.