Miss Islington (bot)
0e379d43ac
bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546)
...
Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases.
Also add a missing index in re.rst.
(cherry picked from commit 4a7f44a2ed
)
Co-authored-by: animalize <animalize@users.noreply.github.com>
2019-02-18 05:48:23 -08:00
Miss Islington (bot)
7a3cbcdc55
Improve readability of random module examples (GH-11884) (GH-11885)
...
Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``.
(cherry picked from commit 9abb725cea
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-02-15 12:47:04 -08:00
Miss Islington (bot)
f6097306ff
Fix the versionadded info for typing.NoReturn (GH-11880)
...
The earliest version that `typing.NoReturn` appears in is [3.5.4rc1](https://docs.python.org/3/whatsnew/changelog.htmlGH-python-3-5-4-release-candidate-1 )
(cherry picked from commit 903567e4f5
)
Co-authored-by: Jack Wilsdon <jack.wilsdon@gmail.com>
2019-02-15 11:31:28 -08:00
Miss Islington (bot)
05f41363d4
bpo-36006: Fix versionchanged directive alignment in io module documentation (GH-11881)
...
https://bugs.python.org/issue36006
(cherry picked from commit 522630a746
)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
2019-02-15 11:09:38 -08:00
Miss Islington (bot)
b8bcec35e0
bpo-30410: Documentation of sys.stdin/out/err update to reflect change in 3.6 (GH-10264)
...
Documentation of sys.stdin/out/err update to reflect change in 3.6 on Windows to use UTF-8.
Wording by Eryk Sun and Paul Moore.
https://bugs.python.org/issue30410
(cherry picked from commit 5723263a3a
)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2019-02-14 15:45:20 -08:00
Miss Islington (bot)
2259b5af3c
[3.7] bpo-22062: Updated docstring and documentation for pathlib (GH-8519) (GH-11817)
...
Original patch by Mike Short
https://bugs.python.org/issue22062
(cherry picked from commit 537b6caa56
)
Co-authored-by: Eivind Teig <eivind.teig@gmail.com>
https://bugs.python.org/issue22062
2019-02-11 04:02:57 -08:00
Miss Islington (bot)
cb9a1c72c2
Doc sidebar: 3.6 has moved to security-fix mode. (GH-11810)
...
(cherry picked from commit 9db56fb8fa
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-02-10 13:43:57 -08:00
Miss Islington (bot)
3fcfef357e
bpo-35833: Revise IDLE doc for control codes sent to Shell. (GH-11799)
...
Add a code example block.
(cherry picked from commit 8a03ff2ff4
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-02-08 20:43:20 -08:00
Miss Islington (bot)
27f6e94d5f
Fix url to core-mentorship mailing list (GH-11775)
...
(cherry picked from commit e9bc4172d1
)
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2019-02-06 12:58:00 -08:00
Inada Naoki
21ab7744ae
bpo-20001: update pathlib landing image (GH-11304)
...
(cherry picked from commit cd90f6a369
)
2019-02-05 19:39:42 +09:00
Miss Islington (bot)
a2f4c40233
bpo-26256: Document algorithm speed for the Decimal module. (GH-4808) ( #11736 )
...
(cherry picked from commit 00e9c55d27
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2019-02-02 15:46:09 +01:00
Miss Islington (bot)
09b66e027b
doc: http: Fix enum name for status code 416 (GH-11689)
...
(cherry picked from commit d97daebfa6
)
Co-authored-by: Phil Jones <philip.graham.jones@googlemail.com>
2019-01-31 02:15:29 -08:00
Inada Naoki
5901444972
bpo-35865: doc: Remove wrong note and directives (GH-11711)
...
* note about random dict order
* Remove wrong versionchanged directive
2019-01-31 17:54:55 +09:00
Miss Islington (bot)
03082a836b
bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700)
...
(cherry picked from commit a1f9a3332b
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2019-01-30 14:14:35 -08:00
Miss Islington (bot)
e31f8604e6
Document differences between random.choices() and random.choice(). (GH-11703) (GH-11706)
2019-01-30 13:49:23 -08:00
Miss Islington (bot)
7516f265a8
bpo-35835: Add reference to Python 3.7 new breakpoint() function in pdb documentation. (GH-11691)
...
(cherry picked from commit cf991e653a
)
Co-authored-by: João Matos <jcrmatos@gmail.com>
2019-01-30 09:41:51 -08:00
Miss Islington (bot)
ebae1ce9c4
bpo-25592: Improve documentation of distutils data_files (GH-9767) (GH-11701)
...
(cherry picked from commit 598e15d4fe
)
Co-authored-by: jdemeyer <J.Demeyer@UGent.be>
2019-01-30 16:56:51 +01:00
Miss Islington (bot)
ff27f8145d
Fix typo: class declaration (GH-11678)
...
(cherry picked from commit dfc8bb987d
)
Co-authored-by: nu_no <nuno.an@gmail.com>
2019-01-27 14:25:49 -08:00
Miss Islington (bot)
658ff84496
Clarify U-mode deprecation in open() (GH-11646)
...
The previous wording could be read as saying that universal
newlines mode itself was deprecated, when it's only the 'U'
character in the mode field that should be avoided.
The update also moves the description of the 'U' mode character
out of the mode table, as the longer explanation was overly
intrusive as a table entry and overshadowed the actually useful
mode characters.
(cherry picked from commit 3171df3414
)
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2019-01-27 08:27:58 -08:00
Miss Islington (bot)
c2674bf110
bpo-34134: Advise to use imap or imap_unordered when handling long iterables. (gh-8324) (gh-11673)
...
(cherry picked from commit 3bab40db96
)
Co-authored-by: Windson yang <wiwindson@outlook.com>
2019-01-25 13:08:14 +01:00
Miss Islington (bot)
3be19c082b
bpo-35781: Changed references to deprecated 'warn' method in logging documentation in favour of 'warning' (GH-11654) (GH-11657)
...
(cherry picked from commit cda73a5af2
)
Co-authored-by: yuji38kwmt <yuji38kwmt@yahoo.co.jp>
2019-01-23 07:43:37 +00:00
Miss Islington (bot)
552478bb10
bpo-35722: Updated the documentation for the 'disable_existing_loggers' parameter (GH-11525) (GH-11655)
...
(cherry picked from commit f0c743604f
)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2019-01-23 07:21:32 +00:00
Miss Islington (bot)
ebb08beb08
bpo-23156: Remove obsolete tix install directions (GH-11595)
...
Tix was deprecated in 3.6 and the doc is wrong. New users should use ttk.
(cherry picked from commit cf27c06229
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-01-17 16:07:10 -08:00
Miss Islington (bot)
6d84071514
Fixes typo in asyncio.queue doc (GH-11581)
...
Typo fix for method doc, I'm pretty sure coro is meant, because there's no consumer threads for thread-unsafe queue.
Most probably this piece of doc was copied from `queue.Queue`
There's not BPO bug for this, afaik.
(cherry picked from commit 97e12996f3
)
Co-authored-by: Slam <3lnc.slam@gmail.com>
2019-01-17 03:58:37 -08:00
Miss Islington (bot)
422db37778
bpo-35486: Note Py3.6 import system API requirement change (GH-11540)
...
While the introduction of ModuleNotFoundError was fully backwards
compatible on the import API consumer side, folks providing alternative
implementations of `__import__` need to make an update to be
forward compatible with clients that start relying on the new subclass.
https://bugs.python.org/issue35486
(cherry picked from commit cee29b46a1
)
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2019-01-17 02:48:15 -08:00
Miss Islington (bot)
0bb6b89115
bpo-35738: Update the example for timer.Timer.repeat(). (GH-11559)
...
Show correct number of repeats.
(cherry picked from commit 06f8b57212
)
Co-authored-by: Henry Chen <tahafut@gmail.com>
2019-01-15 02:49:16 -08:00
Miss Islington (bot)
a4aade2cf8
bpo-29707: Document that os.path.ismount() is not able to reliable detect bind mounts. (GH-11238)
...
(cherry picked from commit 32ebd8508d
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2019-01-15 01:01:15 -08:00
Miss Islington (bot)
678c5c0752
bpo-34512: Document platform-specific strftime() behavior for non-ASCII format strings (GH-8948)
...
(cherry picked from commit 1cffd0eed3
)
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
2019-01-12 09:27:30 -08:00
Miss Islington (bot)
8a5b1aa98f
bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)
...
Document that the time.CLOCK_MONOTONIC_RAW constant
is now also available on macOS 10.12.
Co-authored-by: Ricardo Fraile <rfraile@rfraile.eu>
(cherry picked from commit fd7d539be3
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2019-01-11 05:32:11 -08:00
Miss Islington (bot)
b9cd38f928
bpo-32146: Add documentation about frozen executables on Unix (GH-5850)
...
(cherry picked from commit bab4bbb4c9
)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
2019-01-10 10:13:21 -08:00
Miss Islington (bot)
14190000c7
Update bugs.rst (GH-11485)
...
(cherry picked from commit 91c6158dbc
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-01-09 16:00:12 -07:00
Miss Islington (bot)
2b3db49369
Add example to the documentation for calling unittest.mock.patch with create=True (GH-11056)
...
(cherry picked from commit d6acf17c05
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2019-01-09 13:50:02 -08:00
Miss Islington (bot)
5d1e0124cf
bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849)
...
(cherry picked from commit e61cc481e0
)
Co-authored-by: chrullrich <chris@chrullrich.net>
2019-01-07 19:04:14 -08:00
Miss Islington (bot)
902196d867
bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396)
...
https://bugs.python.org/issue35631
(cherry picked from commit 31ec52a9af
)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
2019-01-04 06:20:19 -08:00
Miss Islington (bot)
47c035f3ef
bpo-31450: Remove documentation mentioning that subprocess's child_traceback is available with the parent process (GH-11422)
...
(cherry picked from commit 47a2fced84
)
Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com>
2019-01-03 12:01:44 -08:00
Miss Islington (bot)
d7cb2034bb
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
...
(cherry picked from commit e9a044ec16
)
Co-authored-by: Harmandeep Singh <harmandeep3091@gmail.com>
2019-01-02 13:11:00 -08:00
Benjamin Peterson
d634abd123
[3.7] Bump copyright years to 2019. (GH-11406)
...
(cherry picked from commit 9a69ae8a78
)
2019-01-02 08:15:53 -08:00
Miss Islington (bot)
c74061d49b
Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369)
...
`set_child_watcher()` *sets* the watcher.
(cherry picked from commit 1b29c03c95
)
Co-authored-by: sth <sth.dev@tejp.de>
2018-12-30 14:07:05 -08:00
Miss Islington (bot)
b716c716b5
bpo-28097: IDLE - Add Previous/Next History to Shell menu (GH-11325)
...
(cherry picked from commit c0381aaea4
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-12-28 12:29:44 -08:00
Miss Islington (bot)
dcf14d1a98
bpo-35579: Fix typo in in asyncio-task documentation (GH-11321)
...
https://bugs.python.org/issue35579
https://bugs.python.org/issue35579
(cherry picked from commit 3a81076bbf
)
Co-authored-by: Vaibhav Gupta <vaibhgupt199@gmail.com>
2018-12-26 06:53:03 -08:00
Miss Islington (bot)
793ebdfc55
Redo PR 785 -- Add cross reference links (GH-11319) ( #11320 )
...
(cherry picked from commit 56edf3a4b1
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2018-12-25 18:00:20 -08:00
Miss Islington (bot)
7085150cdc
Minor grammar improvement in types.rst (GH-11308)
...
defines utility function -> defines utility functions
Reported in https://mail.python.org/pipermail/docs/2018-December/038693.html
(cherry picked from commit 95327bc80d
)
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2018-12-24 16:41:00 -08:00
Miss Islington (bot)
00a48d57df
bpo-34764: improve docs example of iter() with sentinel value (GH-11222) ( #11301 )
...
(cherry picked from commit d378b1f8ed
)
Co-authored-by: Chris Rands <c_rands100@hotmail.com>
2018-12-23 21:19:57 -08:00
Miss Islington (bot)
bc64123335
bpo-35566: Add links to annotation glossary term (GH-11291) (GH-11302)
2018-12-23 21:18:39 -08:00
Miss Islington (bot)
a58c8442f1
Document that dict.fromkeys accepts any iterable for keys (GH-10998) (GH-11294)
...
(cherry picked from commit f06fba5965
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2018-12-22 20:56:01 -08:00
Miss Islington (bot)
48a206978c
bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)
...
The Code Context menu label now toggles between Show/Hide Code Context.
The Zoom Height menu now toggles between Zoom/Restore Height.
Zoom Height has moved from the Window menu to the Options menu.
https://bugs.python.org/issue22703
(cherry picked from commit c1b4b0f616
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-12-21 22:41:50 -08:00
Miss Islington (bot)
aa7922ae79
[3.7] Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) (GH-11231)
...
(cherry picked from commit 82d73554e4
)
Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
2018-12-21 10:22:17 -08:00
Miss Islington (bot)
26ab036098
bpo-33830: Fix an example in http.client docs for 404. (GH-7780)
...
(cherry picked from commit f0af4c54e3
)
Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
2018-12-21 07:41:01 -08:00
Miss Islington (bot)
aae2e85af7
bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224)
...
(cherry picked from commit afe17a7bee
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2018-12-20 09:27:12 -08:00
Miss Islington (bot)
5d0498a696
bpo-35521: Add more cross-refs to IDLE docs (GH-11257)
...
Format menu and preferences.
(cherry picked from commit 292cd6e331
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-12-20 03:25:06 -08:00