Miss Islington (bot)
e2db6ad1d9
[3.7] bpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904) ( #6877 )
...
The ssl module now contains OP_NO_RENEGOTIATION constant, available with
OpenSSL 1.1.0h or 1.1.1.
Note, OpenSSL 1.1.0h hasn't been released yet.
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 67c4801663
)
Co-authored-by: Christian Heimes <christian@python.org>
2018-05-16 10:26:19 -04:00
Miss Islington (bot)
51b2f6d3a3
bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6872)
...
(cherry picked from commit 19177fbd5d
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-05-16 10:05:46 -04:00
Miss Islington (bot)
81defcc92c
Minor tweaks to dataclasses docs. (GH-6903)
...
(cherry picked from commit 7a1c027501
)
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2018-05-16 06:47:59 -07:00
Miss Islington (bot)
04e96da5e4
bpo-32216: Add documentation for dataclasses (GH-6886)
...
This is an initial version that likely requires much polishing. I'm adding it lay out the structure and so we have something to start working from.
(cherry picked from commit 98d50cb8f5
)
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2018-05-16 02:17:03 -07:00
Miss Islington (bot)
f4fdb619dd
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669) (GH-6862)
...
Also bump PendingDeprecationWarning to DeprecationWarning.
(cherry picked from commit 9eb40bc38d
)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
2018-05-15 13:30:06 -04:00
Miss Islington (bot)
cc598ae264
Add AsyncContextManager to typing module documentation. (GH-6822)
...
(cherry picked from commit b7b493e2fb
)
Co-authored-by: Travis DePrato <773453+travigd@users.noreply.github.com>
2018-05-14 18:10:47 -07:00
Miss Islington (bot)
e8f968dcde
bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStorage use the given errors (GH-6804) (GH-6837)
...
(cherry picked from commit 545c955be9
)
Co-authored-by: Amber Brown <hawkowl@atleastfornow.net>
2018-05-14 18:20:06 -04:00
Pablo Galindo
8e633a4035
bpo-20104: Remove posix_spawn from 3.7 (GH-6794)
...
Remove os.posix_spawn, the API isn't complete and we're still figuring out how it should look. wait for 3.8.
2018-05-14 17:52:43 -04:00
Miss Islington (bot)
c6348cf395
Add versionchanged in create_datagram_endpoint doc (GH-4697)
...
Most of the parameters were added in 3.4.4 (b9bf913ab3
), but this
change was not documented
(cherry picked from commit 0ded580403
)
Co-authored-by: Romuald Brunet <romuald@chivil.com>
2018-05-14 13:12:38 -07:00
Miss Islington (bot)
050e041bf7
bpo-22069: Update TextIO documentation (GH-6609)
...
Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58fa
)
Co-authored-by: Elena Oat <oat.elena@gmail.com>
2018-05-14 09:08:53 -07:00
Miss Islington (bot)
22df4187c3
bpo-26701: Tweak the documentation for special methods in int(). (GH-6741)
...
(cherry picked from commit df00f04825
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-10 07:38:06 -07:00
Miss Islington (bot)
c587235f21
Fix superfluous if in documentation. (GH-6728)
...
(cherry picked from commit b3c369861b
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-05-09 01:10:02 -07:00
Miss Islington (bot)
101d0d585f
bpo-32717: Document PEP 560 (GH-6726)
...
(cherry picked from commit bd5f96581b
)
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
2018-05-08 11:52:36 -07:00
Miss Islington (bot)
77fa7835da
bpo-20104: Improve error handling and fix a reference leak in os.posix_spawn(). (GH-6332)
...
(cherry picked from commit ef347535f2
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-01 07:18:44 -07:00
Miss Islington (bot)
2e5fa38c5a
bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467)
...
(cherry picked from commit 3ab9365dca
)
Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com>
2018-04-30 12:30:26 -07:00
Miss Islington (bot)
cebce2e8d1
bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)
...
(cherry picked from commit 9f3535c9cd
)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
2018-04-29 12:09:34 -07:00
Miss Islington (bot)
b94d7396b6
Change "non-local state" to "content-local state". (GH-6617)
...
The wording here seems wrong, as per https://bugs.python.org/msg315792
(cherry picked from commit e022bbc169
)
Co-authored-by: Tom Christie <tom@tomchristie.com>
2018-04-27 15:57:59 -07:00
Miss Islington (bot)
53d36cc961
bpo-33280: Reorganize external Tcl/Tk references. (GH-6473)
...
(cherry picked from commit 67a8f4fed3
)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-25 11:30:58 -07:00
Miss Islington (bot)
6a1799e6f0
bpo-33314: Fix rendering issues in the documentation for the os module (GH-6525) (GH-6597)
...
(cherry picked from commit d6ef6db9ff
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2018-04-25 21:30:43 +03:00
Miss Islington (bot)
f9005030fe
bpo-33297: Mention Pillow to work with more image formats. (GH-6505)
...
Also update PIL doc references to Pillow.
(cherry picked from commit b81ca28b37
)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-21 06:03:49 -07:00
Miss Islington (bot)
32955299b4
Spelling fixes to docs, docstrings, and comments (GH-6374)
...
(cherry picked from commit 61f82e0e33
)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
2018-04-20 14:00:41 -07:00
Miss Islington (bot)
b88f73749d
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
...
(cherry picked from commit 4b685bf719
)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-18 11:16:46 -07:00
Miss Islington (bot)
3b4e756b43
Revert 725476222a
(GH-6494) (GH-6495)
...
This note in documentation was never true.
(cherry picked from commit a00d440edb
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2018-04-16 20:35:06 -07:00
Ethan Furman
3715176557
[3.7] bpo-33217: deprecate non-Enum lookups in Enums (GH-6392)
...
deprecate non-Enum lookups in Enums
Lookups such as `1 in Color` and `2 in SomeFlag()` will raise TypeError
in 3.8+.
2018-04-11 18:56:25 -07:00
Miss Islington (bot)
cbbf746186
Fix error messages in argparse examples (GH-6435)
...
The examples in argparse documentation use `error: too few arguments`
error message which was removed in this commit f97c59a
in 2011.
(cherry picked from commit 04e8293465
)
Co-authored-by: suic86 <marko.gabriel.cz@gmail.com>
2018-04-11 11:58:09 -07:00
Miss Islington (bot)
b571958f54
Improve highlighting of some code blocks. (GH-6401)
...
(cherry picked from commit 46936d5a71
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-09 07:56:44 -07:00
Miss Islington (bot)
8a72266eca
Add a prepend() recipe to teach a chain() idiom (GH-6415) (GH-6421)
...
(cherry picked from commit 9265dd72e5
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2018-04-08 14:37:30 -07:00
Miss Islington (bot)
98e8ac8d82
[3.7] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6404)
...
(cherry picked from commit ef5ce884a4
)
Co-authored-by: Jay Crotts <crotts.jay@gmail.com>
2018-04-06 22:00:06 -04:00
Brett Cannon
a09bb87c1e
[3.7] bpo-33169: Remove values of `None` from sys.path_importer_cache when invalidating caches (GH-6402) (GH-6403)
...
An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
(cherry picked from commit 9e2be60634
)
2018-04-06 17:02:18 -07:00
Miss Islington (bot)
252f10cbac
fixed capitalization of class name (GH-6396) (GH-6397)
...
(cherry picked from commit 1d87c7b80b
)
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2018-04-06 08:46:05 -04:00
Miss Islington (bot)
9216dffbc8
bpo-32337: Update documentats about dict order (GH-4973)
...
(cherry picked from commit dfbbbf16f9
)
Co-authored-by: hui shang <shangdahao@gmail.com>
2018-04-03 22:01:46 -07:00
Miss Islington (bot)
0c533573c5
bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001)
...
(cherry picked from commit 629338f140
)
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-04-02 21:31:27 -07:00
Miss Islington (bot)
f6d1d65803
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
...
(cherry picked from commit badb894bbb
)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-02 20:33:38 -07:00
Miss Islington (bot)
ab84572321
bpo-20104: Add os.posix_spawn documentation. (GH-6334)
...
(cherry picked from commit 79760ed256
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2018-04-01 12:13:37 -07:00
Miss Islington (bot)
7dcfd6c663
Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)
...
(cherry picked from commit 233de021d9
)
Co-authored-by: Mike DePalatis <mike@depalatis.net>
2018-03-30 00:48:45 -07:00
Miss Islington (bot)
a470b7462d
Fix typos '.::' should typically just be '::'. (GH-6165) (GH-6300)
...
(cherry picked from commit 78553138be
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-03-29 04:34:44 -04:00
Miss Islington (bot)
a48614bee5
FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207) (GH-6302)
...
(cherry picked from commit 79c3bab35c
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-03-29 04:33:47 -04:00
Serhiy Storchaka
fd93666c8a
[3.7] Fix duplicating words words. (GH-6296) (GH-6297)
...
Most of them have been added in 3.7.
(cherry picked from commit bac2d5ba30
)
2018-03-28 23:05:24 +03:00
Miss Islington (bot)
211c0dbc6a
Fix senfile typo (GH-6265) ( #6274 )
...
* Also in docs
(cherry picked from commit 65a34709f6
)
Co-authored-by: Sam Dunster <me@sdunster.com>
2018-03-27 18:34:15 -07:00
Miss Islington (bot)
f328caf4ca
bpo-27212: Modify islice recipe to consume initial values preceding start (GH-6195) (#GH-6266)
...
(cherry picked from commit da1734c58d
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-03-26 19:23:34 -07:00
Miss Islington (bot)
d01a805a38
Corrected link targets in collections.rst (GH-1052)
...
(cherry picked from commit e105294708
)
Co-authored-by: Michael Seifert <michaelseifert04@yahoo.de>
2018-03-26 05:52:35 -07:00
Miss Islington (bot)
bc3e009f65
Clarify fd inheritance when close_fds=False. (GH-6240)
...
Clarify the subprocess documentation.
(cherry picked from commit dfb6e54dd8
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2018-03-25 10:40:38 -07:00
Nick Coghlan
ee3784594b
bpo-33053: -m now adds *starting* directory to sys.path (GH-6231) ( #6236 )
...
Historically, -m added the empty string as sys.path
zero, meaning it resolved imports against the current
working directory, the same way -c and the interactive
prompt do.
This changes the sys.path initialisation to add the
*starting* working directory as sys.path[0] instead,
such that changes to the working directory while the
program is running will have no effect on imports
when using the -m switch.
(cherry picked from commit d5d9e02dd3
)
2018-03-25 23:43:50 +10:00
Miss Islington (bot)
45738ede5a
bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061)
...
(cherry picked from commit 5cbb84106e
)
Co-authored-by: Himanshu Lakhara <himanshulakhara1947@gmail.com>
2018-03-23 14:41:26 -07:00
Miss Islington (bot)
f8d2c3cf5f
bpo-31639: Use threads in http.server module. (GH-5018)
...
(cherry picked from commit 8bcfa02e4b
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-03-23 13:31:20 -07:00
Miss Islington (bot)
67d3f8b85a
Fix a reference to the MRE book in re docs (GH-1113)
...
Reported by Maksym Nikulyak on docs.p.o.
(cherry picked from commit a0a42d22d8
)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
2018-03-23 18:55:26 +03:00
Miss Islington (bot)
3326c9267f
bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)
...
The result of host() was not empty when the network is constructed by a tuple containing an
integer mask and only 1 bit left for addresses.
(cherry picked from commit 10b134a07c
)
Co-authored-by: Xiang Zhang <angwerzx@126.com>
2018-03-20 18:22:23 -07:00
Miss Islington (bot)
a323eee4c4
bpo-18802: Add more details to ipaddress documentation (GH-6083)
...
Original patch by Jon Foster and Berker Peksag.
(cherry picked from commit 5609b78392
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-03-20 17:30:43 -07:00
Miss Islington (bot)
a70b8f5936
bpo-28247: Document Windows executable creation in zipapp (GH-6158)
...
(cherry picked from commit 4be79f2946
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-03-20 15:44:21 -07:00
Miss Islington (bot)
ee28cd57df
Fix docs markup for asyncio current_task() and all_tasks() (GH-6089)
...
(cherry picked from commit b21505e710
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2018-03-12 12:12:05 -07:00