Raymond Hettinger
0537405ec1
Add a seealso section for further reference and skill building
2016-11-21 10:52:04 -08:00
Raymond Hettinger
8ab1258b58
Simplify code in an example
2016-11-21 10:16:01 -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
c88c80b716
closes issue28082: doc update and NEWS entry
2016-11-21 08:29:31 -08:00
Martin Panter
a2f7ee8b26
Fix up grammar, markup, etc in 3.6 What’s New
2016-11-21 13:38:59 +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
INADA Naoki
0e175a6e76
Issue #28532 : Show sys.version when -V option is supplied twice
2016-11-21 20:57:14 +09:00
Raymond Hettinger
6befb64172
Extend and improve the examples for the random module
2016-11-21 01:59:39 -08:00
Serhiy Storchaka
bb8fd5b1eb
Fixed the documentation of the structure PyMethodDef.
...
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:38:14 +02:00
Serhiy Storchaka
06a8dea46d
Fixed the documentation of the structure PyMethodDef.
...
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:37:18 +02:00
Gregory P. Smith
2863c387b0
replace --with-optimizations references with --enable-optimizations in docs.
2016-11-21 00:12:40 -08:00
Martin Panter
28540183c9
Another en → em dash fix for 3.6
2016-11-21 04:10:45 +00:00
Martin Panter
99b6f28351
Merge doc fixups from 3.5
2016-11-21 04:22:22 +00:00
Martin Panter
357ed2e577
Change double hyphens (en dashes) to em (longer) dashes
2016-11-21 00:15:20 +00:00
Martin Panter
cf01441315
Fix typos in documentation
2016-11-20 08:37:21 +00:00
Serhiy Storchaka
01452af645
Issue #28750 : Fixed docs of of unicode-escape an raw-unicode-escape C API.
...
Patch by Xiang Zhang.
2016-11-20 17:21:04 +02:00
Serhiy Storchaka
cf36835fc5
Issue #28750 : Fixed docs of of unicode-escape an raw-unicode-escape C API.
...
Patch by Xiang Zhang.
2016-11-20 17:20:19 +02:00
Serhiy Storchaka
92b9a1f911
Issue #19569 : Suggested more appropriate replacements for deprecated Unicode
...
C API functions.
2016-11-20 12:14:08 +02:00
Serhiy Storchaka
f675a37ed3
Issue #19569 : Suggested more appropriate replacements for deprecated Unicode
...
C API functions.
2016-11-20 12:13:44 +02:00
Serhiy Storchaka
3c38e066b1
Issue #27998 : Documented bytes paths support on Windows.
2016-11-20 08:23:07 +02:00
Brett Cannon
78ffd6cffa
Issue #28705 : greatly simplify the FAQ entry on transpiling.
...
This also eliminats a dead link to Weave in the process.
2016-11-18 10:41:28 -08:00
Zachary Ware
d23881e3a0
Ignore newly added suspicious line
2016-11-17 23:30:27 -06:00
Raymond Hettinger
a3950e42b0
Small edits to the docs for sample() and shuffle().
2016-11-17 01:49:54 -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
00305ade58
Add another example to the recipes section of the random docs
2016-11-16 22:56:11 -08:00
Raymond Hettinger
2589ee3e2b
Minor touch-ups to the random module examples
2016-11-16 21:34:17 -08:00
Yury Selivanov
22214ab0af
Issue #28720 : Add collections.abc.AsyncGenerator.
2016-11-16 18:25:04 -05:00
Kushal Das
ecbca357c9
Closes #28713 uses OSError in the tutorial
2016-11-16 21:13:43 +05:30
Serhiy Storchaka
3b73ea1278
Issue #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
...
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:19:20 +02:00
Serhiy Storchaka
f4934ea77d
Issue #28701 : Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
...
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:17:58 +02:00
Yury Selivanov
6bf87d3fce
Issue #28635 : what's new in 3.6: add a few more notes on typing
...
Per suggestions by Ivan Levkivskyi.
Patch by Elvis Pranskevichus.
2016-11-14 14:49:18 -05: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
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
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
249ba5d02d
Issue #28635 : what's new in 3.6: remove mentions of backported fixes.
...
Patch by Elvis Pranskevichus.
2016-11-10 15:39:27 -05:00
Yury Selivanov
c48ec2704b
Issue #28635 : What's New in Python 3.6 updates
...
Patch by Elvis Pranskevichus.
2016-11-10 13:27:22 -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
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
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
f5df73025d
whatsnew: Inital pass on "What's New in Python 3.6"
...
Patch by Elvis Pranskevichus.
2016-11-07 16:40:20 -05:00
Yury Selivanov
91aa5c12ea
Merge 3.5 (issue #27392 )
2016-11-07 15:35:45 -05: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
3b3a141a83
Issue #27392 : Document loop.connect_accepted_socket()
...
Patch by Jim Fulton.
2016-11-07 15:35:25 -05:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Berker Peksag
6b571e021a
Issue #21590 : Silence Sphinx warnings in instrumentation.rst
...
WARNING: Could not lex literal_block as "c". Highlighting skipped.
Patch by SilentGhost.
2016-11-06 21:45:16 +03:00
Berker Peksag
87170d672a
Issue #21864 : Merge from 3.5
2016-11-06 21:15:48 +03:00
Berker Peksag
cea632ece5
Issue #21864 : Remove outdated section about exceptions from the tutorial
...
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
2016-11-06 21:15:01 +03:00
Jason R. Coombs
f66f03bd35
Update docs to reflect new behavior around backslashes in expressions (not allowed), matching recent changes to PEP 498.
2016-11-06 11:27:17 -05:00
Martin Panter
873305b28c
Merge doc fixup from 3.5 into 3.6
2016-11-05 02:46:30 +00:00
Martin Panter
04b3d8b697
Fix spacing after C++ in documentation
2016-11-05 02:40:31 +00: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
Brett Cannon
1d8f755e67
Issue #28605 : Fix the help and What's New entry for --with-optimizations.
2016-11-03 16:20:00 -07: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
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
e0a220e9e2
Issue #22493 : Updated an example for fnmatch.translate().
2016-10-27 22:44:03 +03:00
Serhiy Storchaka
159f97b2d7
Issue #28496 : Mark up constants 0, 1 and -1 that denote return values or
...
special input values as literal text.
2016-10-27 21:42:15 +03:00
Serhiy Storchaka
1ecf7d204d
Issue #28496 : Mark up constants 0, 1 and -1 that denote return values or
...
special input values as literal text.
2016-10-27 21:41:19 +03:00
Serhiy Storchaka
0093907f0e
Issue #28426 : Deprecated undocumented functions PyUnicode_AsEncodedObject(),
...
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
2016-10-27 21:05:49 +03:00
Zachary Ware
ec9357b90c
Ignore harmless suspicious markup
2016-10-25 21:43:41 -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
5ec24314cd
Issue #28107 : Update typing module documentation for NamedTuple (Ivan)
2016-10-25 09:53:11 -07:00
Guido van Rossum
16591f440d
Issue 25002: Deprecate asyncore/asynchat. Patch by Mariatta.
2016-10-25 08:49:13 -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
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
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
0a421a28f8
Issue #18219 : Optimize csv.DictWriter for large number of columns.
...
Patch by Mariatta Wijaya.
2016-10-21 19:47:57 +09:00
Yury Selivanov
ea75a513df
Issue #26010 : Document CO_* constants
2016-10-20 13:06:30 -04:00
Yury Selivanov
b738a1f8a4
Issue #26010 : fix typos; rewording
2016-10-20 16:30:51 -04:00
Yury Selivanov
e20fed9182
Merge 3.5 + document CO_ASYNC_GENERATOR; issue #26010
2016-10-20 13:11:34 -04:00
Victor Stinner
c6b1e15788
Close #28479 : Fix reST syntax in windows.rst
...
Patch written by Julien Palard.
2016-10-20 00:45:50 +02: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
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
3f561b7911
Issue #19795 : Fixed markup errors.
2016-10-19 18:12:05 +03:00