[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e6578a226d8a8a13d1062d154fad0fef28ee2416 by Irit Katriel in branch 'master': bpo-40662: Fixed ast.get_source_segment for ast nodes that have incomplete location information (GH-20157)

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +3.9regression -patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-17 Thread Shantanu
Shantanu added the comment: The code works on 3.8 for me, but has regressed on 3.9 master. Looks like this is caused by https://bugs.python.org/issue36287 (https://github.com/python/cpython/pull/18843) -- nosy: +hauntsaninja ___ Python tracker

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-17 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +19460 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20157 ___ Python tracker ___

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-17 Thread Irit Katriel
Change by Irit Katriel : -- title: ast.get_source_segment behaviour with missing location info doesn't match doctoring -> ast.get_source_segment behaviour with missing location info doesn't match docstring ___ Python tracker