Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jun 23, 2012, 4:35 AM

Post #1 of 6 (61 views)
Permalink
[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

Changes by Serhiy Storchaka <storchaka [at] gmail>:


Removed file: http://bugs.python.org/file25720/issue8271-3.3-fast.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue8271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 4:38 AM

Post #2 of 6 (53 views)
Permalink
[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0 [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

Why is this marked "fixed"? Is it fixed or not?

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue8271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 4:42 AM

Post #3 of 6 (54 views)
Permalink
[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0 [In reply to]

Serhiy Storchaka <storchaka [at] gmail> added the comment:

I deleted a fast patch, since it unsafe. Issue14923 should safer compensate a small slowdown.

I think this change is not a bugfix (this is not a bug, the standard allows such behavior), but a new feature, so I doubt the need to fix 2.7 and 3.2. Any chance to commit the patch today and to get this feature in Python 3.3?

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue8271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 4:55 AM

Post #4 of 6 (55 views)
Permalink
[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0 [In reply to]

Serhiy Storchaka <storchaka [at] gmail> added the comment:

No, it is not fully fixed. Only one bug was fixed, but the current
behavior is still not conformed with the Unicode Standard
*recommendations*. Non-conforming with recommendations is not a bug,
conforming is a feature.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue8271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 2:03 PM

Post #5 of 6 (48 views)
Permalink
[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0 [In reply to]

Serhiy Storchaka <storchaka [at] gmail> added the comment:

Here is updated, a little faster, patch. It merged with decode_utf8_range_check.patch from issue14923.

Patch contains non-modified Ezio Melotti's tests which all successfully passed.

----------
Added file: http://bugs.python.org/file26116/issue8271-3.3-fast-2.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue8271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 23, 2012, 2:21 PM

Post #6 of 6 (47 views)
Permalink
[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0 [In reply to]

Serhiy Storchaka <storchaka [at] gmail> added the comment:

Here is updated patch with resolved merge conflict with 3214c9ebcf5e.

----------
Added file: http://bugs.python.org/file26118/issue8271-3.3-fast-3.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue8271>
_______________________________________
Attachments: issue8271-3.3-fast-3.patch (21.2 KB)

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.