Commit Graph

20465 Commits

Author SHA1 Message Date
Serhiy Storchaka de5427a8f7 [3.6] bpo-30872: Update the curses docs to Python 3. (GH-2620) (#3887)
(cherry picked from commit 300dd552b1)
2017-10-05 09:35:45 +03:00
Miss Islington (bot) ed77fbffa5 [3.6] bpo-31667: Fix gettext related links. (GH-3860) (#3886)
* Fix incorrect links.
* Remove redundant links.
* Add signatures and index entries for gettext related
functions in the locale module.
(cherry picked from commit c02a1f4ad8)
2017-10-04 21:06:09 +03:00
Ned Deily 598c4d1c10 Remove retired and security branches from active docs (#3880) 2017-10-03 23:03:52 -04:00
Ned Deily e925c4f299 Python 3.6.3
-----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCgAGBQJZ0yZmAAoJEC00fqaqZUId+AkP/jmhnWRFOx8pljdbhUDqMpAh
 WKtlafbAM4p9YDW1y0uB5Shb0vYoETbtwl+1bPh95ybyypFHoFUWBM3WmM3vofLp
 WOASXQkVflW+aj7iuR8xa/SPGgyYahdxGAsZ50z7gRUHTn0BUj1OOdbvDSncxaRN
 7O+Klv4lG3sIOhq9r/q2jqCYymehDuDioUETJkh1BAbk03lXd9j7xLsTaaJnXPxB
 hGc65KxmI0ZL18yvj348O+QgKR97UgmwsebhmCsikRAi5BL1aIH+B8OjMcHeAB2b
 Z0qhXZrdI2uPFiqTxAHQllR71h5T9Df9K8JQMNd/dPxZsxpn+JzddrqU6LfKCHIL
 gLX/uMUOGOcPD33vm7X3Nr1dvZnb6hxpoInhkaqI22L2MxkBKAbNFzdkbN+Qx3Z2
 mjccmKBlEYSbJQHcAc+QFMhouOzNFTp4zsaY62bHuBQnHvuJhll0/uw2VLhy8qTw
 hz9LHJYKjAkMhjsKc8Ac0g6iwKcvmalzPLzXdDMjAn0vVY6A4UMbf1EeT4i8WP9Z
 pnm3dDqTv0Rr1kyjl3v/i2nNFmrMwb07yrvXjI1sf2AuOFUzu0z6ORePex+V774z
 S3x1Bq4OP1MclEVWkJkFbl/MN5lUQsSi6+wxeN+/VnEe9+qDAUAzxYNbEYCGgwFa
 MDXdYCwMBkuprbbThNmV
 =r7O9
 -----END PGP SIGNATURE-----

Merge v3.6.3 into 3.6 branch
2017-10-03 04:42:24 -04:00
Ned Deily 2c5fed86e0 Bump to 3.6.3 2017-10-03 01:52:02 -04:00
Zachary Ware a74ce09c73 [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)
Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`.
(cherry picked from commit da9b4cfb48)
2017-10-02 20:28:02 -04:00
Steve Dower 564747d91b Fix build issues in Doc/make.bat (#3663) 2017-10-02 20:27:33 -04:00
Miss Islington (bot) 641494ec31 bpo-31621: Fix typo in Simple Statements documentation (GH-3809) (GH-3810)
Replace "restriction" with "restrictions".
(cherry picked from commit 8d59aca4a9)
2017-09-28 13:00:17 -07:00
Miss Islington (bot) 680429b133 [3.6] point to the module-level get_ident function rather than the one in _thread (GH-3782) (#3783)
(cherry picked from commit 236329ed9f)
2017-09-26 23:17:51 -07:00
Miss Islington (bot) 26b940f762 bpo-31571: Remove duplicated info in Lexical Analysis documentation (GH-3691) (GH-3754)
- Remove the second mention about the `u` prefix
- Remove the second mention about numeric literals do not include a sign
(cherry picked from commit 4a2d00cb45)
2017-09-25 16:23:33 -07:00
Miss Islington (bot) e2a30cd35b [3.6] bpo-27385: Clarify docstring for groupby() (GH-3738) (#3744)
(cherry picked from commit 49392c63a2)
2017-09-25 01:41:49 -07:00
Miss Islington (bot) 73c915a5cd [3.6] bpo-23702: Update Descriptor-HOWTO to reflect the removal of unbound methods (GH-3739) (#3742)
(cherry picked from commit 0d4497b9ca)
2017-09-25 01:11:21 -07:00
Miss Islington (bot) 01438ed4c2 [3.6] bpo-18558: Clarify glossary entry for "Iterable" (GH-3732) (#3741)
(cherry picked from commit 0bf287b6e0)
2017-09-25 00:57:24 -07:00
Miss Islington (bot) d38caf68bb [3.6] bpo-30085: Improve documentation for operator (GH-1171) (#3736)
The dunderless functions are preferred; dunder are retained for back compatilibity.
Patch by Sanket Dasgupta.
(cherry picked from commit 5b9299d8c7)
2017-09-24 17:13:15 -04:00
Miss Islington (bot) ce418bf822 bpo-31570: Update Email library documentation example (GH-3720) (GH-3721)
A `"` was missing from an `<a href>` tag.
(cherry picked from commit 8337239d79)
2017-09-24 09:18:50 -07:00
Miss Islington (bot) e31eca45e5 [3.6] bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). (GH-3667) (#3719)
Defer removing old behavior to 3.8.
Document new feature of selection_set() and friends.
(cherry picked from commit 2fad102354)
2017-09-24 15:03:48 +03:00
Miss Islington (bot) 018e6b9f69 bpo-31564: Update typing documentation (GH-3696) (GH-3715)
Mention that ``NewType`` can derive from another ``NewType``.
(cherry picked from commit 039b25d8fd)
2017-09-23 19:46:24 -07:00
Miss Islington (bot) 5614487378 [3.6] Docs: correct hashlib.blake2 keyed hashing example (bpo-31560)
(cherry picked from commit aecc08ac3a)
2017-09-23 10:27:22 -07:00
Zachary Ware 6de35849cb [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)
Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`.
(cherry picked from commit da9b4cfb48)
2017-09-22 13:26:19 -05:00
Miss Islington (bot) eef49f5dd0 bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)
Previously ensurepip would always report success, even if the
pip installation failed.
(cherry picked from commit 9adda0cdf8)

* Update version changed notice for backport
2017-09-22 06:45:37 -07:00
Miss Islington (bot) 6b44ad1abd bpo-31533: fix broken link to OpenSSL docs (GH-3674) (GH-3675)
(cherry picked from commit 19e4d9346d)
2017-09-20 13:22:56 -07:00
Miss Islington (bot) e2593aa673 bpo-31501: Operator precedence description for arithmetic operators (GH-3633) (GH-3638)
(cherry picked from commit 9b47af6537)
2017-09-19 15:48:29 -07:00
Steve Dower aa2bda788d Fix build issues in Doc/make.bat (#3663) 2017-09-19 14:40:48 -07:00
Miss Islington (bot) 4f6bae9677 bpo-31487: Update F-strings doc example (GH-3627) (GH-3628)
Shorten the comment to: "using integer format specifier"
(cherry picked from commit 63c591c0b0)
2017-09-17 07:57:08 -07:00
Miss Islington (bot) 46c1052404 bpo-31487: Improve f-strings documentation (GH-3604) (GH-3619)
Provide additional examples of using format specifiers in f-strings
Added examples for using integer and date format specifiers.
(cherry picked from commit f361897069)
2017-09-16 12:01:32 -07:00
Miss Islington (bot) d3cba8175c bpo-31458: Clarify that Changelog is built from Misc/NEWS.d directory (GH-3617) (GH-3618)
(cherry picked from commit 0ec8c4bd10)
2017-09-16 11:44:27 -07:00
Michael Seifert 51ea80697b bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3607)
(cherry picked from commit da67e0d644)
2017-09-16 14:29:33 +03:00
Terry Jan Reedy 4d72945a28 [3.6] bpo-314777: IDLE - improve rstrip entry in doc (GH-3602) (#3605)
'Strip trailing whitespace' is not limited to spaces.  Wording caters to beginners who
do know know the meaning of 'whitespace'.  Multiline string literals are not skipped.
(cherry picked from commit ff70289)
2017-09-15 15:09:17 -04:00
Miss Islington (bot) c8b6506404 Improve code examples in hashlib cookie signing (GH-3562) (GH-3566)
The `blake2b` function does not take the `data` keyword argument.
The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects.
Typo fix: compare_digesty -> compare_digest
(cherry picked from commit 312ffead1e)
2017-09-14 06:45:31 -07:00
Mariatta 905e4ef86e [3.6] bpo-31458: Update Misc/NEWS link in What's New page (GH-3555) (GH-3560)
Update the link from Misc/NEWS to Misc/NEWS.d
(cherry picked from commit 1b8f612e18)
2017-09-13 19:40:32 -07:00
Miss Islington (bot) 547f2a97ea [3.6] Mention enum as a potential use for metaclasses (GH-2982) (GH-3527)
(cherry picked from commit b8d1b9d7c6)
2017-09-12 21:55:23 -07:00
Mariatta 5513e888e9 [3.6] bpo-31394: Clarify documentation about token type attribute (GH-3469) (GH-3525)
Make it clear that Ellipsis tokens also have type attribute set to token.OP..
(cherry picked from commit 5f8fbf917e)
2017-09-12 20:43:04 -07:00
Miss Islington (bot) 4d7807ab9a [3.6] bpo-31421: Document how IDLE runs tkinter programs. (GH-3513) (#3514)
IDLE calls tcl/tk update in the background in order to make live
interaction and experimentatin with tkinter applications much easier.
(cherry picked from commit 98758bc67f)
2017-09-12 09:44:59 -04:00
Miss Islington (bot) 01dcaa5c99 [3.6] bpo-27099: Finish updating IDLE doc and help text. (GH-3510) (#3511)
As needed for the conversion of extensions to features.
(cherry picked from commit adb4cd2a2a)
2017-09-12 08:23:38 -04:00
Terry Jan Reedy d6c397bf77 [3.6] bpo-27099: IDLE - Convert built-in extensions to regular features (GH-2494) (#3487)
About 10 IDLE features were implemented as supposedly optional
extensions.  Their different behavior could be confusing or worse for
users and not good for maintenance.  Hence the conversion.

The main difference for users is that user configurable key bindings
for builtin features are now handled uniformly.  Now, editing a binding
in a keyset only affects its value in the keyset.  All bindings are
defined together in the system-specific default keysets in config-
extensions.def.  All custom keysets are saved as a whole in config-
extension.cfg.  All take effect as soon as one clicks Apply or Ok.

The affected events are '<<force-open-completions>>', '<<expand-word>>',
'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>',
'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'.  Any
(global) customizations made before 3.6.3 will not affect their keyset-
specific customization after 3.6.3. and vice versa.

Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
(cherry picked from commit 58fc71c)
2017-09-10 20:30:46 -04:00
Christian Heimes 28580316a5 bpo-29136: Fix versionchange for TLS 1.3 changes (#3483)
Thanks Arfrever!

Signed-off-by: Christian Heimes <christian@python.org>
2017-09-10 21:14:34 +02:00
Miss Islington (bot) 638601ec52 [3.6] Improve IncrementalEncoder documentation (GH-2746) (GH-3475)
getstate and setstate are instance methods, same as encode and reset.
(cherry picked from commit 30644dee0c)
2017-09-10 06:26:42 -07:00
R. David Murray f8693229f5 [3.6] Clarify nature of parse_args 'args' argument. (GH-3292) (GH-3325)
Patch by Paul.j3.  Includes an unrelated but useful addition to the
optparse porting section.
(cherry picked from commit 0c7983e4ad)
2017-09-09 22:54:05 -07:00
Miss Islington (bot) fe9bebf960 [3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)
(cherry picked from commit a7fbad96c8)
2017-09-09 10:26:49 -07:00
Christian Heimes 9f2b3d4c28 [3.6] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3444)
* bpo-29136: Add TLS 1.3 support

TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3
cipher suites don't overlap with cipher suites from TLS 1.2 and earlier.
Since Python sets its own set of permitted ciphers, TLS 1.3 handshake
will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common
AES-GCM and ChaCha20 suites.

Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with
OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3
now.

Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit cb5b68abde)
2017-09-07 20:23:52 -07:00
Miss Islington (bot) 645c1e4213 [3.6] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) (#3441)
Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target.
(cherry picked from commit 590665c399)
2017-09-07 17:38:31 -07:00
Miss Islington (bot) 27ce5a1b19 [3.6] bpo-31294: Fix ZeroMQSocketListener and ZeroMQSocketHandler examples (GH-3229) (#3430)
* Fix ZeroMQSocketListener and ZeroMQSocketHandler examples

* Use send_json and recv_json to simplify pyzmq interfacing

* Add News entry
(cherry picked from commit 586c0502b5)
2017-09-07 14:27:44 -07:00
Miss Islington (bot) e89b35dd2b [3.6] bpo-31330: Clarify that RawTextHelpFormatter collapses repeated newlines. (GH-3272) (GH-3429)
Also provide a solution if the user wants to keep multiple blank lines.
(cherry picked from commit 397c467c49)
2017-09-07 17:18:45 -04:00
Miss Islington (bot) b0d0217c0e [3.6] bpo-30096: Use ABC in abc reference examples (GH-1220) (GH-3408)
Use base class rather than metaclass in examples.
(cherry picked from commit 122e88a835)
2017-09-07 11:32:07 -07:00
Ned Deily b368e4e8ce Link to generated changelog, not website. 2017-09-06 20:17:09 -07:00
Miss Islington (bot) dee54f6010 [3.6] bpo-22635: subprocess.getstatusoutput doc update. (GH-3398) (#3411)
The `subprocess.getstatusoutput` API was inadvertently changed
in Python 3.3.4.  Document the change, it is too late to undo the
API change now as it has shipped in many stable releases.
(cherry picked from commit 738b7d9766)
2017-09-06 19:57:52 -07:00
Miss Islington (bot) 1fc47b40af [3.6] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3399)
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit ad0ffa033e)
2017-09-06 17:31:30 -07:00
Steve Dower fd645ec6f5 [3.6] bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (GH-3311) (#3386) 2017-09-06 15:55:25 -07:00
Miss Islington (bot) 98ceece8f4 [3.6] bpo-30737: Update DevGuide links to new URL (GH-3228) (GH-3390)
Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
(cherry picked from commit 384899dfae)
2017-09-06 14:29:04 -07:00
Benjamin Peterson 1b1329debc [3.6] link to legacy doc on the non-legacy website (GH-3362) (#3368)
(cherry picked from commit 60dbed1850)
2017-09-05 17:45:11 -07:00
Ned Deily e2543a67fb Include additional changes to support blurbified NEWS (#3340) 2017-09-05 00:10:31 -07:00
Gregory P. Smith d50ce4fcc9 [3.6] Added effect of re.ASCII and reworded slightly (GH-1782) (#3313)
(cherry picked from commit c9d6dbc290)
2017-09-04 14:58:31 -07:00
Benjamin Peterson 703fdb837a [3.6] remote note about IRIX in aifc (#3304)
This comment hasn't been true since Python 3.0.
(cherry picked from commit b84efddb9a)
2017-09-04 13:58:23 -07:00
larryhastings 6a116c2aa4 Blurbify 3.6. (#3287)
Blurbify 3.6.
2017-09-04 12:03:25 -07:00
INADA Naoki 2eea952b1b bpo-31095: fix potential crash during GC (GH-3195)
(cherry picked from commit a6296d34a4)
2017-09-04 12:31:09 +09:00
Gregory P. Smith d4097353ba [3.6] Fix a typo in the Programming FAQ. (GH-3230) (#3273)
subobjects, not subobjecs.
(cherry picked from commit e9d978fd1b)
2017-09-03 13:29:34 -07:00
Mariatta b5db7bb9da [3.6] Fix the indentation in Extending Python code example (GH-3244) (GH-3250)
Code was indented with three spaces.
Fixed using four spaces.
(cherry picked from commit d9a2b99ac4)
2017-08-30 23:11:02 -07:00
Mariatta 83e5c888ff [3.6] bpo-26656: Improve re.compile documentation (GH-3211) (GH-3225)
- Link to the regular expressions object documentation
- Clarify that it can be used with more than the two methods currently stated.
(cherry picked from commit ed94a8b285)
2017-08-27 22:50:08 -07:00
Mariatta 2dfafa3c56 bpo-31191: Improve grammar in threading.Barrier docs (GH-3080) (GH-3224)
(cherry picked from commit 143be36629)
2017-08-27 15:19:08 -07:00
Mariatta ff64a24c67 Fix broken `Show Source` links on documentation pages (GH-3113) (GH-3125)
The `Show Source` was broken because of a change made in sphinx 1.5.1
In Sphinx 1.4.9, the sourcename was "index.txt".
In Sphinx 1.5.1+, it is now "index.rst.txt".
(cherry picked from commit b9ff498793)
2017-08-18 06:21:33 -07:00
Julien Palard fcecb0e365 Update the language selection in the docs language switch. (GH-3114) (#3115)
Change the option for `Français` into `French` to be consistent with the other language selections that are already in English.
(cherry picked from commit b616b97299)
2017-08-17 16:37:00 +02:00
Christian Heimes 7f6a13bd56 [3.6] bpo-30714: ALPN changes for OpenSSL 1.1.0f (#3093)
OpenSSL 1.1.0 to 1.1.0e aborted the handshake when server and client
could not agree on a protocol using ALPN. OpenSSL 1.1.0f changed that.
The most recent version now behaves like OpenSSL 1.0.2 again. The ALPN
callback can pretend to not been set.

See https://github.com/openssl/openssl/pull/3158 for more details

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit a5c1bab352)
2017-08-15 10:45:40 +02:00
Julien Palard e8e7fba0b2 bpo-31159: fix language switch regex on unknown yet built languages. … (#3051)
* bpo-31159: fix language switch regex on unknown yet built languages. (#3039)

This fix a regex issue (a missing non-matching group around an 'or'
list) and the specific possible case where a translation is built but
not yet in known by the picker, but not explicitly listing possible
languages in the regex.
(cherry picked from commit 122081deef)

* bpo-31149: Doc: Add Japanese to the language switcher. (#3028)

(cherry picked from commit c82b7f332a)
2017-08-10 16:54:26 +02:00
Julien Palard e93135dbb2 bpo-31045: Language switch (#2652) (#3023)
* Doc: Indicate the language

* Renaming version_switcher to switchers (to add language_switcher).

* Adding language switch.

* Doc switchers: Enhance readability of regex parsing versions.

* Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming.

* Doc switchers: py3k can't reach js, it's redirected server-side by nginx.

* Doc switchers: Examples matching actual regexes.

* Doc switchers: Better fallback on unexisting translated version.

(cherry picked from commit dff9b5f9d6)
2017-08-08 14:13:53 +02:00
Mariatta 9b3abacf87 [3.6] Improve grammar in asyncio documentation (GH-2993) (GH-2994)
"not only is it .." is the correct form, as opposed to:
"not only it is ..."
(cherry picked from commit 87c3c5de73)
2017-08-04 00:33:33 +10:00
Terry Jan Reedy 4c7b368de7 [3.6] bpo-30803: clarify truth value testing documentation (GH-2508) (#2946)
Initial patch by Peter Thomassen.
(cherry picked from commit caa1280)
2017-07-29 18:56:06 -04:00
Mariatta e05119ad4e Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2940)
(cherry picked from commit 6fcb69dad5)
2017-07-28 19:55:23 -07:00
Mariatta 0dbfab2ac7 Add the link to asyncio source code in the docs (GH-2373) (GH-2884)
(cherry picked from commit 627d2c8e8d)
2017-07-25 21:05:17 -07:00
Mariatta 59e6ab15e4 bpo-26506: hex() documentation: mention %x % int (GH-2525) (GH-2870)
(cherry picked from commit 67ba4fa467)
2017-07-25 11:04:08 -07:00
Terry Jan Reedy 548a6889f4 [3.6] Minor typo in curses.rst (GH-2763) (#2853)
I found a tiny typo in the curses how-to: changed 'Thy' to 'The' on line 68.
(cherry picked from commit d439d3e)
2017-07-24 18:54:53 -04:00
Nicholas df5837b5a9 [3.6] bpo-30964: Mention ensurepip in package installation docs (GH-2797)
Adds a new 'Pip not installed' section that covers
running `ensurepip` manually, and also references
the relevant section of the Python Packaging User
Guide.

(cherry picked from commit b3527bfefd)
2017-07-21 16:44:43 +10:00
Trey Hunner ef4231adb7 bpo-30466: Add brief explanation of classes to tutorial (GH-1804) (GH-2700) 2017-07-20 20:10:54 -07:00
Mariatta 7f58994842 [3.6] Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770) (GH-2778)
(cherry picked from commit fff2a21057)
2017-07-20 07:14:05 -07:00
Ned Deily e0d306f682 Update doc download files size estimates. (#2771) (#2772) 2017-07-20 04:19:22 -04:00
Steve Dower e99d3a52a5 [3.6] bpo-30450: Improved logic for obtaining dependencies (#2751)
Adds alternate download approach for nuget.exe
Fall back to git.exe if no Python is found. (#2739)
Also check whether git.exe is on PATH if it will be used.
Add support for HOST_PYTHON variable.
Clear internal environment variables used in find_python.bat
Use HOST_PYTHON as the actual Python if it is recent enough.
Adds HOST_PYTHON variable to AppVeyor configuration
2017-07-19 09:11:08 +02:00
Ned Deily bbd0f423d2 bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2722)
(cherry picked from commit 50f58163a6)
2017-07-15 16:56:13 -04:00
Łukasz Rogalski ea9cbe0a5c Doc that 'sorted' args are keyword-only, fix 'reverse' default (#2709)
backport
2017-07-14 15:57:19 -04:00
Berker Peksag 23e2c3d193 Remove outdated FOX from GUI FAQ (GH-2538)
FXpy doesn't have a Python 3 port and it only
supports Python 2.2 and older versions.

Reported by Alex Walters on docs@p.o.

(cherry picked from commit d3ed2877a7)
2017-07-04 09:27:35 +03:00
Kojo Idrissa 03af428242 [3.6] bpo-29933: Improve set_write_buffer_limits description (GH-2262) (GH-2532)
Improve the description of the high and low parameters for set_write_buffer_limits.
Also fixed a small grammatical issue.
(cherry picked from commit 5200a7c7f9)
2017-07-01 19:48:07 -07:00
regexaurus c4cc5534fd Clarification to the `break` statement (GH-2453) (#GH-2457)
Clarify that the break statement breaks out of the innermost enclosing for or while loop.
(cherry picked from commit 36fc896740)
2017-06-27 19:38:22 -07:00
Benjamin Peterson bae5ddab2c fix some reference to Unicode 8 that should be to Unicode 9 (#2346) 2017-06-22 23:11:52 -07:00
Mariatta d79ac2c246 [3.6] bpo-30709: Improve code example in Descriptor HowTo doc (GH-2339) (GH-2342)
(cherry picked from commit b066edfb1b)
2017-06-22 21:24:43 -07:00
Mariatta 8baf78b98f [3.6] bpo-30619: Clarify typing.Union documentation (GH-2326) (GH-2337)
When a class and its subclass are present, the latter is skipped.
(cherry picked from commit 6580c19bbb)
2017-06-22 18:52:57 -07:00
Serhiy Storchaka a1115e1a04 [3.6] bpo-29755: Fixed the lgettext() family of functions in the gettext module. (GH-2266) (#2297)
They now always return bytes.

Updated the gettext documentation..
(cherry picked from commit 26cb4657bc)
2017-06-20 18:06:35 +03:00
Mariatta 0a4fe1d857 [3.6] bpo-30420: List cwd parameter in subprocess convenience APIs (GH-1685) (GH-2253)
Partially clarify the subprocess convenience API documentation by
explicitly listing the `cwd` parameter in their abbreviated signatures.

While this has been merged as an improvement, it doesn't fully
resolve the issue, as the `cwd` should also be covered in the
"Frequently Used Arguments" section, and the fact these APIs
pass unlisted keyword arguments down to the lower level APIs
is currently still unclear.
(cherry picked from commit 368cf1d206)
2017-06-19 20:28:16 -07:00
Mariatta 304a96e586 bpo-30176: Add missing curses cell attributes constants (GH-1302). (GH-2241)
(cherry picked from commit 116dd5eba6)
2017-06-16 07:19:56 -07:00
Mariatta 6a90a12470 bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2230)
`PyModule_New()` now refers to `PyModule_NewObject()`
(cherry picked from commit 2d0afef82a)
2017-06-15 18:49:43 -07:00
Mariatta 789f47ebb5 bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) (GH-2195)
(cherry picked from commit 184bd82ba8)
2017-06-14 11:59:37 -07:00
csabella dd47b1944d Fix trivial typo in Python Setup documentation (GH-2185) (GH-2188)
Replace platform with platforms.
(cherry picked from commit 4ebf03d109)
2017-06-14 09:26:41 -07:00
terryjreedy 22d909f8c2 [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178)
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
(cherry picked from commit 188aedf8bb)
2017-06-13 22:13:15 -04:00
Antoine Pitrou d0d63dc1e8 [3.6] Mention how to disable signal fd wakeup (GH-2140) (#2149)
(cherry picked from commit d79c1d4a94)
2017-06-13 10:23:13 +02:00
Mariatta 81c05ccc10 bpo-6519: Improve Python Input Output Tutorial (GH-2143) (GH-2145)
Move up the discussion about 'with' keyword, so it appears earlier in the document.
(cherry picked from commit bd4e9e0ca9)
2017-06-12 22:40:18 -07:00
Marco Buttu f59cac4b64 bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2136)
(cherry picked from commit dc980dfbcf)
2017-06-12 12:41:42 -07:00
Nick Coghlan e1b690370f bpo-23404: `make regen-all` What's New entry (#2128)
While the build changes won't affect most users,
they may affect redistributors and folks building
their own Python binaries from source.
2017-06-12 22:28:12 +10:00
Mariatta 47c9decb5f bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2118)
import json before using json module
(cherry picked from commit 1dbce04d0e)
2017-06-11 18:59:05 -07:00
Benjamin Peterson 2737291134 backport ssl doc fixes (#2117)
* clarify recv() and send() on SSLObject (#2100)

SSLObject has recv() and send(), but they don't do any network io.

* remove extra word (#2101)
2017-06-11 11:53:14 -07:00
Zachary Ware f57e34b672 [3.6] Use Travis to make sure all generated files are up to date (GH-2080) (GH-2092)
(cherry picked from commit 0afbabe245)

Also fixes some line endings missed in GH-840 backport.
2017-06-11 11:30:57 -05:00
KatherineMichel 865ed9ea67 bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085)
(cherry picked from commit ca81615344)
2017-06-10 13:33:57 -07:00
Mariatta 76eabd3a21 bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2065)
Mention that fnmatchcase does not call normcase, and fnmatch does.
(cherry picked from commit e5f6e86c48)
2017-06-10 07:25:33 -07:00
Mariatta 10c9a09ef4 [3.6] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches (GH-1536) (GH-2055)
Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex.
(cherry picked from commit 74921ed894)
2017-06-09 18:33:31 -07:00