Issue 403002: Fix for #116285: Properly raise UnicodeErrors (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/33630

classification

Title: Fix for #116285: Properly raise UnicodeErrors
Type: Stage:
Components: Library (Lib) Versions:

process

Status: closed Resolution:
Dependencies: Superseder:
Assigned To: lemburg Nosy List: lemburg, loewis
Priority: normal Keywords: patch

Created on 2000-12-22 14:04 by loewis, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
None loewis,2000-12-22 14:04 None
Messages (7)
msg35131 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2000-12-22 14:04
msg35132 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2000-12-22 14:08
This patch corrects the error in PyUnicode_EncodeCharmap which would result in a to-latin1 mapping even if the target character include these characters.
msg35133 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2000-12-28 17:48
This version of the patch only includes the changes to gencodec.py; not the changes to the generated files.
msg35134 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-01-01 22:15
As discussed on the mailing list, I put GvR as the copyright holder of this change.
msg35135 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2000-12-23 11:46
Please upload the patch again in plain text format. The format you used seems to be uuencoded gzipped -- not exactly readable by human ;-) Thanks.
msg35136 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2000-12-28 18:33
The patch looks OK (except for some minor cosmetic changes I would apply). My only problem with it is your copyright notice. AFAIK, patches to the Python core cannot contain copyright notices without proper license information. OTOH, I don't think that these minor changes really warrant adding a complete license paragraph. Wouldn't a line like "Additional changes to support decoding maps by Martin v. Loewis" suffice ? Which changes these are would be immediately clear by looking at the CVS history.
msg35137 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2001-01-03 21:28
Slightly modified patch checked in.
History
Date User Action Args
2022-04-10 16:03:34 admin set github: 33630
2000-12-22 14:04:54 loewis create