This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2009年03月06日 23:06 by pitrou, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue5433.patch | pitrou, 2009年03月06日 23:36 | |||
| Messages (3) | |||
|---|---|---|---|
| msg83258 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2009年03月06日 23:06 | |
This is with the io-c code:
>>> dec = io.IncrementalNewlineDecoder(None, translate=False)
>>> dec.newlines
>>> dec.decode("\u0A00")
'\u0a00'
>>> dec.newlines
'\n'
dec.newlines should have remained equal to None. It only affects the
computation of the newlines property and shouldn't produce incorrect
decoding results.
|
|||
| msg83260 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2009年03月06日 23:36 | |
This patch fixes the bug without incurring any significant slowdown. |
|||
| msg83261 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2009年03月06日 23:41 | |
Committed in r70208. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:46 | admin | set | github: 49683 |
| 2009年03月06日 23:41:18 | pitrou | set | status: open -> closed resolution: fixed messages: + msg83261 |
| 2009年03月06日 23:36:35 | pitrou | set | files:
+ issue5433.patch keywords: + patch messages: + msg83260 |
| 2009年03月06日 23:06:41 | pitrou | create | |