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
ea22685a
Commit
ea22685a
authored
Sep 30, 2012
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notes to whatsnew porting for visible changes in email compatibility mode.
parent
6c57318c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Doc/whatsnew/3.3.rst
Doc/whatsnew/3.3.rst
+16
-0
No files found.
Doc/whatsnew/3.3.rst
View file @
ea22685a
...
...
@@ -2102,6 +2102,22 @@ Porting Python code
special
case
the
standard
import
hooks
so
they
are
still
supported
even
though
they
do
not
provide
the
non
-
standard
``
iter_modules
()``
method
.
*
A
longstanding
RFC
-
compliance
bug
(:
issue
:`
1079
`)
in
the
parsing
done
by
:
func
:`
email
.
header
.
decode_header
`
has
been
fixed
.
Code
that
uses
the
standard
idiom
to
convert
encoded
headers
into
unicode
(``
str
(
make_header
(
decode_header
(
h
))``)
will
see
no
change
,
but
code
that
looks
at
the
individual
tuples
returned
by
decode_header
will
see
that
whitespace
that
precedes
or
follows
``
ASCII
``
sections
is
now
included
in
the
``
ASCII
``
section
.
Code
that
builds
headers
using
``
make_header
``
should
also
continue
to
work
without
change
,
since
``
make_header
``
continues
to
add
whitespace
between
``
ASCII
``
and
non
-``
ASCII
``
sections
if
it
is
not
already
present
in
the
input
strings
.
*
:
func
:`
email
.
utils
.
formataddr
`
now
does
the
correct
content
transfer
encoding
when
passed
non
-``
ASCII
``
display
names
.
Any
code
that
depended
on
the
previous
buggy
behavior
that
preserved
the
non
-``
ASCII
``
unicode
in
the
formatted
output
string
will
need
to
be
changed
.
Porting
C
code
--------------
...
...
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