Visitar URL original
3.6 by Dark417 · Pull Request #354 · python/cpython · GitHub
Skip to content
Closed

3.6 #354

Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c2328ec
[backport to 3.6] Support "bpo-" in Misc/NEWS (#42)
Mariatta Feb 12, 2017
89b1824
bpo-27122: Fix comment to point to correct issue number (#48)
berkerpeksag Feb 12, 2017
308f789
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#22)
Mariatta Feb 12, 2017
f66c81f
[backport to 3.6] bpo-28929: Link the documentation to its source fil…
Mariatta Feb 12, 2017
89ddffb
bpo-29438: fixed use-after-free in key sharing dict (#39)
methane Feb 13, 2017
2d0c228
A few README tweaks (#73) (#79)
Mariatta Feb 13, 2017
0230e64
bpo-28556: Various updates to typing (#28) (#77)
Mariatta Feb 14, 2017
9268855
Fix some sphinx warnings (#9) (#81)
Mariatta Feb 14, 2017
db3deb9
bpo-29521 Fix two minor documentation build warnings (#41) (#83)
Mariatta Feb 14, 2017
7d5587e
Update URL of Mersenne Twister Home Page (#20) (#115)
methane Feb 15, 2017
1e8cc88
Backport master's README.rst to 3.6 (GH-86)
zware Feb 15, 2017
7224a04
bpo-29481: add versionadded 3.6.1 to typing.Deque docs (#108)
Mariatta Feb 15, 2017
02e3357
bpo-29521 update Misc/ACKS (#110)
Mariatta Feb 15, 2017
b300c66
Backport36 doc fixes: PR#68 and PR#124 (#125)
vstinner Feb 15, 2017
d372cda
bpo-29579: Removes readme.txt from the installer. (#161)
zooba Feb 19, 2017
0683d68
[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153)
ncoghlan Feb 19, 2017
3337d33
[backport to 3.6] bpo-29529: Add .travis.yml to 3.6 branch (#25)
methane Feb 19, 2017
b121d73
Tweak PEP 519 documentation in stdlib (#164)
berkerpeksag Feb 19, 2017
7970cd4
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-…
methane Feb 20, 2017
a4afdfc
Change some mercurial/ hg.python.org references. (#8) (#185)
orsenthil Feb 20, 2017
9a4577a
bpo-29347: Fix possibly dereferencing undefined pointers when creatin…
zhangyangyu Feb 20, 2017
ce552e2
bpo-24274: fix erroneous comment in dictobject.c (GH-200)
methane Feb 20, 2017
d9b3cdd
bpo-29602: fix signed zero handling in complex constructor. (#203) (#…
mdickinson Feb 20, 2017
51a477c
doc: fix compile error on "shoddy" example extension (GH-216)
methane Feb 21, 2017
e48fd93
bpo-29532: Altering a kwarg dictionary passed to functools.partial() …
serhiy-storchaka Feb 21, 2017
3ab24bd
bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219)
methane Feb 21, 2017
9b49133
bpo-29453: Remove reference to undefined dictionary ordering in Tutor…
Mariatta Feb 21, 2017
e9c0e55
[3.6] Add .codecov.yml (#210)
berkerpeksag Feb 21, 2017
b067a5e
bpo-29554: Improve docs for pstat module and profile. (#88) (#227)
berkerpeksag Feb 22, 2017
3cc5817
Fixed bpo-29565: Corrected ctypes passing of large structs by value o…
vsajip Feb 22, 2017
55b82e1
bpo-28911: Clarify the behaviour of assert_called_once_with. (#252)
153957 Feb 23, 2017
2197eac
bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#…
berkerpeksag Feb 23, 2017
f2beceb
bpo-29624: Adds purge step and layout test after uploading files. (#2…
zooba Feb 23, 2017
0a1b656
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)
warsaw Feb 24, 2017
f28db60
[3.6] Fix small typos in expressions.rst (GH-276) (GH-281)
Mariatta Feb 25, 2017
bea9d2f
[3.6] bpo-28556: Update to typing: treat subscripted generics as prox…
Mariatta Feb 25, 2017
814213b
[3.6] Backport README.rst changes (GH-294)
Mariatta Feb 25, 2017
1a8dd94
[3.6] bpo-28929: Add to Misc/NEWS (GH-284)
Mariatta Feb 26, 2017
b002328
Fix small typos in introduction and datastructures of tutorial (GH-27…
Mariatta Feb 26, 2017
91c499f
mark various test data binary (#233) (#304)
benjaminp Feb 26, 2017
fae59e1
bpo-28961: Address my comments from earlier code review (#306)
berkerpeksag Feb 26, 2017
5c7b8f4
Backport recent .travis.yml changes (#308)
berkerpeksag Feb 26, 2017
7333d17
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-…
Mariatta Feb 26, 2017
1457984
bpo-22594: Add a link to the regex module in re documentation (GH-241…
Mariatta Feb 26, 2017
893e86e
bpo-29121: Remove outdated documentation about transactions (#313) (#…
berkerpeksag Feb 26, 2017
76995ca
bpo-28518: Start a transaction implicitly before a DML statement (#24…
berkerpeksag Feb 26, 2017
deea29e
bpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)
Mariatta Feb 26, 2017
6b81003
bpo-28624: Add a test that checks that cwd parameter of Popen() accep…
berkerpeksag Feb 26, 2017
c9131b6
[3.6] bpo-29110: Fix file object leak in `aifc.open` (#310)
methane Feb 26, 2017
7e4897a
bpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)
Mariatta Feb 26, 2017
4b6c417
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (…
zhangyangyu Feb 27, 2017
8aa1ad8
bpo-29662: fix wrong indentation in timeit.Timer's doc (GH-333)
zhangyangyu Feb 27, 2017
bc10e6b
Asyncio documentation: remove `self` from method signatures (GH-334) …
Mariatta Feb 27, 2017
046041e
Delete accidentally merged entries from Misc/NEWS (#338)
berkerpeksag Feb 27, 2017
53039ad
bpo-28598: Support __rmod__ for RHS subclasses of str in % string for…
mjpieters Feb 27, 2017
bb59d89
bpo-27788 : synchronise platform.py version number (#246) (#341)
berkerpeksag Feb 27, 2017
7accf20
bpo-29655: Fixed possible reference leaks in `import *`. (#301) (#348)
berkerpeksag Feb 27, 2017
c4a786b
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (G…
zhangyangyu Feb 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpo-29453: Remove reference to undefined dictionary ordering in Tutor…
…ial (GH-140) (#208)

As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.

* Add sentence mentioning guaranteed output order of kwargs

(cherry picked from commit 32e8f9b)
  • Loading branch information
Mariatta authored Feb 21, 2017
commit 9b49133082ec23b67e84d2589e66d7810018e424
11 changes: 5 additions & 6 deletions Doc/tutorial/controlflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,7 @@ function like this::
for arg in arguments:
print(arg)
print("-" * 40)
keys = sorted(keywords.keys())
for kw in keys:
for kw in keywords:
print(kw, ":", keywords[kw])

It could be called like this::
Expand All @@ -513,13 +512,13 @@ and of course it would print:
It's very runny, sir.
It's really very, VERY runny, sir.
----------------------------------------
client : John Cleese
shopkeeper : Michael Palin
client : John Cleese
sketch : Cheese Shop Sketch
Note that the list of keyword argument names is created by sorting the result
of the keywords dictionary's ``keys()`` method before printing its contents;
if this is not done, the order in which the arguments are printed is undefined.
Note that the order in which the keyword arguments are printed is guaranteed
to match the order in which they were provided in the function call.


.. _tut-arbitraryargs:

Expand Down