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
c97a536d
Commit
c97a536d
authored
Feb 12, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: PyUnicode_FromFormat width/precision, thread cleanup after fork.
parent
1c39fe57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+10
-1
No files found.
Doc/whatsnew/3.4.rst
View file @
c97a536d
...
@@ -1416,6 +1416,10 @@ Other Build and C API Changes
...
@@ -1416,6 +1416,10 @@ Other Build and C API Changes
* New shell version of ``python-config``; can be used even when a python
* New shell version of ``python-config``; can be used even when a python
interpreter is not available (for example, in cross compilation scenarios).
interpreter is not available (for example, in cross compilation scenarios).
* :c:func:`PyUnicode_FromFormat` now supports width and precision
specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``.
(Contributed by Ysj Ray and Victor Stinner in :issue:`7330`.)
Other Improvements
Other Improvements
...
@@ -1671,7 +1675,7 @@ Changes in the Python API
...
@@ -1671,7 +1675,7 @@ Changes in the Python API
* The module type now initializes the :attr:`__package__` and :attr:`__loader__`
* The module type now initializes the :attr:`__package__` and :attr:`__loader__`
attributes to ``None`` by default. To determine if these attributes were set
attributes to ``None`` by default. To determine if these attributes were set
in a backwards-compatible fashion, use e.g.
in a backwards-compatible fashion, use e.g.
``getattr(module, '__loader__', None) is not None``.
``getattr(module, '__loader__', None) is not None``.
(:issue:`17115`.)
* :meth:`importlib.util.module_for_loader` now sets ``__loader__`` and
* :meth:`importlib.util.module_for_loader` now sets ``__loader__`` and
``__package__`` unconditionally to properly support reloading. If this is not
``__package__`` unconditionally to properly support reloading. If this is not
...
@@ -1772,6 +1776,11 @@ Changes in the Python API
...
@@ -1772,6 +1776,11 @@ Changes in the Python API
regular keyword arguments, instead of before. Hopefully no one wrote any
regular keyword arguments, instead of before. Hopefully no one wrote any
code that depends on the previous buggy behavior (:issue:`16967`).
code that depends on the previous buggy behavior (:issue:`16967`).
* Stale thread states are now cleared after :func:`~os.fork`. This may cause
some system resources to be released that previously were incorrectly kept
perpetually alive (for example, database connections kept in thread-local
storage). (:issue:`17094`.)
Changes in the C API
Changes in the C API
--------------------
--------------------
...
...
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