Untokenize does not round-trip ws before bs-nl
Open
Nobody has claimed this yet.
3.9 (EOL)
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 38663 |
|---|---|
| Nosy | @terryjreedy, @edreamleo |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2019-11-01.17:31:35.908>
labels = ['type-bug', '3.9']
title = 'Untokenize does not round-trip ws before bs-nl'
updated_at = <Date 2019-11-03.22:08:12.646>
user = 'https://github.com/edreamleo'
bugs.python.org fields:
activity = <Date 2019-11-03.22:08:12.646>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2019-11-01.17:31:35.908>
creator = 'edreamleo'
dependencies = []
files = []
hgrepos = []
issue_num = 38663
keywords = []
message_count = 5.0
messages = ['355827', '355898', '355899', '355900', '355910']
nosy_count = 2.0
nosy_names = ['terry.reedy', 'edreamleo']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38663'
versions = ['Python 3.9']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies a round-trip failure in untokenize for whitespace before a backslash-newline, but names no file or test. Locate the tokenizer/untokenize entry point and relevant round-trip tests; done means the reported input round-trips correctly without regression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100