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
c51eaf5c
Commit
c51eaf5c
authored
Mar 10, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: ChainMap.new_child *m* argument.
And NEWS entry.
parent
02e77d17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+9
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/whatsnew/3.4.rst
View file @
c51eaf5c
...
...
@@ -596,6 +596,15 @@ including the Adobe variant. (Contributed by Martin Morrison, the Mercurial
project, Serhiy Storchaka, and Antoine Pitrou in :issue:`17618`.)
collections
-----------
The :meth:`.ChainMap.new_child` method now accepts an *m* argument specifying
the child map to add to the chain. This allows an existing mapping and/or a
custom mapping type to be used for the child. (Contributed by Vinay Sajip in
:issue:`16613`.)
colorsys
--------
...
...
Misc/NEWS
View file @
c51eaf5c
...
...
@@ -2376,6 +2376,9 @@ Core and Builtins
- Issue #14850: Now a charmap decoder treats U+FFFE as "undefined mapping"
in any mapping, not only in a string.
- Issue #16613: Add *m* argument to ``collections.Chainmap.new_child`` to
allow the new child map to be specified explicitly.
- Issue #16730: importlib.machinery.FileFinder now no longers raises an
exception when trying to populate its cache and it finds out the directory is
unreadable or has turned into a file. Reported and diagnosed by
...
...
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