[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-04-30 Thread MisterY
New submission from MisterY : When I try to format a code snippet with yapf, there comes a error. It seems lib2to3 can't reconised SLASH. echo "def foo(posonly1, posonly2, /, positional_or_keyword): pass" | yapf Traceback (most recent call last): File "d:\program fil

[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-04-30 Thread MisterY
MisterY added the comment: python 3.8.3 -- ___ Python tracker <https://bugs.python.org/issue43985> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-05-02 Thread MisterY
MisterY added the comment: Thanks, it works well after upgrade to version 3.8.9 -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i