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
54bf73a5
Commit
54bf73a5
authored
Feb 23, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: threading.main_thread, os.urandom persistent handle, sunau.open with.
parent
0b32adf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+17
-1
No files found.
Doc/whatsnew/3.4.rst
View file @
54bf73a5
...
...
@@ -1208,7 +1208,10 @@ sunau
The :meth:`~sunau.getparams` method now returns a namedtuple rather than a
plain tuple. (Contributed by Claudiu Popa in :issue:`18901`.)
:meth:`sunau.open` now supports the context manager protocol (:issue:`18878`).
:meth:`sunau.open` now supports the context manager protocol: when used in a
:keyword:`with` block, the ``close`` method of the returned object will be
called automatically at the end of the block. (Contributed by Serhiy Storchaka
in :issue:`18878`.)
sys
...
...
@@ -1236,6 +1239,15 @@ specified placeholder is added (by default, ``[...]``, stored in the new
:issue:`18585`.)
threading
---------
The :class:`~threading.Thread` object representing the main thread can be
obtained from the new :func:`~threading.main_thread` function. In normal
conditions this will be the thread from which the Python interpreter was
started. (Contributed by Andrew Svetlov in :issue:`18882`.)
traceback
---------
...
...
@@ -1569,6 +1581,10 @@ Significant Optimizations
``malloc`` in ``obmalloc``. Artificial benchmarks show about a 3% memory
savings.
* :func:`os.urandom` now uses a lazily-opened persistent file descriptor
so as to avoid using many file descriptors when run in parallel from
multiple threads. (Contributed by Antoine Pitrou in :issue:`18756`.)
Deprecated
==========
...
...
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