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
fd740967
Commit
fd740967
authored
Oct 06, 2012
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More whatsnew updates. Also move a C-API NEWS item out of library section.
parent
ca76ea16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
5 deletions
+30
-5
Doc/whatsnew/3.3.rst
Doc/whatsnew/3.3.rst
+26
-1
Misc/NEWS
Misc/NEWS
+4
-4
No files found.
Doc/whatsnew/3.3.rst
View file @
fd740967
...
...
@@ -940,6 +940,14 @@ ASCII-only Unicode strings are now accepted by the decoding functions of the
modern
interface
.
For
example
,
``
base64
.
b64decode
(
'YWJj'
)``
returns
``
b
'abc'
``.
binascii
--------
In
addition
to
the
binary
objects
they
normally
accept
,
the
``
a2b_
``
functions
now
all
also
accept
ASCII
-
only
strings
as
input
.
(
Contributed
by
Antoine
Pitrou
in
:
issue
:`
13637
`.)
bz2
---
...
...
@@ -1403,6 +1411,11 @@ can be used to directly manage when the accumlated headers are sent.
:
class
:`
http
.
server
`
now
produces
valid
``
HTML
4.01
strict
``
output
.
(
Contributed
by
Ezio
Melotti
in
:
issue
:`
13295
`.)
:
class
:`
http
.
client
.
HTTPResponse
`
now
has
a
:
meth
:`~
http
.
client
.
HTTPResponse
.
readinto
`
method
,
which
means
it
can
be
used
as
a
:
class
:`
io
.
RawIOBase
`
class
.
(
Contributed
by
John
Kuhn
in
:
issue
:`
13464
`.)
html
----
...
...
@@ -1912,7 +1925,8 @@ ssl
SCRAM-SHA-1-PLUS. (Contributed by Jacek Konieczny in :issue:`12551`)
* You can query the SSL compression algorithm used by an SSL socket, thanks
to its new :meth:`~ssl.SSLSocket.compression` method.
to its new :meth:`~ssl.SSLSocket.compression` method. The new attribute
:attr:`~ssl.OP_NO_COMPRESSION` can be used to disable compression.
(Contributed by Antoine Pitrou in :issue:`13634`)
* Support has been added for the Next Procotol Negotiation extension using
...
...
@@ -1926,6 +1940,10 @@ ssl
* The :func:`~ssl.get_server_certificate` function now supports IPv6.
(Contributed by Charles-François Natali in :issue:`11811`.)
* New attribute :attr:`~ssl.OP_CIPHER_SERVER_PREFERENCE` allows setting
SSLv3 server sockets to use the server'
s
cipher
ordering
preference
rather
than
the
client
's (:issue:`13635`).
stat
----
...
...
@@ -1964,6 +1982,13 @@ sequence` holding informations about the thread implementation
(:
issue
:`
11223
`).
tarfile
-------
:
mod
:`
tarfile
`
now
supports
``
lzma
``
encoding
via
the
:
mod
:`
lzma
`
module
.
(
Contributed
by
Lars
Gust
ä
bel
in
:
issue
:`
5689
`.)
tempfile
--------
...
...
Misc/NEWS
View file @
fd740967
...
...
@@ -2066,6 +2066,10 @@ Core and Builtins
- PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.
- Issue #13560: Add PyUnicode_DecodeLocale(), PyUnicode_DecodeLocaleAndSize()
and PyUnicode_EncodeLocale() functions to the C API to decode/encode from/to
the current locale encoding.
- Add internal API for static strings (_Py_identifier et al.).
- Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described
...
...
@@ -2639,10 +2643,6 @@ Library
-
Issue
#
13560
:
os
.
strerror
()
now
uses
the
current
locale
encoding
instead
of
UTF
-
8.
-
Issue
#
13560
:
Add
PyUnicode_DecodeLocale
(),
PyUnicode_DecodeLocaleAndSize
()
and
PyUnicode_EncodeLocale
()
functions
to
the
C
API
to
decode
/
encode
from
/
to
the
current
locale
encoding
.
-
Issue
#
8373
:
The
filesystem
path
of
AF_UNIX
sockets
now
uses
the
filesystem
encoding
and
the
surrogateescape
error
handler
,
rather
than
UTF
-
8.
Patch
by
David
Watson
.
...
...
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