[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-03 Thread mpheath
Change by mpheath : -- pull_requests: +17714 pull_request: https://github.com/python/cpython/pull/18342 ___ Python tracker <https://bugs.python.org/issue39

[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-03 Thread mpheath
mpheath added the comment: I have submitted 2 Pull Requests. One for 3.9 and the other for 3.8. Only way I knew was to create 2 separate branches to checkout, linked to version tags to get the correct patches for ast.py. Hope is OK. -- ___ Python

[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-03 Thread mpheath
Change by mpheath : -- pull_requests: +17713 pull_request: https://github.com/python/cpython/pull/18341 ___ Python tracker <https://bugs.python.org/issue39

[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-03 Thread mpheath
Change by mpheath : -- keywords: +patch pull_requests: +17712 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18340 ___ Python tracker <https://bugs.python.org/issu

[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-01 Thread mpheath
mpheath added the comment: Correction: Python 3.8.0 and 3.8.1 with 3.8/Lib/ast.py:277 Line 227 is invalid and 277 is correct and forgot to add 3.8 prefix. Sorry. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-01 Thread mpheath
mpheath added the comment: Correction: Python 3.8.0 and 3.8.1 with Lib/ast.py:277 Line 227 is invalid and 277 is correct. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39524] Escape sequences in doc string of ast._pad_whitespace

2020-02-01 Thread mpheath
New submission from mpheath : In the ast module, a function named _pad_whitespace has a doc string with escape sequences of \f and \t. The current doc string from Lib/ast.py:305 is: """Replace all chars except '\f\t' in a line with spaces."""