Commit Graph

8486 Commits

Author SHA1 Message Date
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
Berker Peksag c8ce8434e0 Issue #28227: Merge from 3.6 2016-10-02 13:49:05 +03:00
Berker Peksag 03020cfa97 Issue #28227: gzip now supports pathlib
Patch by Ethan Furman.
2016-10-02 13:47:58 +03:00
Serhiy Storchaka 6a7d3480fc Issue #28332: Deprecated silent truncations in socket.htons and socket.ntohs.
Original patch by Oren Milman.
2016-10-02 12:34:40 +03:00
Berker Peksag ef223a19f7 Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
Berker Peksag 41937bcea5 Issue #28319: Merge from 3.5 2016-10-01 01:19:35 +03:00
Berker Peksag b334ee0063 Issue #28319: Fix typo in lzma.rst
Reported by Vladimir Rutsky.
2016-10-01 01:19:04 +03:00
Berker Peksag 009bc05fdc Merge from 3.5 2016-10-01 01:07:17 +03:00
Berker Peksag 5e3677d7af Fix markup in pathlib.rst 2016-10-01 01:06:52 +03:00
Berker Peksag 50bb940ab8 Merge from 3.5 2016-10-01 01:03:01 +03:00
Berker Peksag 06a8ac0f26 Fix Path.glob() link, reported by SilentGhost 2016-10-01 01:02:39 +03:00
Berker Peksag 812a2b65af Issue #28226: compileall now supports pathlib 2016-10-01 00:54:18 +03:00
Berker Peksag fa4a305883 Issue #21903: Merge from 3.5 2016-09-28 17:07:40 +03:00
Berker Peksag de55c612fb Issue #21903: Update ctypes example to use MessageBoxW 2016-09-28 17:07:01 +03:00
Martin Panter 19f2327e7e Issue #26439: Merge ctypes doc from 3.5 into 3.6 2016-09-27 05:26:12 +00:00
Martin Panter f18a5daadd Issue #26439: Document that RTLD_NOW is always added 2016-09-27 05:10:40 +00:00
Raymond Hettinger 9016f2864a Issue #18844: Make the number of selections a keyword-only argument for random.choices(). 2016-09-26 21:45:57 -07:00
Berker Peksag de10dbec77 Issue #10673: Merge from 3.5 2016-09-26 23:22:44 +03:00
Berker Peksag a24d2d8274 Issue #10673: Document that Process.exitcode can be used to determine timeout
Patch by Tom Clark.
2016-09-26 23:22:22 +03:00
Berker Peksag 8d08265f5e Merge from 3.5 2016-09-26 22:50:32 +03:00
Berker Peksag 6129e14b21 Document that os.mknod() is not available on Windows
Reported by Regina Ochotzki on docs@p.o.
2016-09-26 22:50:11 +03:00
Berker Peksag 20d458fad6 Merge from 3.5 2016-09-26 22:44:32 +03:00
Berker Peksag 996e5f94d2 os.genenvb() is not availabnle under Windows 2016-09-26 22:44:07 +03:00
Jesus Cea 1daf6da2c8 MERGE: Docs: Correctly link to the methods 2016-09-20 00:02:44 +02:00
Jesus Cea 647680ec2c Docs: Correctly link to the methods 2016-09-20 00:01:53 +02:00
Ethan Furman 3515dcce80 issue23591: fix flag decomposition and repr 2016-09-18 13:15:41 -07:00
Steve Dower 74f4af7ac3 Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 17:27:48 -07:00
Berker Peksag f8479eeb34 Issue #25895: Merge from 3.5 2016-09-16 14:45:15 +03:00
Berker Peksag f676748a05 Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin
Patch by Gergely Imreh and Markus Holtermann.
2016-09-16 14:43:58 +03:00
Benjamin Peterson 6775231597 Unicode 9.0.0
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
2016-09-14 23:53:47 -07:00
Martin Panter b2317a4d9d Issue #15819: Merge include search from 3.5 into 3.6 2016-09-13 12:40:51 +00:00
Christian Heimes ed9c0706cf Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 13:27:26 +02:00
Christian Heimes 17352fff92 Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 12:09:55 +02:00
Raymond Hettinger a33e9f7047 Issue #28104: More accurately document set method signatures 2016-09-12 23:38:50 -07:00
Berker Peksag b7abaa85ae Issue #28103: Merge from 3.5 2016-09-13 04:49:44 +03:00
Berker Peksag 7927e75758 Issue #28103: Use ``'...'`` style in zipfile documentation
Patch by Stephen J. Turnbull.
2016-09-13 04:49:12 +03:00
Raymond Hettinger 0d5048cb21 Issue #17941: Add a *module* parameter to collections.namedtuple() 2016-09-12 00:18:31 -07:00
Terry Jan Reedy 3dad1a5b82 Merge 3.5 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Terry Jan Reedy 4b73676c3d Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:50:03 -04:00
Berker Peksag 34b74fffb3 Add missing versionadded directives 2016-09-12 08:00:01 +03:00
Alexander Belopolsky 18f3a9b93c Closes #25283: Make tm_gmtoff and tm_zone available on all platforms. 2016-09-11 22:55:16 -04:00
Christian Heimes c4d2e500a9 Update whatsnew with my contributions 2016-09-12 01:14:35 +02:00
Christian Heimes 5fe668c672 Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext 2016-09-12 00:01:11 +02:00
Vinay Sajip d5ee406ff1 Closes #23105: Merged update from 3.5. 2016-09-11 15:16:58 +01:00
Vinay Sajip e4946e73c8 Issue #23105: Updated documentation on open() flag constants. 2016-09-11 15:15:59 +01:00
Serhiy Storchaka b7e3535a08 Fixed a markup in docs. 2016-09-11 16:47:59 +03:00
Eric V. Smith 605bdae078 Issue 24454: Improve the usability of the re match object named group API 2016-09-11 08:55:43 -04:00
Berker Peksag fa0c885478 Issue #20100: Merge from 3.5 2016-09-11 15:46:07 +03:00
Berker Peksag 1c697a56ba Issue #20100: Clarify that passing flags to epoll() has no effect 2016-09-11 15:45:32 +03:00
Vinay Sajip d0630498c9 Closed #26533: Merged update from 3.5. 2016-09-11 13:15:57 +01:00
Vinay Sajip 3d639b2c2e Closed #26533: expanded on behaviour of logging.config.listen(). 2016-09-11 13:15:06 +01:00
Berker Peksag ab994ed8b9 Issue #10740: sqlite3 no longer implicitly commit an open transaction before DDL statements
This commit contains the following commits from ghaering/pysqlite:

* f254c53494
* 796b3afe38
* cae87ee686
* 3567b31bb5

With the following additions:

* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
2016-09-11 12:57:15 +03:00
Serhiy Storchaka bd48d27944 Issue #22493: Inline flags now should be used only at the start of the
regular expression.  Deprecation warning is emitted if uses them in the
middle of the regular expression.
2016-09-11 12:50:02 +03:00
Serhiy Storchaka 352601ca00 Issue #26885: xmlrpc now supports unmarshalling additional data types used
by Apache XML-RPC implementation for numerics and None.
2016-09-11 11:23:38 +03:00
Ethan Furman c16595e567 issue23591: add auto() for auto-generating Enum member values 2016-09-10 23:36:59 -07:00
Guido van Rossum 56ff5f7298 Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version) 2016-09-10 19:03:22 -07:00
Guido van Rossum 446e168202 Issue #26141: Update docs for typing.py. Ivan Levkivskyi. 2016-09-10 18:54:14 -07:00
Guido van Rossum f7f8299967 Issue #28073: Improve wording around None. Michael Lee. (3.5->3.6) 2016-09-10 18:49:34 -07:00
Guido van Rossum 1816dfe65f Issue #28073: Improve wording around None. Michael Lee. 2016-09-10 18:49:14 -07:00
Christian Heimes 99a6570295 Issue #19500: Add client-side SSL session resumption to the ssl module. 2016-09-10 23:44:53 +02:00
Christian Heimes d04863771b Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
2016-09-10 23:23:33 +02:00
Christian Heimes 358cfd426c Issue 28043: SSLContext has improved default settings
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
2016-09-10 22:43:48 +02:00
Serhiy Storchaka b0d497c072 Issue #24693: Changed some RuntimeError's in the zipfile module to more
appropriate types. Improved some error messages and debugging output.
2016-09-10 21:28:07 +03:00
Nick Coghlan b161562f72 Issue #17909: Accept binary input in json.loads
json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.

Patch by Serhiy Storchaka.
2016-09-10 20:16:18 +10:00
Berker Peksag 2d7250b3be Fix Python version in pdb.rst 2016-09-10 09:28:03 +03:00
Łukasz Langa 2eb6eca3e5 Issue #18401: pdb tests don't read ~/.pdbrc anymore
Patch by Martin Matusiak and Sam Kimbrel.
2016-09-09 22:21:17 -07:00
R David Murray b067c8fdd1 #20476: Deal with the message_factory circular import differently.
It turns out we can't depend on email.message getting imported every place
message_factory is needed, so to avoid a circular import we need to special
case Policy.message_factory=None in the parser instead of using monkey
patching.  I had a feeling that was a bad idea when I did it.
2016-09-10 00:22:25 -04:00
Eric V. Smith d7665ca7a4 Further improved ',' and '_' specification in format mini-language. 2016-09-09 23:13:01 -04:00
Eric V. Smith fef4391c88 Improved ',' and '_' specification in format mini-language. 2016-09-09 23:12:02 -04:00
Eric V. Smith 89e1b1aae0 Issue 27080: PEP 515: add '_' formatting option. 2016-09-09 23:06:47 -04:00
Raymond Hettinger f1024f7425 merge 2016-09-09 15:58:00 -07:00
Raymond Hettinger 87dc4d6189 Issue 14976: Note that the queue module is not designed to protect against reentrancy 2016-09-09 15:57:13 -07:00
Zachary Ware c307672395 We're not that far in the future yet 2016-09-09 15:47:05 -07:00
R David Murray 06ed218ed0 #20476: add a message_factory policy attribute to email. 2016-09-09 18:39:18 -04:00
Benjamin Peterson f46e612e33 repair versionadded directive 2016-09-09 15:34:58 -07:00
Christian Heimes 3aeacad561 Issue #28025: Convert all ssl module constants to IntEnum and IntFlags. 2016-09-10 00:19:35 +02:00
Serhiy Storchaka 142aee3a8e Merge heads 2016-09-10 01:14:38 +03:00
Benjamin Peterson 4fd64b9a6a remove ceval timestamp support 2016-09-09 14:57:58 -07:00
Serhiy Storchaka be9a4e5c85 Issue #433028: Added support of modifier spans in regular expressions. 2016-09-10 00:57:55 +03:00
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515.
Thanks to Georg Brandl for the patch.
2016-09-09 14:57:09 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) 0d441d7d59 Add a note about queue not being safe for use from signal handlers.
issue14976.
2016-09-09 12:31:05 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) cb3f2c8f97 Add a note about queue not being safe for use from signal handlers.
issue14976.
2016-09-09 12:30:34 -07:00
Guido van Rossum 922175922c Issue #28049: Add documentation for typing.Awaitable and friends.
By Michael Lee.
2016-09-09 11:46:34 -07:00
Yury Selivanov f8cb8a16a3 Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Eric Snow 4f29e75289 Issue #24254: Drop cls.__definition_order__. 2016-09-08 15:11:11 -07:00
R David Murray 7f730cf01d 24277: Make it clearer that the new modules are not provisional.
Also make it clear on the contents page what chapters are about the
legacy API.
2016-09-08 18:28:43 -04:00
R David Murray 301edfa579 Add policy keyword to email.generator.DecodedGenerator. 2016-09-08 17:57:06 -04:00
Senthil Kumaran 10427f4485 [merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
documentation consistent with the code.
2016-09-08 14:29:23 -07:00
Senthil Kumaran 5dc504c3c9 Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code. 2016-09-08 14:28:01 -07:00
Martin Panter 0f0eac431f Issue #27993: Fix problems with plural objects in docs and comments 2016-09-07 11:04:41 +00:00
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
R David Murray 6b46ec7733 #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs. 2016-09-07 14:01:23 -04:00
Guido van Rossum e848cd7605 Issue #27905: Docs for typing.Type[C], by Michael Lee. 2016-09-06 21:12:44 -07:00
Berker Peksag a1bc246dd5 Use shorter version of Connection.isolation_level in sqlite3.rst 2016-09-07 04:02:41 +03:00
Christian Heimes 03d13c0cbf Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305. 2016-09-06 20:06:47 +02:00
Senthil Kumaran 4672060d86 Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Christian Heimes 598894ff48 Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. 2016-09-05 23:19:05 +02:00
Benjamin Peterson f7e2ea2f33 remove ungrammarical apostrophe (closes #27957) 2016-09-05 14:02:59 -07:00
Raymond Hettinger f5b7c7bfc1 Improve recipe by showing results of intermediate steps 2016-09-05 13:15:02 -07:00
Raymond Hettinger 871a3340b7 Issue 27936: Update doc for round() to indicate that None is an allowable argument. 2016-09-04 11:28:56 -07:00
Raymond Hettinger 16eb827b33 Improve docs for random.seed() 2016-09-04 11:17:28 -07:00
Steve Dower 3929499914 Issue #1602: Windows console doesn't input or print Unicode (PEP 528)
Closes #17602: Adds a readline implementation for the Windows console
2016-08-30 21:22:36 -07:00
Berker Peksag 18a7d2b455 Add missing versionadded directive 2016-09-08 23:36:25 +03:00
Steve Dower cc16be85c0 Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) 2016-09-08 10:35:16 -07:00
Brett Cannon 2376316857 Issue #27853: Add section headers to the importlib example docs 2016-09-08 10:12:47 -07:00
Gregory P. Smith d9fc792fda Remove the subjective security and performance claims, fix hyperlinks
to use https and add a link to RFC-7693.
2016-09-08 01:33:43 -07:00
Ethan Furman 54924df2b1 improve Enum docs 2016-09-07 23:40:31 -07:00
Brett Cannon 035a100382 Issue #26667: Add path-like object support to importlib.util. 2016-09-07 18:39:18 -07:00
Eric Snow d5f9223981 Issue #17211: Yield a namedtuple in pkgutil.
Patch by Ramchandra Apte.
2016-09-07 18:37:17 -07:00
R David Murray 29d1bc0842 #24277: The new email API is no longer provisional.
This is a wholesale reorganization and editing of the email documentation to
make the new API the standard one, and the old API the 'legacy' one.  The
default is still the compat32 policy, for backward compatibility.  We will
change that eventually.
2016-09-07 21:15:59 -04:00
Eric Snow c943265ba5 Issue #15767: Add ModuleNotFoundError. 2016-09-07 15:42:32 -07:00
Davin Potts 86a7668426 Fixes issue #6766: Updated multiprocessing Proxy Objects to support nesting 2016-09-07 18:48:01 -05:00
Martin Panter 1aa642f6bd Issue #27993: Merge plural fixes from 3.5 2016-09-07 23:36:43 +00:00
R David Murray 56b1f1b4d5 #27331: add policy keyword argument to all MIME subclasses.
Patch by Berker Peksag.
2016-09-07 16:48:35 -04:00
R David Murray 2195d537b3 Merge: #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs. 2016-09-07 14:02:11 -04:00
Ethan Furman 6a137e8d50 add recipes for pseudo-valueless enums 2016-09-07 08:17:15 -07:00
Christian Heimes 6fe2a75b64 Issue #16113: Add SHA-3 and SHAKE support to hashlib module. 2016-09-07 11:58:24 +02:00
Raymond Hettinger 28aa4a0684 Rename weighted_choices() to just choices() 2016-09-07 00:08:44 -07:00
Guido van Rossum 1de1a6a2dc Issue #27905: Docs for typing.Type[C], by Michael Lee. (Merge 3.5->3.6) 2016-09-06 21:13:15 -07:00
Steve Dower 050acaed99 Issue #6135: Adds encoding and errors parameters to subprocess 2016-09-06 20:16:17 -07:00
Steve Dower 5a71327f35 Issue #27959: Documents new encoding and alias. 2016-09-06 19:46:42 -07:00
Berker Peksag d519e025d8 Merge from 3.5 2016-09-07 04:03:02 +03:00
Raymond Hettinger e8f1e002c6 Issue #18844: Add random.weighted_choices() 2016-09-06 17:15:29 -07:00
Victor Stinner e66987e626 os.urandom() now blocks on Linux
Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer
until the system urandom entropy pool is initialized to increase the security.

This change is part of the PEP 524.
2016-09-06 16:33:52 -07:00
Raymond Hettinger e256accd46 Issue #23226: Add linspace() recipe to the docs 2016-09-06 16:35:34 -07:00
Victor Stinner 9b1f474df6 Add os.getrandom()
Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom()
function.

This change is part of the PEP 524.
2016-09-06 16:18:52 -07:00
Brett Cannon 6fa7aada9b Issue #26027, #27524: Document the support for path-like objects in os and os.path.
This completes PEP 519.
2016-09-06 15:55:02 -07:00
Benjamin Peterson ef537db688 improve grammar 2016-09-06 14:32:40 -07:00
Benjamin Peterson d982c8f51e properly introduce reST literal blocks 2016-09-06 13:28:29 -07:00
Christian Heimes 121b9487d1 Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. 2016-09-06 22:03:25 +02:00
Serhiy Storchaka 28ab634fa6 Issue #25596: Optimized glob() and iglob() functions in the
glob module; they are now about 3--6 times faster.
2016-09-06 22:33:41 +03:00
Serhiy Storchaka ea525a2d1a Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation. 2016-09-06 22:07:53 +03:00
Christian Heimes 39093e9e68 Issue #27928: Add scrypt (password-based key derivation function) to hashlib module (requires OpenSSL 1.1.0). 2016-09-06 20:22:28 +02:00
Christian Heimes ac041c0aa7 Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305. 2016-09-06 20:07:58 +02:00
Zachary Ware bd63353b74 Deprecate Tix
When building it breaks, we won't be fixing it.
2016-09-05 17:22:24 -07:00
Senthil Kumaran 56b4872ff5 [merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader object documentation.
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:16:06 -07:00
Zachary Ware 625cb379f7 Issue #25387: Check return value of winsound.MessageBeep 2016-09-05 17:32:28 -05:00