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
ba5512f8
Commit
ba5512f8
authored
Jan 18, 2011
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More nits.
parent
c136b048
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
Doc/whatsnew/3.2.rst
Doc/whatsnew/3.2.rst
+12
-11
No files found.
Doc/whatsnew/3.2.rst
View file @
ba5512f8
...
...
@@ -597,7 +597,7 @@ For the first time, there is correct handling of inputs with mixed encodings.
Throughout the standard library, there has been more careful attention to
encodings and text versus bytes issues. In particular, interactions with the
operating system are now better able to pass non-ASCII data using the Windows
M
CB
S encoding, locale-aware encodings, or UTF-8.
M
BC
S encoding, locale-aware encodings, or UTF-8.
Another significant win is the addition of substantially better support for
*SSL* connections and security certificates.
...
...
@@ -1499,7 +1499,7 @@ The INI file structure accepted by config parsers can now be customized. Users
can specify alternative option/value delimiters and comment prefixes, change the
name of the *DEFAULT* section or switch the interpolation syntax.
The is support for pluggable interpolation including an additional interpolation
The
re
is support for pluggable interpolation including an additional interpolation
handler :class:`~configparser.ExtendedInterpolation`::
>>> parser = ConfigParser(interpolation=ExtendedInterpolation())
...
...
@@ -1552,13 +1552,13 @@ Multi-threading
===============
* The mechanism for serializing execution of concurrently running Python threads
(generally known as the
GIL or Global Interpreter Lock) has been rewritten.
Among the objectives were more predictable switching intervals and reduced
overhead due to lock contention and the number of ensuing system calls. The
notion of a "check interval" to allow thread switches has been abandoned an
d
replaced by an absolute duration expressed in seconds. This parameter is
tunable through :func:`sys.setswitchinterval()`. It currently defaults to 5
milliseconds.
(generally known as the
:term:`GIL` or :term:`Global Interpreter Lock`) has
been rewritten. Among the objectives were more predictable switching
intervals and reduced overhead due to lock contention and the number of
ensuing system calls. The notion of a "check interval" to allow threa
d
switches has been abandoned and replaced by an absolute duration expressed in
seconds. This parameter is tunable through :func:`sys.setswitchinterval()`.
It currently defaults to 5
milliseconds.
Additional details about the implementation can be read from a `python-dev
mailing-list message
...
...
@@ -1569,7 +1569,8 @@ Multi-threading
(Contributed by Antoine Pitrou.)
* Regular and recursive locks now accept an optional *timeout* argument to their
:meth:`acquire` method. (Contributed by Antoine Pitrou; :issue:`7316`.)
:meth:`~threading.Lock.acquire` method. (Contributed by Antoine Pitrou;
:issue:`7316`.)
* Similarly, :meth:`threading.Semaphore.acquire` also gained a *timeout*
argument. (Contributed by Torsten Landschoff; :issue:`850728`.)
...
...
@@ -1798,7 +1799,7 @@ Changes to Python's build process and to the C API include:
detection of cases where the conversion won't fit (:issue:`7767`).
* The :c:func:`PyUnicode_CompareWithASCIIString` now returns *not equal*
if the Python string i
n
*NUL* terminated.
if the Python string i
s
*NUL* terminated.
* There is a new function :c:func:`PyErr_NewExceptionWithDoc` that is
like :c:func:`PyErr_NewException` but allows a docstring to be specified.
...
...
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