Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a92d5c63
Commit
a92d5c63
authored
Sep 12, 2010
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document changes on mbcs encoding
parent
b730d2d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst
+7
-0
No files found.
Doc/whatsnew/3.2.rst
View file @
a92d5c63
...
...
@@ -544,3 +544,10 @@ require changes to your code:
opaque C pointers in Python objects, the :ctype:`PyCapsule` API should be used
instead; the new type has a well-defined interface for passing typing safety
information and a less complicated signature for calling a destructor.
* mbcs encoding doesn't ignore the error handler argument anymore. By default
(strict mode), it raises an UnicodeDecodeError on undecodable byte sequence
and UnicodeEncodeError on unencodable character. To get the mbcs encoding of
Python 3.1, use ``'ignore'`` error handler to decode and ``'replace'`` error
handler to encode. mbcs now supports ``'strict'`` and ``'ignore'`` error
handlers for decoding, and ``'strict'`` and ``'replace'`` for encoding.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment