[issue40101] lib2to3 fails on default convert functionality

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18578 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19214 ___ Python tracker ___

[issue40101] lib2to3 fails on default convert functionality

2020-03-29 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : When using driver/parser without a custom convert function (like pyconvert.convert), it tries to assign used_names to the root node, which can be anything depending on the given convert function. If none given, it will be a tuple. >>> from lib2to3.pygr