Octal byte literals with a decimal value > 255 are silently truncated
Open
Nobody has claimed this yet.
3.7 (EOL)
interpreter-core
OS-windows
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 34620 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @zooba, @mr-nfamous |
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 2018-09-10.11:57:43.411>
labels = ['interpreter-core', 'type-bug', '3.7', 'OS-windows']
title = 'Octal byte literals with a decimal value > 255 are silently truncated'
updated_at = <Date 2018-09-10.11:57:43.411>
user = 'https://github.com/mr-nfamous'
bugs.python.org fields:
activity = <Date 2018-09-10.11:57:43.411>
actor = 'bup'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core', 'Windows']
creation = <Date 2018-09-10.11:57:43.411>
creator = 'bup'
dependencies = []
files = []
hgrepos = []
issue_num = 34620
keywords = []
message_count = 1.0
messages = ['324918']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'bup']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue34620'
versions = ['Python 3.6', 'Python 3.7']
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 provides no source file, test, or entry point to start from, so first locate the interpreter-core handling for octal byte literals and reproduce the Windows behavior described. Done means values greater than 255 are no longer silently truncated, with a regression test covering the corrected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100