Xiang Zhang
dbdfecebd2
Issue #29217 : Merge 3.6.
2017-01-10 11:30:44 +08:00
Xiang Zhang
2427d00298
Issue #29217 : Merge 3.5.
2017-01-10 11:30:02 +08:00
Xiang Zhang
8a17995589
Issue #29217 : Fix the wrong type description of UUID.variant.
2017-01-10 11:29:27 +08:00
Vinay Sajip
b5c557929e
Closes #29133 : merged update from 3.6.
...
Thanks to Evan_ for the report and Marco Buttu for the patch.
2017-01-09 16:48:23 +00:00
Vinay Sajip
aa655b3a8e
Fixes #29133 : clarified shlex documentation.
2017-01-09 16:46:04 +00:00
Raymond Hettinger
1222e05a0d
merge
2017-01-07 22:05:28 -08:00
Raymond Hettinger
d15bb26248
Update OrderedDict docs to reflect acceptance of PEP 468
2017-01-07 22:05:12 -08:00
Berker Peksag
412393d520
Issue #16026 : Merge from 3.6
2017-01-07 09:33:28 +03:00
Berker Peksag
631ada8424
Issue #16026 : Fix parameter names of DictReader and DictWriter
...
CPython and PyPy use f as the name of the first parameter of
DictReader and DictWriter classes.
Patch by James Salt and Greg Bengeult.
2017-01-07 09:32:56 +03:00
Berker Peksag
c9c760d6ec
Issue #29012 : Merge from 3.6
2017-01-03 03:36:15 +03:00
Berker Peksag
406c252970
Issue #29012 : Merge from 3.5
2017-01-03 03:35:49 +03:00
Berker Peksag
7b4e551091
Issue #29012 : Remove another outdated information
...
Patch by Jim Fasarakis-Hilliard.
2017-01-03 03:34:15 +03:00
Benjamin Peterson
6784be1d00
merge 3.6
2017-01-01 22:08:51 -06:00
Benjamin Peterson
5848e72ee1
merge 3.5
2017-01-01 22:08:44 -06:00
Benjamin Peterson
4365833d11
merge 3.4
2017-01-01 22:08:33 -06:00
Benjamin Peterson
b6e2142b0c
merge 3.3
2017-01-01 22:07:37 -06:00
Benjamin Peterson
e527dd34bc
ring in 2017 for Python
2017-01-01 22:04:13 -06:00
Berker Peksag
b6cdc28d34
Issue #29013 : Merge from 3.6
2017-01-02 06:14:39 +03:00
Berker Peksag
5430293fdf
Issue #29013 : Merge from 3.5
2017-01-02 06:14:12 +03:00
Berker Peksag
4950ae1491
Issue #29013 : Fix allowZip64 documentation
...
Zip files can be larger than 4 GiB if allowZip64
is true (default since Python 3.4)
2017-01-02 06:13:42 +03:00
Berker Peksag
4abd417757
Issue #29012 : Merge from 3.6
2017-01-02 06:01:27 +03:00
Berker Peksag
a22457ecaf
Issue #29012 : Merge from 3.5
2017-01-02 06:01:07 +03:00
Berker Peksag
14adafd6ee
Issue #29012 : Remove outdated information about __bases__
...
Patch by Jim Fasarakis-Hilliard.
2017-01-02 06:00:35 +03:00
Berker Peksag
a1e85516f2
Issue #29129 : Merge from 3.6
2017-01-02 05:51:31 +03:00
Berker Peksag
2a267a12ee
Issue #29129 : Fix typo in "Using auto" section
2017-01-02 05:51:04 +03:00
Berker Peksag
a20a5c4482
Issue #29024 : Merge from 3.6
2017-01-02 05:45:37 +03:00
Berker Peksag
37023b64d7
Issue #29024 : Merge from 3.5
2017-01-02 05:45:16 +03:00
Berker Peksag
d2d673fc4c
Issue #29024 : Add Kivy entry to GUI FAQ
...
Patch by inclement.
2017-01-02 05:44:49 +03:00
Berker Peksag
81b64ff01b
Issue #26267 : Merge from 3.6
2016-12-31 20:09:14 +03:00
Berker Peksag
9db22dd968
Issue #26267 : Merge from 3.5
2016-12-31 20:08:53 +03:00
Berker Peksag
6b5e4a86a7
Issue #26267 : Improve uuid.UUID documentation
...
* Document how comparison of UUID objects work
* Document str(uuid) returns the braceless standard form
* Add a test for comparison of a UUID object with a non-UUID object
Patch by Ammar Askar.
2016-12-31 20:08:16 +03:00
Vinay Sajip
d489ac9102
Closes #28524 : added default level for logging.disable().
2016-12-31 11:40:11 +00:00
Vinay Sajip
8e9c42e8e8
Merged documentation update from 3.6.
2016-12-31 11:07:35 +00:00
Vinay Sajip
53a21eb479
Closes #29105 : Updated RotatingFileHandler documentation.
2016-12-31 11:06:57 +00:00
Raymond Hettinger
3d8fcfe0f5
merge
2016-12-29 23:49:41 -07:00
Raymond Hettinger
51447db47c
Clearer compact dict attribution to the original proposal
2016-12-29 23:49:20 -07:00
Xiang Zhang
dfe14c462d
Issue #29112 : Merge 3.6.
2016-12-30 11:58:14 +08:00
Xiang Zhang
9ea82ddad5
Issue #29112 : Merge 3.5.
2016-12-30 11:57:40 +08:00
Xiang Zhang
cea904f286
Issue #29112 : Fix a questionable wording in sequence doc.
2016-12-30 11:57:09 +08:00
Victor Stinner
f9bd0597bd
Merge 3.6
2016-12-30 02:15:37 +01:00
Victor Stinner
771cf898f4
Merge 3.5
2016-12-30 02:15:29 +01:00
Victor Stinner
440d70301b
Issue #29109 : Enhance tracemalloc documentation
...
* Wrong parameter name, 'group_by' instead of 'key_type'
* Don't round up numbers when explaining the examples. If they exactly match
what can be read in the script output, it is to easier to understand
(4.8 MiB vs 4855 KiB)
* Fix incorrect method link that was pointing to another module
Patch written by Loic Pefferkorn.
2016-12-30 02:14:59 +01:00
Serhiy Storchaka
fc600834d8
Issue #29087 : Removed the documentation of non-existing UCS4 support functions.
2016-12-28 09:20:00 +02:00
Serhiy Storchaka
44223e9550
Issue #29087 : Removed the documentation of non-existing UCS4 support functions.
2016-12-28 09:19:45 +02:00
Serhiy Storchaka
af9181a4f2
Issue #29087 : Removed the documentation of non-existing UCS4 support functions.
2016-12-28 09:19:15 +02:00
Berker Peksag
fdb4eafacf
Issue #29069 : Merge from 3.6
2016-12-27 15:17:14 +03:00
Berker Peksag
5d1111e87e
Issue #29069 : Merge from 3.5
2016-12-27 15:16:55 +03:00
Berker Peksag
1fee5151f7
Issue #29069 : Update the default URL of PyPI server
...
Patch by paka.
2016-12-27 15:16:25 +03:00
Berker Peksag
98feb2a4f5
Merge from 3.6
2016-12-27 15:09:55 +03:00
Berker Peksag
fe607beef7
Merge from 3.5
2016-12-27 15:09:35 +03:00
Berker Peksag
8e2bdc8fe8
Move versionadded inside of the get_terminal_size() block
2016-12-27 15:09:11 +03:00
INADA Naoki
426b140fc5
Issue #29062 : doc: Fix heading level of hashlib-blake2
2016-12-27 15:07:18 +09:00
Xiang Zhang
b3b01c3248
Issue #29078 : Merge 3.6.
2016-12-27 12:32:33 +08:00
Xiang Zhang
b8a1aebb3d
Issue #29078 : Merge 3.5.
2016-12-27 12:30:42 +08:00
Xiang Zhang
6721c7c3b2
Issue #29078 : Add the missing import in datetime.time doc example.
...
Patch by Dhushyanth Ramasamy.
2016-12-27 12:23:59 +08:00
INADA Naoki
efda8a4f36
Issue #29062 : doc: Fix hashlib module index conflict
2016-12-27 12:19:51 +09:00
Serhiy Storchaka
fc3723bbf6
Merge from 3.6.
2016-12-25 16:24:15 +02:00
Serhiy Storchaka
a8803d21e7
Merge from 3.5.
2016-12-25 16:23:42 +02:00
Serhiy Storchaka
4398c12b47
Issue #29068 : Fixed a typo in PyErr_Fetch example.
...
Patch by Chi Hsuan Yen.
2016-12-25 16:22:23 +02:00
Martin Panter
2585443b6f
Issue #28954 : Merge keyword argument syntax from 3.6
2016-12-24 10:21:48 +00:00
Martin Panter
7e930d7677
Issue #28954 : Merge keyword argument syntax from 3.5
2016-12-24 10:21:30 +00:00
Martin Panter
7106a51c71
Issue #28954 : Add missing comma to keyword argument syntax
2016-12-24 10:20:38 +00:00
Martin Panter
9fa6374925
Issue #1446619 : Merge slicing description from 3.6
2016-12-24 08:31:37 +00:00
Martin Panter
0efb5b3538
Issue #1446619 : Merge slicing description from 3.5
2016-12-24 08:31:11 +00:00
Martin Panter
3dbd87f2b9
Issue #1446619 : Account for negative slice direction in description
...
Based on suggestion from Fumihiro Bessho.
2016-12-24 08:25:15 +00:00
Martin Panter
9e40afe20a
Issue #29004 : Merge crc_hqx() doc from 3.6
2016-12-24 07:45:56 +00:00
Martin Panter
2d88b3b20b
Issue #28960 : Merge Thread.join() doc from 3.6
2016-12-24 07:45:17 +00:00
Martin Panter
520569e9bd
Issue #29004 : Merge crc_hqx() doc from 3.5
2016-12-24 07:44:03 +00:00
Martin Panter
3a72ee5b5a
Issue #28960 : Merge Thread.join() doc from 3.5
2016-12-24 07:40:09 +00:00
Martin Panter
3310e146cc
Issue #29004 : Document binascii.crc_hqx() implements CRC-CCITT
2016-12-24 07:36:44 +00:00
Martin Panter
972e04ec46
Issue #28960 : Drop comma attached to dash in Thread.join() description
2016-12-24 07:28:26 +00:00
Ned Deily
9800686714
Update documentation index sidebar for 3.6.0 release.
2016-12-23 04:17:38 -05:00
Ned Deily
e31b15c4ce
Update documentation index sidebar for 3.6.0 release.
2016-12-23 04:13:31 -05:00
Ned Deily
190042a48f
Merge 3.6.0 release into default
2016-12-23 04:10:46 -05:00
Ned Deily
93357d8d43
Merge 3.6.0 release engineering head
2016-12-22 19:50:19 -05:00
Ned Deily
5c4568a05a
Update docs and patchlevel for 3.6.0 final.
2016-12-22 18:38:47 -05:00
Brett Cannon
eb8ebaaaf0
Merge
2016-12-22 10:02:28 -08:00
Brett Cannon
73224c4248
Merge
2016-12-22 10:02:16 -08:00
Brett Cannon
7e93c84438
Grammatical fixes following #d95f19892fd0
2016-12-22 10:02:01 -08:00
Xiang Zhang
b211068f5c
Issue #28822 : Adjust indices handling of PyUnicode_FindChar().
2016-12-20 22:52:33 +08:00
Serhiy Storchaka
dd1da7f74a
Issue #28927 : bytes.fromhex() and bytearray.fromhex() now ignore all ASCII
...
whitespace, not only spaces. Patch by Robert Xiao.
2016-12-19 18:51:37 +02:00
Victor Stinner
af324157c6
Merge 3.6
2016-12-19 13:10:11 +01:00
Victor Stinner
01e4c1175f
Merge 3.5
2016-12-19 13:09:55 +01:00
Victor Stinner
509476b370
doc: Suggest to hash(tuple of attr) rather than XOR
...
Issue #28383 : __hash__ documentation recommends naive XOR to combine but this
is suboptimal. Update the doc to suggest to reuse the hash() method using a
tuple, with an example.
2016-12-19 13:09:28 +01:00
Xiang Zhang
bd0ff946bc
Issue #29009 : Merge 3.6.
2016-12-19 18:39:28 +08:00
Xiang Zhang
47888da90b
Issue #29009 : Merge 3.5.
2016-12-19 18:39:02 +08:00
Xiang Zhang
bfbc29cb8f
Issue #29009 : Remove outdated doc of PyUnicode_RichCompare.
2016-12-19 18:35:14 +08:00
R David Murray
39d60fa926
Merge: #29005 : clarify terminology in tutorial 'method' discussion.
2016-12-18 15:01:38 -05:00
R David Murray
cd259bfd5a
Merge: #29005 : clarify terminology in tutorial 'method' discussion.
2016-12-18 15:00:23 -05:00
R David Murray
4ec1590fbf
#29005 : clarify terminology in tutorial 'method' discussion.
...
Patch by Jim Fasarakis-Hilliard.
2016-12-18 14:59:58 -05:00
Martin Panter
fc29c88b5f
Issue #28987 : Merge doc and comment fixes from 3.6
2016-12-18 05:41:55 +00:00
Martin Panter
59b0eb524f
Issue #28987 : Typos, grammar, spelling in documentation
2016-12-18 01:26:53 +00:00
Martin Panter
fff07e34fa
Merge spelling and grammar from 3.5
2016-12-18 05:37:21 +00:00
Martin Panter
2f9171d900
Fix spelling and grammar in code comments and documentation
2016-12-18 01:23:09 +00:00
Brett Cannon
ec38bcb66e
Merge for the porting HOWTO update
2016-12-17 12:38:00 -08:00
Brett Cannon
ce042af3fe
Merge for porting HOWTO update
2016-12-17 12:37:41 -08:00
Brett Cannon
5866719510
Update porting HOWTO to drop unicode_literals and mention static type checking
2016-12-17 12:37:20 -08:00
Serhiy Storchaka
5bb8b9134b
Issue #18896 : Python function can now have more than 255 parameters.
...
collections.namedtuple() now supports tuples with more than 255 elements.
2016-12-16 19:19:02 +02:00
Serhiy Storchaka
5160caba46
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 19:01:34 +02:00
Serhiy Storchaka
9bb6fe5274
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 19:00:55 +02:00
Serhiy Storchaka
20cdffd830
Issue #14061 : Misc fixes and cleanups in archiving code in shutil.
...
Imporoved the documentation and tests for make_archive() and unpack_archive().
Improved error handling when corresponding compress module is not available.
Brake circular dependency between shutil and tarfile modules.
2016-12-16 18:58:33 +02:00
Yury Selivanov
65f86a4b9e
Merge 3.6
2016-12-15 18:58:35 -05:00
Yury Selivanov
6db7a4b81a
docs: asyncio is no longer provisional
2016-12-15 18:58:19 -05:00
Yury Selivanov
583644b742
Merge 3.6 (issue #28635 )
2016-12-15 17:57:55 -05:00
Yury Selivanov
1217470984
Issue #28635 : asyncio-related fixes and additions.
2016-12-15 17:56:43 -05:00
Yury Selivanov
71630bab6a
Merge 3.6 (issue #28091 )
2016-12-15 17:36:37 -05:00
Yury Selivanov
03660041d2
Issue #28091 : Document PEP 525 & PEP 530.
...
Patch by Eric Appelt.
2016-12-15 17:36:05 -05:00
Victor Stinner
41afe9dd85
Merge 3.6
2016-12-15 16:22:19 +01:00
Victor Stinner
8320193d10
Issue #28979 : Fix What's New in Python 3.6, dict
...
The new dict implementation is not faster, but more compact.
Patch written by Brendan Donegan.
2016-12-15 16:20:53 +01:00
Berker Peksag
5234d54c66
Issue #28944 : Merge from 3.6
2016-12-15 05:38:46 +03:00
Berker Peksag
0bf590627b
Issue #28944 : Merge from 3.5
2016-12-15 05:38:25 +03:00
Berker Peksag
7b440dfec4
Issue #28944 : Fix footnote numbering
2016-12-15 05:37:56 +03:00
Yury Selivanov
f2392133eb
Issue #26110 : Add LOAD_METHOD/CALL_METHOD opcodes.
...
Special thanks to INADA Naoki for pushing the patch through
the last mile, Serhiy Storchaka for reviewing the code, and to
Victor Stinner for suggesting the idea (originally implemented
in the PyPy project).
2016-12-13 19:03:51 -05:00
Yury Selivanov
8bf85b692b
Merge 3.6 (issue #28089 )
2016-12-12 16:45:21 -05:00
Yury Selivanov
3432f2f47c
Issue #28089 : Document TCP_NODELAY in asyncio
...
Initial patch by Mariatta Wijaya.
2016-12-12 16:44:58 -05:00
Martin Panter
2b27c2ddba
Issues #28916 , #26483 : Merge stdtypes.rst from 3.6
2016-12-11 03:17:06 +00:00
Martin Panter
0a7b8596c0
Issues #28916 , #26483 : Merge stdtypes.rst from 3.5
2016-12-11 02:31:32 +00:00
Martin Panter
49c14d8e8f
Issue #26483 : Clarify str.isdecimal() and isdigit()
...
Patch by Julien Palard.
2016-12-11 01:08:25 +00:00
Martin Panter
41176ae1d2
Issue #28916 : Correct description of %o and %x alternative forms
...
* In Python 3, the specifier is 0o
* There is no special case for leading zeros
* Remove duplicate tests
* Clarify other existing tests and comments
2016-12-11 01:07:29 +00:00
Brett Cannon
274c01f0c9
Merge for issue #28424
2016-12-10 14:15:22 -08:00
Brett Cannon
071fbcb63b
Merge for issue #28424
2016-12-10 14:14:47 -08:00
Brett Cannon
bc538e3852
Issue #28424 : Document pkgutil.get_data() doesn't work with namespace packages.
...
Thanks to Douglas Greiman for the patch.
2016-12-10 14:13:38 -08:00
Martin Panter
b5e3959e5f
Issue #28771 : Merge C API doc fix from 3.6
2016-12-10 05:57:49 +00:00
Martin Panter
21799618ec
Issue #28771 : Merge C API doc fix from 3.5
2016-12-10 05:57:38 +00:00
Martin Panter
7a44783b42
Issue #28771 : Update tp_get/setattr signature documentation
2016-12-10 05:56:13 +00:00
Martin Panter
9bcaa37e1c
Issue #28820 : Merge typo fixes from 3.6
2016-12-10 05:39:12 +00:00
Martin Panter
186b204997
Fix typos in comment and documentation
2016-12-10 05:32:55 +00:00
Martin Panter
b7880b067b
Issue #28820 : Merge spelling fixes from 3.5
2016-12-10 05:38:25 +00:00
Martin Panter
898573a734
Issue #28820 : Fix spelling of “practice” as a noun
2016-12-10 05:12:56 +00:00
Martin Panter
e5a0946aa5
Issue #28755 : Merge Arg Clinic howto from 3.6
2016-12-10 04:22:27 +00:00
Martin Panter
2fed8cd6f0
Issues #28755 , #28753 : Merge Arg Clinic howto from 3.5
2016-12-10 04:14:02 +00:00
Martin Panter
cfa9bad4b2
Issue #28755 : Improve syntax highlighting in Arg Clinic howto
2016-12-10 04:10:45 +00:00
Martin Panter
a277c130f7
Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.
2016-12-10 03:49:12 +00:00
Steve Dower
3b3a7c01bc
Issue #28896 : Deprecate WindowsRegistryFinder
2016-12-08 09:01:39 -08:00
Ned Deily
864a78ed72
Issue #28900 : Update documentation sidebar for 3.6.0rc.
2016-12-07 23:38:30 -05:00
Ned Deily
098f85bb7d
Issue #28900 : Update documentation sidebar for 3.6.0rc.
2016-12-07 23:37:12 -05:00
Ned Deily
932d40abf7
Issue #28900 : Update documentation sidebar for 3.6.0rc.
2016-12-07 23:34:49 -05:00
Yury Selivanov
ee19ab5962
Merge 3.6 (issue #28635 )
2016-12-07 16:20:10 -08:00
Yury Selivanov
eb58936b64
Issue #28635 : Drop the note that whatsnew is incomplete
2016-12-07 16:19:56 -08:00
Steve Dower
20367420c8
Issue #28896 : Deprecate WindowsRegistryFinder
2016-12-07 13:02:27 -08:00
Serhiy Storchaka
53c53ea4c5
Issue #27030 : Unknown escapes in re.sub() replacement template are allowed
...
again. But they still are deprecated and will be disabled in 3.7.
2016-12-06 19:15:29 +02:00
Serhiy Storchaka
ff3dbe9141
Merge documentation for issue #27030 from 3.6.
2016-12-06 19:25:19 +02:00
Victor Stinner
2d0eb65f45
Uniformize argument names of "call" functions
...
Issue #28838 : Rename parameters of the "calls" functions of the Python C API.
* Rename 'callable_object' and 'func' to 'callable': any Python callable object
is accepted, not only Python functions
* Rename 'method' and 'nameid' to 'name' (method name)
* Rename 'o' to 'obj'
* Move, fix and update documentation of PyObject_CallXXX() functions
in abstract.h
* Update also the documentaton of the C API (update parameter names)
2016-12-06 16:27:24 +01:00
Serhiy Storchaka
fb3134f4d4
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:20:26 +02:00
Serhiy Storchaka
9a953dbb34
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:17:45 +02:00
Serhiy Storchaka
419967b832
Issue #28808 : PyUnicode_CompareWithASCIIString() now never raises exceptions.
2016-12-06 00:13:34 +02:00
Nick Coghlan
d77e5b7211
Merge #23722 from 3.6
2016-12-05 16:59:22 +10:00
Nick Coghlan
19d246745d
Issue #23722 : improve __classcell__ compatibility
...
Handling zero-argument super() in __init_subclass__ and
__set_name__ involved moving __class__ initialisation to
type.__new__. This requires cooperation from custom
metaclasses to ensure that the new __classcell__ entry
is passed along appropriately.
The initial implementation of that change resulted in abruptly
broken zero-argument super() support in metaclasses that didn't
adhere to the new requirements (such as Django's metaclass for
Model definitions).
The updated approach adopted here instead emits a deprecation
warning for those cases, and makes them work the same way they
did in Python 3.5.
This patch also improves the related class machinery documentation
to cover these details and to include more reader-friendly
cross-references and index entries.
2016-12-05 16:47:55 +10:00
Raymond Hettinger
c8d03187ff
merge
2016-12-04 11:00:57 -08:00
Raymond Hettinger
71c62e14aa
Neaten-up and extend the examples in the random module docs.
2016-12-04 11:00:34 -08:00