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
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
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
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
Martin Panter
fc29c88b5f
Issue #28987 : Merge doc and comment fixes from 3.6
2016-12-18 05:41:55 +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
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
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
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
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
186b204997
Fix typos in comment and documentation
2016-12-10 05:32:55 +00:00
Steve Dower
3b3a7c01bc
Issue #28896 : Deprecate WindowsRegistryFinder
2016-12-08 09:01:39 -08:00
Steve Dower
20367420c8
Issue #28896 : Deprecate WindowsRegistryFinder
2016-12-07 13:02:27 -08:00
Serhiy Storchaka
ff3dbe9141
Merge documentation for issue #27030 from 3.6.
2016-12-06 19:25:19 +02: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
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
Serhiy Storchaka
a8037db69d
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:22:36 +02:00
Serhiy Storchaka
e418432dfb
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:22:09 +02:00
Serhiy Storchaka
29b0a26822
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:20:55 +02:00
Serhiy Storchaka
853ec5d408
Issue #21818 : Fixed references to classes that have names matching with module
...
names.
2016-12-02 23:15:42 +02:00
Serhiy Storchaka
b6a6b45458
Issue #21818 : Fixed references to classes that have names matching with module
...
names.
2016-12-02 23:15:22 +02:00
Serhiy Storchaka
ee1b01a41b
Issue #21818 : Fixed references to classes that have names matching with module
...
names.
2016-12-02 23:13:53 +02:00
Serhiy Storchaka
4700d86488
Merge from 3.6.
2016-12-02 21:38:46 +02:00
Nick Coghlan
3c35fdb8fb
Issue #27172 : Undeprecate inspect.getfullargspec()
...
This is still useful for single source Python 2/3 code
migrating away from inspect.getargspec(), but that wasn't
clear with the documented deprecation in place.
2016-12-02 20:29:57 +10:00
Victor Stinner
d6958ac6c0
Add sys.getandroidapilevel()
...
Issue #28740 : Add sys.getandroidapilevel(): return the build time
API version of Android as an integer.
Function only available on Android.
2016-12-02 01:13:46 +01:00
Serhiy Storchaka
d80c3fb17b
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:50:21 +02:00
Serhiy Storchaka
0264e46caa
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:49:59 +02:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
Berker Peksag
a1d59af1ef
Merge from 3.6
2016-11-25 20:10:51 +03:00
Berker Peksag
861b685941
Merge from 3.5
2016-11-25 20:10:30 +03:00
Berker Peksag
4931122de8
Add missing square bracket in typing.get_type_hints()
2016-11-25 20:10:07 +03:00
Berker Peksag
a783493743
Issue #28738 : Merge from 3.6
2016-11-25 19:48:05 +03:00
Berker Peksag
d5c6b47851
Issue #28738 : Merge from 3.6
2016-11-25 19:47:43 +03:00
Berker Peksag
219a012156
Issue #28738 : Document SIGBREAK as an acceptable value on Windows
...
Patch by Wojtek Ruszczewski.
2016-11-25 19:46:57 +03:00
Berker Peksag
5d307ef838
Issue #28793 : Merge from 3.6
2016-11-25 17:31:57 +03:00
Berker Peksag
61d9c8639e
Issue #28793 : Fix c/p error in AsyncGenerator documentation
...
Patch by Julien Palard.
2016-11-25 17:31:27 +03:00
Guido van Rossum
596a515074
Issue #28773 : Add typing.FrozenSet docs. (Manuel Krebber) (3.6->3.7)
2016-11-24 11:57:05 -08:00
Guido van Rossum
b3c5dc912d
Issue #28773 : Add typing.FrozenSet docs. (Manuel Krebber) (3.5->3.6)
2016-11-24 11:56:40 -08:00
Guido van Rossum
a860286eab
Issue #28773 : Add typing.FrozenSet docs. (Manuel Krebber)
2016-11-24 11:56:00 -08:00
Raymond Hettinger
1330eaa906
merge
2016-11-21 16:31:32 -08:00
Raymond Hettinger
6da9078195
Issue #27825 : Improve for statistics data arguments. (Contributed by Mariatta Wijaya.)
2016-11-21 16:31:02 -08:00
Raymond Hettinger
1f56e25412
merge
2016-11-21 15:13:38 -08:00
Raymond Hettinger
7f94619555
Fix grammar
2016-11-21 15:13:18 -08:00
Raymond Hettinger
43dfe2b386
merge
2016-11-21 14:13:29 -08:00
Raymond Hettinger
1149d9326e
Add analysis section to motivate the single server queue example
2016-11-21 14:13:07 -08:00
Raymond Hettinger
c34e8604c8
merge
2016-11-21 12:34:12 -08:00
Raymond Hettinger
e1329105b3
Misc readability and organization improvements for the random docs
2016-11-21 12:33:50 -08:00
Raymond Hettinger
46d8e3181e
merge
2016-11-21 10:52:20 -08:00
Raymond Hettinger
0537405ec1
Add a seealso section for further reference and skill building
2016-11-21 10:52:04 -08:00
Raymond Hettinger
442e6b1286
merge
2016-11-21 10:16:25 -08:00
Raymond Hettinger
8ab1258b58
Simplify code in an example
2016-11-21 10:16:01 -08:00
Ethan Furman
6be8b1ea99
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
2016-11-21 09:22:40 -08:00
Ethan Furman
23bb6f48ea
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
2016-11-21 09:22:05 -08:00
Ethan Furman
b779f3171a
update news and re doc
2016-11-21 08:30:55 -08:00
Ethan Furman
c88c80b716
closes issue28082: doc update and NEWS entry
2016-11-21 08:29:31 -08:00
Martin Panter
d16a9d4840
Merge doc fixes from 3.6
2016-11-21 13:41:07 +00:00
Martin Panter
8a6333dabf
Merge doc fixup from 3.5
2016-11-21 13:40:40 +00:00
Martin Panter
6a4d7629da
Fix indentation
2016-11-21 13:36:36 +00:00
Raymond Hettinger
7857ab2740
merge
2016-11-21 02:00:04 -08:00
Raymond Hettinger
6befb64172
Extend and improve the examples for the random module
2016-11-21 01:59:39 -08:00
Martin Panter
1107a3e2ea
Merge doc fixups from 3.6
2016-11-21 04:22:43 +00:00
Martin Panter
99b6f28351
Merge doc fixups from 3.5
2016-11-21 04:22:22 +00:00
Gregory P. Smith
a9ef715b39
issue 20572: remove the deprecation notice for the deleted endtime parameter.
2016-11-20 16:35:30 -08:00
Martin Panter
357ed2e577
Change double hyphens (en dashes) to em (longer) dashes
2016-11-21 00:15:20 +00:00
Martin Panter
439f92ae3d
Merge typo fixes from 3.6
2016-11-20 22:18:08 +00:00
Martin Panter
cf01441315
Fix typos in documentation
2016-11-20 08:37:21 +00:00
Serhiy Storchaka
52d0eb2dc0
Issue #27998 : Documented bytes paths support on Windows.
2016-11-20 08:25:07 +02:00
Serhiy Storchaka
3c38e066b1
Issue #27998 : Documented bytes paths support on Windows.
2016-11-20 08:23:07 +02:00
Raymond Hettinger
f0cb7f4a7e
merge
2016-11-17 01:50:16 -08:00
Raymond Hettinger
a3950e42b0
Small edits to the docs for sample() and shuffle().
2016-11-17 01:49:54 -08:00
Raymond Hettinger
b2d6bd0fbd
merge
2016-11-17 00:45:51 -08:00
Raymond Hettinger
0a1a909fe2
Further refinements to the examples and recipes for the random module
2016-11-17 00:45:35 -08:00
Raymond Hettinger
b7a45d448e
merge
2016-11-16 22:56:37 -08:00
Raymond Hettinger
00305ade58
Add another example to the recipes section of the random docs
2016-11-16 22:56:11 -08:00
Raymond Hettinger
e92245b3df
merge
2016-11-16 21:34:39 -08:00
Raymond Hettinger
2589ee3e2b
Minor touch-ups to the random module examples
2016-11-16 21:34:17 -08:00
Yury Selivanov
6592dbd2a8
Merge 3.6 (issue #28720 )
2016-11-16 18:25:48 -05:00
Yury Selivanov
22214ab0af
Issue #28720 : Add collections.abc.AsyncGenerator.
2016-11-16 18:25:04 -05:00
Martin Panter
bb0f8e6bba
Issue #28678 : Merge parameter name from 3.6
2016-11-13 23:36:30 +00:00
Martin Panter
f8c25e3424
Issue #28678 : Merge parameter name from 3.5 into 3.6
2016-11-13 23:36:07 +00:00
Martin Panter
efbf20f3a3
Issue #28678 : Fix references to numeric_owner parameter
2016-11-13 23:25:06 +00:00
Serhiy Storchaka
a8f2f5ab0d
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:50 +02:00
Serhiy Storchaka
58d3e54556
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:48:33 +02:00
Serhiy Storchaka
022371ff94
Fixed the documentation of parse_constant argument in json.load().
...
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:47:16 +02:00
Guido van Rossum
e42df24d72
Issue 28644: Document recent changes in typing.py (Ivan L) (3.6->3.7)
2016-11-11 15:58:03 -08:00
Guido van Rossum
2d6c17936e
Issue 28644: Document recent changes in typing.py (Ivan L) (3.5->3.6)
2016-11-11 15:57:09 -08:00
Guido van Rossum
ae08687c3b
Issue 28644: Document recent changes in typing.py (Ivan L)
2016-11-11 15:54:04 -08:00
Yury Selivanov
69e0323ff2
Merge 3.6 (issue #28635 )
2016-11-10 13:26:06 -05:00
Yury Selivanov
3479b5f888
Issue #28635 : Fix a couple of missing/incorrect versionchanged tags
...
Patch by Elvis Pranskevichus.
2016-11-10 13:25:26 -05:00
Steve Dower
bb132fc34e
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:31 -08:00
Steve Dower
98eb360531
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:17 -08:00
Andrew Kuchling
211112a670
Merge 3.6
2016-11-08 22:53:59 -05:00
Andrew Kuchling
bafd4f2560
Merge from 3.5
2016-11-08 22:38:54 -05:00
Andrew Kuchling
58c534dd6c
Use http instead of https, due to certificate error
2016-11-08 22:33:31 -05:00
Andrew Kuchling
9a7aff521e
Merge from 3.5
2016-11-08 22:14:39 -05:00
Andrew Kuchling
d58fc8b89e
Update URL for requests documentation after IRC request
2016-11-08 22:07:43 -05:00
Yury Selivanov
abbbb88dc7
Merge 3.6 (issue #27392 )
2016-11-07 15:36:03 -05:00
Berker Peksag
cb0416f2d0
Issue #28088 : Merge from 3.6
2016-11-07 23:37:12 +03:00
Berker Peksag
9c8fb94a8d
Issue #28088 : Merge from 3.5
2016-11-07 23:36:50 +03:00
Berker Peksag
2ebd6feeae
Issue #28088 : Don't include self in method signature
...
Also update versionadded directive to 3.5.3.
2016-11-07 23:36:14 +03:00
Yury Selivanov
91aa5c12ea
Merge 3.5 (issue #27392 )
2016-11-07 15:35:45 -05:00
Yury Selivanov
3b3a141a83
Issue #27392 : Document loop.connect_accepted_socket()
...
Patch by Jim Fulton.
2016-11-07 15:35:25 -05:00
INADA Naoki
4b8eb7b8b4
Issue #28088 : Document Transport.set_protocol and get_protocol.
...
Patch by Mariatta Wijaya.
2016-11-04 16:34:46 +09:00
INADA Naoki
1ea023e523
Issue #28088 : Document Transport.set_protocol and get_protocol
2016-11-04 16:33:47 +09:00
Guido van Rossum
4948a462e8
Issue #26980 : Improve docs for create_unix_connection(). By Mariatta. (3.5->3.6)
2016-11-03 14:18:04 -07:00
Guido van Rossum
9e80eeb22d
Issue #26980 : Improve docs for create_unix_connection(). By Mariatta.
2016-11-03 14:17:25 -07:00
Serhiy Storchaka
dcb9077a7c
Fixed hyperlinks for tarfile CLI options.
2016-11-02 21:05:49 +02:00
Serhiy Storchaka
72b34439bc
Fixed hyperlinks for tarfile CLI options.
2016-11-02 21:04:45 +02:00
Serhiy Storchaka
d8d9da04b7
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:11:32 +02:00
Serhiy Storchaka
92c1a90462
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:06:15 +02:00
Raymond Hettinger
16ef5d4ae1
Add cum_weights example (simulation of a cumulative binomial distribution).
2016-10-31 22:53:52 -07:00
INADA Naoki
f9cb5593e3
Issue #28553 : Fix logic error in example code of int.to_bytes doc.
2016-10-31 17:42:10 +09:00
INADA Naoki
3e3e9f3667
Issue #28553 : Fix logic error in example code of int.to_bytes doc.
2016-10-31 17:41:47 +09:00
Martin Panter
9440787867
Issue #26638 : Merge option warning fixes from 3.5 into 3.6
2016-10-30 04:21:23 +00:00
Martin Panter
b8c5f54248
Issue #26638 : Work around more CLI options that can’t be linked
...
* Cannot seem to link directly to main options from the “unittest” module,
because that module has its own set of options
* Mask out linking for options that no longer exist in Python 3
2016-10-30 04:20:23 +00:00
Martin Panter
5c67933940
Issue #26638 : Mask undefined CLI options to defeat new Sphinx warnings
2016-10-30 04:20:17 +00:00
INADA Naoki
2f6d201ea3
Issue #28088 : Document Transport.set_protocol and get_protocol.
...
Patch by Mariatta Wijaya.
2016-11-04 16:35:31 +09:00
Guido van Rossum
7229f33ef3
Issue #26980 : Improve docs for create_unix_connection(). By Mariatta. (3.6->3.7)
2016-11-03 14:18:32 -07:00
Serhiy Storchaka
339dff39e5
Fixed hyperlinks for tarfile CLI options.
2016-11-02 21:06:13 +02:00
Serhiy Storchaka
5a97bf7dec
Issue #28513 : Documented command-line interface of zipfile.
2016-11-02 12:13:48 +02:00
INADA Naoki
a99cdb21a7
Issue #28553 : Fix logic error in example code of int.to_bytes doc.
2016-10-31 17:42:25 +09:00
Martin Panter
92b6154911
Issue #26638 : Merge option warning fixes from 3.6
2016-10-30 04:30:36 +00:00
Serhiy Storchaka
bc6830c948
Issue #22949 : Documented that fnmatch.translate() is for use with re.match().
2016-10-27 22:50:29 +03:00
Serhiy Storchaka
e45ef4e54c
Issue #22949 : Documented that fnmatch.translate() is for use with re.match().
2016-10-27 22:50:15 +03:00
Serhiy Storchaka
a65a474e19
Issue #22949 : Documented that fnmatch.translate() is for use with re.match().
2016-10-27 22:47:08 +03:00
Serhiy Storchaka
df12b7f1c5
Issue #22493 : Updated an example for fnmatch.translate().
2016-10-27 22:45:03 +03:00
Serhiy Storchaka
e0a220e9e2
Issue #22493 : Updated an example for fnmatch.translate().
2016-10-27 22:44:03 +03:00
Zachary Ware
f97167ceda
Merge from 3.6
2016-10-25 21:36:48 -05:00
Zachary Ware
d9aa4d3308
Merge from 3.5
2016-10-25 21:36:13 -05:00
Zachary Ware
bb444772d9
Fix default role usage
2016-10-25 21:35:22 -05:00
Guido van Rossum
398134d50c
Issue #28107 : Update typing module documentation for NamedTuple (Ivan) (3.6->3.7)
2016-10-25 09:54:11 -07:00
Guido van Rossum
5ec24314cd
Issue #28107 : Update typing module documentation for NamedTuple (Ivan)
2016-10-25 09:53:11 -07:00
Guido van Rossum
ec648f63fc
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta. (3.6->3.7)
2016-10-25 08:49:48 -07:00
Guido van Rossum
16591f440d
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.
2016-10-25 08:49:13 -07:00
Benjamin Peterson
0af16b4a56
merge 3.6 ( #28525 )
2016-10-24 23:00:27 -07:00
Benjamin Peterson
802883a386
merge 3.5 ( #28525 )
2016-10-24 23:00:18 -07:00
Benjamin Peterson
bc51a8af25
fix name of keyword parameter to gc.collect() ( closes #28525 )
...
Patch from vierja.
2016-10-24 23:00:03 -07:00
Serhiy Storchaka
d3ff784f2d
Issue #28469 : timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead
...
of 1, 10, 100,... for autoranging.
2016-10-23 15:17:05 +03:00
Martin Panter
4e946792d7
Issue #23214 : Fix formatting of -1
2016-10-21 23:00:10 +00:00
Yury Selivanov
c69d952109
Merge 3.6 (issue #26796 )
2016-10-21 17:42:00 -04:00
Yury Selivanov
6330f2a5ce
Merge 3.5 (issue #26796 )
2016-10-21 17:41:23 -04:00
Yury Selivanov
e8a6045fea
Issue #26796 : Don't configure the number of workers for default threadpool executor.
...
Initial patch by Hans Lawrenz.
2016-10-21 17:40:42 -04:00
Brett Cannon
1f489a3a33
Merge (issue #25152 )
2016-10-21 12:54:31 -07:00
Brett Cannon
68adfa3b3e
Merge (issue #25152 )
2016-10-21 12:54:02 -07:00
Brett Cannon
f8c1505736
Issue #25152 : Mention the deprecation of pyvenv
2016-10-21 12:53:40 -07:00
INADA Naoki
fdf6418630
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:53:30 +09:00
INADA Naoki
0a421a28f8
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:47:57 +09:00
Martin Panter
ccb2c0e310
Issue #23214 : Implement optional BufferedReader, BytesIO read1() argument
2016-10-20 23:48:14 +00:00
Yury Selivanov
b7c1dfe52a
Merge 3.6 (issue #26010 )
2016-10-20 16:31:15 -04:00
Yury Selivanov
b738a1f8a4
Issue #26010 : fix typos; rewording
2016-10-20 16:30:51 -04:00
Yury Selivanov
5246f6227a
Merge 3.6 (issue #26010 )
2016-10-20 13:11:48 -04:00
Yury Selivanov
e20fed9182
Merge 3.5 + document CO_ASYNC_GENERATOR; issue #26010
2016-10-20 13:11:34 -04:00
Yury Selivanov
ea75a513df
Issue #26010 : Document CO_* constants
2016-10-20 13:06:30 -04:00
Raymond Hettinger
24f33b5bb5
Add cum_weights example (simulation of a cumulative binomial distribution).
2016-10-20 01:36:52 -07:00
Serhiy Storchaka
9f2ac18a27
Issue #19795 : Fixed formatting a table.
2016-10-19 19:38:22 +03:00
Serhiy Storchaka
69d3de644b
Issue #19795 : Fixed formatting a table.
2016-10-19 19:37:44 +03:00
Serhiy Storchaka
807e2f3459
Issue #19795 : Fixed formatting a table.
2016-10-19 19:37:20 +03:00
Serhiy Storchaka
43a259ff18
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:37:07 +03:00
Serhiy Storchaka
7d6dda4b78
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:36:51 +03:00
Serhiy Storchaka
4adf01caae
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:30:05 +03:00
Serhiy Storchaka
7f4e40e1e0
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:45:05 +03:00
Serhiy Storchaka
0bbf8c08ab
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:44:47 +03:00
Serhiy Storchaka
a97cd2eb17
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:43:42 +03:00
Serhiy Storchaka
c2e9983060
Issue #19795 : Mark up None as literal text.
2016-10-19 16:39:36 +03:00
Serhiy Storchaka
989db5c880
Issue #19795 : Mark up None as literal text.
2016-10-19 16:37:13 +03:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Benjamin Peterson
bb7d15c4f3
merge 3.6
2016-10-18 23:14:16 -07:00
Benjamin Peterson
b17ba095f2
bold arguments
2016-10-18 23:14:08 -07:00
Victor Stinner
c3e40f8c5b
timeit: add nsec (nanosecond) unit for format timings
...
Issue #28240 .
2016-10-18 17:42:48 +02:00
Victor Stinner
3d7feb9ac2
timeit: remove --clock and --time options
...
Issue #28240 : timeit: remove -c/--clock and -t/--time command line options
which were deprecated since Python 3.3.
2016-10-18 17:18:21 +02:00
Berker Peksag
4a5d87ab26
Merge from 3.6
2016-10-18 00:35:31 +03:00
Berker Peksag
80b618bffd
Merge from 3.5
2016-10-18 00:35:09 +03:00
Berker Peksag
e5b0bd1ba2
Fix default value of StreamReader.readuntil()
...
Reported by Sam Lunt on docs@p.o.
2016-10-18 00:34:46 +03:00
Berker Peksag
83903bb8cc
Issue #28455 : Merge from 3.6
2016-10-17 06:15:28 +03:00
Berker Peksag
066b1217af
Issue #28455 : Merge from 3.5
2016-10-17 06:14:48 +03:00
Berker Peksag
5493e4723a
Issue #28455 : Clarify example of overriding the convert_arg_line_to_args method
...
Patch by Mariatta Wijaya.
2016-10-17 06:14:17 +03:00
Ned Deily
7d6dd05d85
Remove spurious article.
2016-10-15 15:14:54 -04:00
Ned Deily
bf7dcb9cd0
Remove spurious article.
2016-10-15 15:13:20 -04:00
Ned Deily
11194f7e0f
Remove spurious article.
2016-10-15 15:12:03 -04:00
Martin Panter
20e086efc7
Issue #27800 : Merge RE repetition doc from 3.6
2016-10-15 01:39:21 +00:00
Martin Panter
479eb760f4
Issue #27800 : Merge RE repetition doc from 3.5 into 3.6
2016-10-15 01:39:01 +00:00
Martin Panter
684340ede5
Issue #27800 : Document limitation and workaround for multiple RE repetitions
2016-10-15 01:18:16 +00:00
Martin Panter
8a42581bc2
Issue #23231 : Merge codecs doc from 3.6
2016-10-15 01:04:36 +00:00
Martin Panter
36700e4578
Issue #23231 : Merge codecs doc from 3.5 into 3.6
2016-10-15 01:04:08 +00:00
Martin Panter
c73e9d844f
Issue #23231 : Document codecs.iterencode(), iterdecode() shortcomings
2016-10-15 00:56:47 +00:00
Senthil Kumaran
a1cc98bb8f
[merge from 3.6] Issue28438 - Fix the link for pkgutil.get_data doc.
...
Patch contributed by Xiang Zhang.
2016-10-13 23:00:37 -07:00
Senthil Kumaran
c972d1c76f
[merge from 3.5] Issue28438 - Fix the link for pkgutil.get_data doc.
...
Patch contributed by Xiang Zhang.
2016-10-13 22:59:36 -07:00
Senthil Kumaran
1cea56b597
Issue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang.
2016-10-13 22:58:47 -07:00
Guido van Rossum
174d79a284
Issue #18789 : Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (3.6->3.7)
2016-10-13 14:32:55 -07:00
Guido van Rossum
a0ef768ddf
Issue #18789 : Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (3.5->3.6)
2016-10-13 14:32:33 -07:00
Guido van Rossum
e1478e4ae2
Issue #18789 : Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes.
2016-10-13 14:31:50 -07:00
Guido van Rossum
54aced7175
Issue #26869 : Document unittest.TestCase.longMessage. (Mariatta) (3.6->3.7)
2016-10-13 14:24:47 -07:00
Guido van Rossum
5236ac600e
Issue #26869 : Document unittest.TestCase.longMessage. (Mariatta) (3.5->3.6)
2016-10-13 14:24:23 -07:00
Guido van Rossum
4a4523523e
Issue #26869 : Document unittest.TestCase.longMessage. (Mariatta)
2016-10-13 14:23:01 -07:00
Guido van Rossum
0b2304786b
Issue #21443 : Show how to change log level for asyncio. (Merge 3.6->3.7)
2016-10-13 13:57:39 -07:00
Guido van Rossum
a03b1ea411
Issue #21443 : Show how to change log level for asyncio. (Merge 3.5->3.6)
2016-10-13 13:57:17 -07:00
Guido van Rossum
ba29a4fd82
Issue #21443 : Show how to change log level for asyncio.
2016-10-13 13:56:40 -07:00
Raymond Hettinger
22e25cb1db
merge
2016-10-12 01:42:40 -04:00
Raymond Hettinger
1c3a121bb0
Issue #18844 : Fix-up examples for random.choices(). Remove over-specified test.
2016-10-12 01:42:10 -04:00
Martin Panter
dd21cc3516
Issue #28394 : Merge typo fixes from 3.6
2016-10-10 00:42:50 +00:00
Martin Panter
b1321fba53
Issue #28394 : More typo fixes for 3.6+
2016-10-10 00:38:21 +00:00
Berker Peksag
f3fc3b06c4
Issue #28389 : Merge from 3.6
2016-10-09 18:19:12 +03:00
Berker Peksag
75907bc5b5
Issue #28389 : Merge from 3.5
2016-10-09 18:18:55 +03:00
Berker Peksag
0aa7887f43
Issue #28389 : Fix ProxiedTransport example in xmlrpc.client documentation
2016-10-09 18:18:21 +03:00
Guido van Rossum
7b2aa2e87c
Adjust ClassVar example to use pre-PEP-526 syntax. (Issue #28388 )
2016-10-08 20:12:54 -07:00
Guido van Rossum
a659be046a
Issue #28388 : update typing module documentation. (merge 3.6->3.7)
2016-10-08 20:10:27 -07:00
Guido van Rossum
b258db9840
Issue #28388 : update typing module documentation. (merge 3.5->3.6)
2016-10-08 20:09:56 -07:00
Guido van Rossum
deed0c797c
Issue #28388 : update typing module documentation.
2016-10-08 20:06:56 -07:00
Berker Peksag
ea1f9b934c
Issue #28348 : Merge from 3.6
2016-10-04 20:46:43 +03:00
Berker Peksag
5cb63ae3ca
Issue #28348 : Merge from 3.5
2016-10-04 20:46:22 +03:00
Berker Peksag
002b0a7ecd
Issue #28348 : Fix typo in asyncio.Task() documentation
...
Patch by Mariatta Wijaya.
2016-10-04 20:45:47 +03:00
Berker Peksag
d7f47ed28c
Issue #28229 : Merge from 3.6
2016-10-04 20:41:56 +03:00
Berker Peksag
5f59ddddcd
Issue #28229 : lzma module now supports pathlib
2016-10-04 20:41:20 +03:00
Steven D'Aprano
fae2829c7a
Issue #27181 remove geometric_mean and defer for 3.7.
2016-10-05 03:24:45 +11:00
Steven D'Aprano
fb315dbe82
Issue #27181 remove geometric_mean and defer for 3.7.
2016-10-05 03:24:45 +11:00
Berker Peksag
f63f12b479
Issue #28225 : Merge from 3.6
2016-10-02 20:07:38 +03:00
Berker Peksag
8bdd4480c4
Issue #28225 : bz2 module now supports pathlib
...
Initial patch by Ethan Furman.
2016-10-02 20:07:06 +03:00