Miss Islington (bot)
307e7a4264
Fix typo (GH-12878)
...
"sychronization" -> "synchronization"
(cherry picked from commit 3e986de0d6
)
Co-authored-by: Fredrik Averpil <fredrik@averpil.com>
2019-04-20 16:12:23 -07:00
Miss Islington (bot)
d29b3dd922
bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866)
...
GH- [bpo-36651](https://bugs.python.org/issue36651 ): Fixed Asyncio Event Loop documentation inconsistency
In the documentation for the call_later and the call_at methods there is a note which says that the delay cannot be longer than a day, but both methods have a note saying that this limitation was removed in Python 3.8
Here I fixed this issue by removing the pre-exising note and added a versionchanged.
To test my changes I have rebuilt the documentation with ```make html```. I did not have any errors and the effected page displayed correctly on a browser.
https://bugs.python.org/issue36651
(cherry picked from commit 7e954e7de4
)
Co-authored-by: Enrico Alarico Carbognani <enrico.carbognani@gmail.com>
2019-04-18 05:49:24 -07:00
Miss Islington (bot)
21c8caa16a
Fix wrong indentation of a paragraph in documentation (GH-12868)
...
This paragraph doesn't seem to be a part of code, but merged into previous code block.
(cherry picked from commit 9941f963fe
)
Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
2019-04-17 18:00:37 -07:00
Miss Islington (bot)
a6fce19968
bpo-33783: Use proper class markup for random.Random docs (GH-7817) (GH-12859)
...
Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
(cherry picked from commit 31e8d69bfe
)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
2019-04-16 23:32:32 +02:00
Miss Islington (bot)
871ba6c848
Doc: update PendingDeprecationWarning explanation (GH-12837)
...
Keep the nudge towards DeprecationWarning, but remove the
"Note" markup and generally shorten the description.
Ref: https://github.com/python/cpython/pull/12505/filesGH-r273978757
(cherry picked from commit a3283efd30
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-04-15 05:48:31 -07:00
Pablo Galindo
7723d0545c
[3.7] bpo-36427: Document that PyEval_RestoreThread and PyGILState_Ensure can terminate the calling thread (GH-12541) (GH-12820)
...
Calling these function from a thread when the runtime is finalizing will terminate
the thread, even if the thread was not created by Python. Users can use
_Py_IsFinalizing or sys.is_finalizing to check if the interpreter is in the process of
being finalized before calling this function to avoid unwanted termination.
(cherry picked from commit fde9b33
)
2019-04-14 03:49:17 +01:00
Miss Islington (bot)
be63df287a
Doc: define PY_SSIZE_T_CLEAN always (GH-12794)
...
(cherry picked from commit c88feceb44
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-04-12 18:56:50 -07:00
Miss Islington (bot)
b759a2c5b9
bpo-35581: Document @typing.type_check_only (GH-11312)
...
(cherry picked from commit 1e8295402b
)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2019-04-12 15:47:57 -07:00
Miss Islington (bot)
395bb94a7f
bpo-33922: Adding documentation for new "-64" suffix of Python launcher (GH-7849)
...
Since bpo-30291 it is possible to specify the architecture of Python when using the launcher
(cherry picked from commit 1e2ad6c275
)
Co-authored-by: mrh1997 <mrh1997@users.noreply.github.com>
2019-04-12 15:32:33 -07:00
Miss Islington (bot)
a910c2c6f3
bpo-34839: Add a 'before 3.6' in the section 'warnings' of doctest (GH-9736)
...
(cherry picked from commit 0522fd81dc
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2019-04-11 23:27:27 -07:00
Victor Stinner
9e23f0a27c
[3.7] bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770) (GH-12788)
...
* bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770)
Replace _PyMem_IsFreed() function with _PyMem_IsPtrFreed() inline
function. The function is now way more efficient, it became a simple
comparison on integers, rather than a short loop. It detects also
uninitialized bytes and "forbidden bytes" filled by debug hooks
on memory allocators.
Add unit tests on _PyObject_IsFreed().
(cherry picked from commit 2b00db6855
)
* bpo-36389: Change PyMem_SetupDebugHooks() constants (GH-12782)
Modify CLEANBYTE, DEADDYTE and FORBIDDENBYTE constants: use 0xCD,
0xDD and 0xFD, rather than 0xCB, 0xBB and 0xFB, to use the same byte
patterns than Windows CRT debug malloc() and free().
(cherry picked from commit 4c409beb4c
)
2019-04-11 22:30:31 +02:00
Inada Naoki
ac31da8f37
bpo-36597: fix random doctest failure (GH-12778)
2019-04-11 19:37:53 +09:00
Miss Islington (bot)
04b114eede
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
...
(cherry picked from commit efc4870149
)
Co-authored-by: pewscorner <pewscorner@users.noreply.github.com>
2019-04-11 03:18:48 -07:00
Miss Islington (bot)
a8c4fa5319
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
...
(cherry picked from commit b5e2959b27
)
Co-authored-by: Christopher Thorne <libcthorne@users.noreply.github.com>
2019-04-10 23:18:07 -07:00
Miss Islington (bot)
59fd08c25c
better __init__.py explanation in tutorial (GH-12763)
...
* better __init__.py explanation in tutorial
* Update Doc/tutorial/modules.rst
Co-Authored-By: methane <songofacandy@gmail.com>
(cherry picked from commit 5410d3d283
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-04-10 23:16:34 -07:00
Miss Islington (bot)
9d2ccf173e
bpo-14826: document that URLopener quotes fullurl. (GH-12758)
...
(cherry picked from commit 2fb2bc81c3
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2019-04-10 02:30:22 -07:00
Miss Islington (bot)
0a16bb15af
closes bpo-35848: Move all documentation regarding the readinto out of IOBase. (GH-11893)
...
Move all documentation regarding the readinto method into either io.RawIOBase or io.BufferedIOBase.
Corresponding changes to documentation in the _pyio.py module.
(cherry picked from commit 7b97ab35b2
)
Co-authored-by: Steve Palmer <steve@srpalmer.me.uk>
2019-04-08 21:57:31 -07:00
Miss Islington (bot)
1f0ff57acb
Correct "inplace" with "in-place" (GH-10480)
...
(cherry picked from commit f4efa312d1
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-04-08 02:21:38 -07:00
Miss Islington (bot)
a9a065addd
bpo-9883: Update list of unimplemented interfaces in minidom. (GH-12677)
...
Remove names from the "unimplemented interfaces" list
in the minidom docs that are actually implemented.
(cherry picked from commit 2ea8099523
)
Co-authored-by: Stefan Behnel <stefan_ml@behnel.de>
2019-04-07 19:55:58 -07:00
Miss Islington (bot)
1bc6cd7066
Fix doc for create_subprocess_exec (GH-12598)
...
Add missing `program` argument to asyncio.create_subprocess_exec documentation.
(cherry picked from commit 1328375ad1
)
Co-authored-by: Dima Tisnek <dimaqq@gmail.com>
2019-04-05 07:08:31 -07:00
Miss Islington (bot)
86fbe0287d
bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning (GH-12505)
...
(cherry picked from commit 176d26364b
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-04-05 02:07:21 -07:00
Miss Islington (bot)
ef516d11c1
bpo-32413: Add documentation that at the module level, locals(), globals() are the same dictionary (GH-5004)
...
https://bugs.python.org/issue32413
(cherry picked from commit 1c5fa5af8a
)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
2019-04-02 11:14:50 -07:00
Miss Islington (bot)
9a838c593f
bpo-35838: document optionxform must be idempotent (GH-12656)
...
(cherry picked from commit 04694a306b
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-04-02 02:29:16 -07:00
Miss Islington (bot)
35fc38e5e8
bpo-36157:Document PyInterpreterState_Main() (GH-12238)
...
I have added documentation for `PyInterpreterState_Main()`.
I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` .
https://bugs.python.org/issue36157
(cherry picked from commit 8c61739def
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2019-04-01 08:15:10 -07:00
Inada Naoki
8384670615
bpo-20844: open script file with "rb" mode (GH-12616)
...
(cherry picked from commit 10654c19b5
)
2019-04-01 21:02:51 +09:00
Miss Islington (bot)
128e40f06f
C API docs: Py_IsInitialized is always safe to call (GH-12630)
...
(cherry picked from commit ddbb978e10
)
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2019-03-30 04:29:43 -07:00
Miss Islington (bot)
5b80cb5584
bpo-17110: doc: add note how to get bytes from sys.argv (GH-12602)
...
(cherry picked from commit 38f4e468d4
)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2019-03-29 22:38:14 -07:00
Miss Islington (bot)
40ee9a3640
Fixed capital letters missing and missing . (GH-12584)
...
No `bpo` for minor doc fix
(cherry picked from commit 3d78c4a6e5
)
Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
2019-03-28 19:11:06 -07:00
Miss Islington (bot)
1d9f1a0c96
bpo-36425: Add Simplified Chinese to the language switcher (GH-12537)
...
(cherry picked from commit 45a5fdb91c
)
Co-authored-by: zhsj <zsj950618@gmail.com>
2019-03-28 11:12:39 -07:00
Miss Islington (bot)
101ddba62d
Doc: Fixed missing punctuation in datamodel.rst (GH-12581)
...
(cherry picked from commit 1fc5bf2ff2
)
Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
2019-03-27 03:18:36 -07:00
Miss Islington (bot)
ead1579598
bpo-33832: Add "magic method" glossary entry (GH-7630)
...
(cherry picked from commit f760610bdd
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-03-26 18:26:52 -07:00
Miss Islington (bot)
e16599c48c
Minor doc improvement (GH-10341)
...
Change "star-operator" to "* operator".
(cherry picked from commit dfd775a0b1
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-03-26 18:23:54 -07:00
Miss Islington (bot)
5ac626350e
bpo-34203: FAQ: improve wording of paragraph about 2.x vs. 3.x (GH-9821)
...
(cherry picked from commit 6cd658b1a5
)
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
2019-03-26 14:20:29 -07:00
Miss Islington (bot)
eb94e5b3ec
Fix "the the" in the idle docs. (GH-12549)
...
(cherry picked from commit 577277f669
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2019-03-25 21:52:39 -07:00
Miss Islington (bot)
b23b08623a
bpo-34085: Improve wording on classmethod/staticmethod (GH-8228)
...
* bpo-34085: Improve wording on classmethod/staticmethod
* Address comments from Éric
* Address comments from Éric
(cherry picked from commit 548cb6060a
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-03-25 16:00:00 -07:00
Miss Islington (bot)
f3c5535f63
Add note to Queue.get() docs about block=True (GH-2223) (GH-12538)
...
(cherry picked from commit 713a8ae792
)
Co-authored-by: Stephen Rosen <sirosen@globus.org>
2019-03-25 13:03:16 -07:00
Miss Islington (bot)
fc00102363
bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples (GH-4434)
...
(cherry picked from commit 13c1f72cd1
)
Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
2019-03-24 14:56:27 -07:00
Miss Islington (bot)
4d5f1a4bb9
[3.7] Replace "DOS box" with link to Windows FAQ. (GH-12390) (GH-12525)
...
(cherry picked from commit 6661c1720e
)
Co-authored-by: Ned Deily <nad@python.org>
2019-03-24 12:12:05 -07:00
Miss Islington (bot)
9cdac5ced6
bpo-33319: Clarify subprocess call docs. (GH-12508)
...
Clarify capturing or suppressing stdout and stderr on the old call APIs.
Do not state that they are equivalent to run() calls when they are not implemented using run as that was misleading. Unlike run they cannot handle stdout or stderr being set to PIPE without a risk of deadlock.
(cherry picked from commit 7a2e84c348
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2019-03-23 00:46:15 -07:00
Miss Islington (bot)
868581ee76
bpo-35155: clarify protocol handler method naming (GH-10313)
...
Clarify that the naming of protocol handler methods shouldn't be literally called "protocol" but should be named after the actual protocol.
https://bugs.python.org/issue35155
(cherry picked from commit dd7c4ceed9
)
Co-authored-by: Denton Liu <liu.denton+github@gmail.com>
2019-03-22 16:30:04 -07:00
Miss Islington (bot)
cb2d71b28e
bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459)
2019-03-22 01:04:21 -07:00
Julien Palard
756cfd8892
[3.7] bpo-35564: add master_doc='contents' to conf.py (GH-12460)
...
(cherry picked from commit fc8284e220
)
Co-authored-by: Jean-François B <jfbu@free.fr>
2019-03-20 10:40:30 +01:00
Miss Islington (bot)
bedfbc790e
bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) (GH-12395)
...
(cherry picked from commit 23581c018f
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-03-18 00:48:02 -07:00
Mariatta
76ff715e03
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)
...
(cherry picked from commit dc69f69f14
)
Co-authored-by: Joan Massich <mailsik@gmail.com>
2019-03-17 16:53:06 -07:00
Miss Islington (bot)
68e0ed6a90
Update the seealso entries for namedtuple() (GH-12373)
...
* Replace external recipe link with a link to the dataclasses module.
* Highlight the class definition syntax for typing.NamedTuple
and add an example for clarity.
(cherry picked from commit 9c68543f02
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-03-16 13:01:35 -07:00
Miss Islington (bot)
e213cd6325
bpo-36138: Clarify docs about converting datetime.timedelta to scalars. (GH-12137)
...
Be explicit that timedelta division converts an overall duration to the interval
units given by the denominator.
(cherry picked from commit f40b4a0b62
)
Co-authored-by: Yasser A <yalshalaan@gmail.com>
2019-03-15 21:03:43 -07:00
Miss Islington (bot)
2c177ec6c5
[3.7] Doc: Fix inconsistency in multiprocessing (GH-12273) (GH-12275)
...
(cherry picked from commit d9bd8ec2a4
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-03-11 07:23:30 -07:00
Miss Islington (bot)
87f5255cdc
bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)
...
(cherry picked from commit 1aeeaeb79e
)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2019-03-10 04:36:18 -07:00
Miss Islington (bot)
ae2378af3e
Fix padding on asyncio.IncompleteReadError docs (GH-12258)
...
(cherry picked from commit 11205b8030
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-03-10 04:12:12 -07:00
Steve Dower
daad2c482c
bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201)
2019-03-07 09:08:18 -08:00
Miss Islington (bot)
bf44f48b63
Fix the documentation for set.copy() (GH-12176)
...
Remove 's' mention as there's no argument.
(cherry picked from commit e942e7b5c9
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-03-06 21:30:33 -08:00
Miss Islington (bot)
ca5ba3c8ac
bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204)
...
(cherry picked from commit ecc161d120
)
Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com>
2019-03-06 21:24:55 -08:00
Miss Islington (bot)
bf35cc2593
Doc: Use `option` word for command line interface. (GH-12142)
...
For command line option, `option` is better than `parameter`.
(cherry picked from commit 0983fcd0d5
)
Co-authored-by: NAKAMURA Osamu <osamu0329nakamura@users.noreply.github.com>
2019-03-04 20:49:47 -08:00
Miss Islington (bot)
3f1f9f0eee
Fixed a missing . and a missing capital letter. (GH-12170)
...
(cherry picked from commit 7e9ce4c89e
)
Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
2019-03-04 11:41:31 -08:00
Miss Islington (bot)
84fa6b9e59
bpo-20906: Various revisions to the Unicode howto (GH-8394)
...
* bpo-20906: Corrections & revisions to Unicode HOWTO
* bpo-34484: don't describe range as a Private Use Area
(cherry picked from commit 97c288df61
)
Co-authored-by: Andrew Kuchling <amk@amk.ca>
2019-03-04 05:01:47 -08:00
Cheryl Sabella
7dc322f8a5
[3.7] Add versionadded directives to ssl.minimum_version and ssl.maxi… (GH-12101)
...
…mum_version (GH-11894).
(cherry picked from commit ae2ea33d5d
)
Co-authored-by: Zhiming Wang <i@zhimingwang.org>
2019-02-28 10:11:35 -08:00
Miss Islington (bot)
661151b341
Document the surprising sideeffect PyErr_Print(). (GH-12081)
...
Did you know an API documented as printing the pending traceback would sometimes exit the process?
You do now.
(cherry picked from commit 4173772031
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2019-02-27 15:45:28 -08:00
Miss Islington (bot)
79e72591b1
Fix grammar error in timeit module docs (GH-12066)
...
skip issue
skip news
(cherry picked from commit 4064089fce
)
Co-authored-by: Shiv Dhar <shivdhar@gmail.com>
2019-02-27 15:27:36 -08:00
Miss Islington (bot)
197e46829b
[3.7] Update FAQ to point to Infrastructure Team website. (GH-12077) (GH-12078)
...
(cherry picked from commit ccb92e814d
)
Co-authored-by: Ned Deily <nad@python.org>
2019-02-27 14:29:13 -08:00
Serhiy Storchaka
95fc8e687c
[3.7] bpo-28450: Fix and improve the documentation for unknown escapes in RE. (GH-11920). (GH-12029)
...
(cherry picked from commit a180b007d9
)
2019-02-25 18:28:53 +02:00
Miss Islington (bot)
a1caf65d5e
Remove empty Dictionaries section from programming FAQ (GH-12026)
...
(cherry picked from commit 55e335d7d5
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2019-02-25 08:27:54 -08:00
Miss Islington (bot)
d14999b184
Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. (GH-11929)
...
(cherry picked from commit d90a141bb9
)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2019-02-25 07:18:20 -08:00
Miss Islington (bot)
38aea4131f
bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
...
(cherry picked from commit d610116a2e
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-02-23 20:23:08 -08:00
Miss Islington (bot)
6163210089
bpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941)
...
(cherry picked from commit a40681dd5d
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2019-02-22 06:03:26 -08:00
Miss Islington (bot)
1b2ff9ff09
Include the --prompt flag in venv's help output (GH-10711)
...
Document usage of the existing `--prompt` option in the command line help.
(cherry picked from commit 3208880f1c
)
Co-authored-by: Holger Frey <socials@holgerfrey.de>
2019-02-22 03:14:08 -08:00
Julien Palard
22bfe637ca
[3.7] Doc: Missing backquotes. (GH-11982) (GH-11985)
...
(cherry picked from commit 6e240ddd0d
)
Co-authored-by: Julien Palard <julien@palard.fr>
2019-02-22 00:56:06 -08:00
Miss Islington (bot)
b046f1bada
bpo-28235: Fix xml.etree.ElementTree.fromstring docs (GH-11903)
...
(cherry picked from commit e5458bdb6a
)
Co-authored-by: Manjusaka <lizheao940510@gmail.com>
2019-02-21 16:45:31 -08:00
Miss Islington (bot)
7121a6eeb7
bpo-36060: Document how collections.ChainMap() determines iteration order (GH-11969) (GH-11978)
...
(cherry picked from commit 86f093f71a
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-02-21 09:47:46 -08:00
Miss Islington (bot)
3bd3a71a1a
Document other performance implication for __slots__ (GH-11974) (GH-11975)
...
(cherry picked from commit 7463884f69
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-02-21 09:10:20 -08:00
Miss Islington (bot)
300605990d
bpo-36059: Update OrderedDict() docs to reflect that regular dicts are now ordered (GH-11966) (GH-#11972)
...
(cherry picked from commit 49fd6dd887
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-02-21 00:18:51 -08:00
Miss Islington (bot)
92ac01b104
Doc: fix example for iter() function. (GH-11959)
...
read() returns bytes for a file opened in binary mode,
so b'' should be used as a sentinel instead of ''.
Otherwise the loop will be infinite.
(cherry picked from commit 11fa0e48a9
)
Co-authored-by: Cristian Ciupitu <cristian.ciupitu@yahoo.com>
2019-02-20 23:59:28 -08:00
Miss Islington (bot)
14baf06feb
bpo-31982: Improve sequence of presentation in ChainMap docs (GH-11960) (GH-11961)
...
https://bugs.python.org/issue31982
(cherry picked from commit 9b0c681e2d
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-02-20 14:23:29 -08:00
Miss Islington (bot)
bb9ddee3d4
bpo-35584: Clarify role of caret in a class class (GH-11946) (GH-11947)
...
https://bugs.python.org/issue35584
(cherry picked from commit 3bacf61265
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2019-02-19 12:25:54 -08:00
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
Miss Islington (bot)
73fc14d1f8
bpo-18085: Update refcounts.dat. (GH-11247)
...
Fixed some errors in refcounts.dat, remove functions removed in
Python 3, and add more entries for documented functions. This will
add several automatically generated notes about return values.
(cherry picked from commit 83dd4e87a6
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-12-19 23:43:22 -08:00
Miss Islington (bot)
3f93383127
bpo-35521: IDLE: Add code context section to docs (GH-11205)
...
Also add some internal cross-references.
(cherry picked from commit 01421bec1e
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-12-19 21:59:22 -08:00
Miss Islington (bot)
29d4e309b1
bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243)
...
Makes the documentation more comprehensive in terms of indicating
whether or not a function returns a new reference.
Also fixes some errors and adds missing functions.
(cherry picked from commit b2f642ccd2
)
Co-authored-by: Mat M <mathew1800@gmail.com>
2018-12-19 12:03:20 -08:00
Miss Islington (bot)
e2e6f907fd
Fix documented signatures for C API functions. (GH-11236)
...
(cherry picked from commit 57dd79e6f7
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-12-19 05:43:29 -08:00
Miss Islington (bot)
a11d44056e
bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162)
...
(cherry picked from commit 92330c0b6d
)
Co-authored-by: Manjusaka <lizheao940510@gmail.com>
2018-12-19 04:05:48 -08:00
Julien Palard
a9ed8fcdba
bpo-35472: Doc: For Python 3.7 Sphinx 1.6.6 is enough. (GH-11192)
2018-12-19 11:14:55 +01:00
Serhiy Storchaka
1e47fbcf78
[3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232)
...
(cherry picked from commit 2b57c43f21
)
2018-12-19 09:28:12 +02:00
Miss Islington (bot)
12f3979b38
bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145) (GH-11221)
...
(cherry picked from commit e3666fc8ef
)
Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com>
2018-12-18 16:52:37 -05:00
Miss Islington (bot)
f265afec1c
bpo-35461: Document C API functions which suppress exceptions. (GH-11119)
...
(cherry picked from commit 3fcc1e08db
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-12-18 12:24:39 -08:00
Miss Islington (bot)
605ef6e534
bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142)
...
(cherry picked from commit bdabb0737c
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-12-17 07:48:29 -08:00
Miss Islington (bot)
c367d52a74
bpo-23451: Update time.monotonic() documentation (GH-11190)
...
bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer,
time.monotonic() is now always system-wide.
(cherry picked from commit 3ab064e80a
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
2018-12-17 03:31:03 -08:00
Miss Islington (bot)
d5176fe2bc
bpo-35450: reflect in docs that venv module is not always creating a copy of the Python binary (GH-11144) (GH-11167)
...
https://bugs.python.org/issue35450
(cherry picked from commit f5107dfd42
)
Co-authored-by: mkkot <marcin2006@gmail.com>
2018-12-14 12:38:23 -08:00
Miss Islington (bot)
527008599d
Fixed missing colun in library/sys.po (GH-11153)
...
GH- Fixed missing colun in library/sys.po
[bpo-35492](https://bugs.python.org/issue35492 ): Fixed missing colun in library/sys.po
(cherry picked from commit cb0f5e29e3
)
Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
2018-12-14 03:35:55 -08:00
Steve Dower
0e4ad88ff8
bpo-34977: Add Windows App Store package (GH-11027)
...
Also adds the PC/layout script for generating layouts on Windows.
2018-12-10 19:58:52 -08:00
Miss Islington (bot)
b3ffe47bcb
Fix numbered lists in stdtypes.rst. (GH-10989)
...
(cherry picked from commit de9e9b476e
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2018-12-10 12:51:32 -08:00
Steve Dower
b264c60985
[3.7] bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029)
2018-12-10 08:11:34 -08:00
Miss Islington (bot)
331bfa4f2c
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
...
(cherry picked from commit e328753d91
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2018-12-09 11:48:35 -08:00
Julien Palard
b6b77955f2
[3.7] Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423) (GH-10344)
...
(cherry picked from commit c03bf0ae79
)
2018-12-08 21:56:59 -08:00
Serhiy Storchaka
0d5730e643
[3.7] bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022)
...
encoding='latin1' should be used for successful decoding.
(cherry picked from commit 8452ca15f4
)
2018-12-07 14:56:02 +02:00
Miss Islington (bot)
72c71956ca
Add missing period in distutils.dep_util.newer_group doc (GH-11003)
...
(cherry picked from commit c9566b8c45
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2018-12-06 13:30:13 -08:00
Miss Islington (bot)
f913d44eb7
Clarify expectedFailure in the unittest docs. (GH-10953)
...
(cherry picked from commit 91f259b478
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2018-12-06 13:16:03 -08:00
Mariatta
c28317e4c2
[3.7] Fix typo in xml.dom.minidom documentation (GH-10956) (GH-10961)
...
Escape the \t and \n.
Follow up from https://github.com/python/cpython/pull/10814 ..
(cherry picked from commit 2d8f976cde
)
Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
2018-12-05 16:24:44 -08:00
Miss Islington (bot)
022d7bc7cc
Fix typos in concurrent.Futures documentation (GH-10920)
...
Add a missing word `as` in `as well as an`.
Linkify `threading.Thread`.
(cherry picked from commit 40a61da40d
)
Co-authored-by: Matt Wheeler <m@funkyhat.org>
2018-12-05 14:17:28 -08:00
Miss Islington (bot)
349d9910b2
Correct a couple of unbalanced parenthesis. (GH-10779)
...
(cherry picked from commit 55f41e45b4
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2018-12-05 12:15:54 -08:00
Miss Islington (bot)
d2c7c1f768
Move __missing__ after __delitem__ in Data model. (GH-10923)
...
(cherry picked from commit 1ce853f377
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2018-12-05 12:11:16 -08:00
Miss Islington (bot)
6627d3ae1e
bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)
...
Fixes `loop.add_writer` and `loop.add_signal_handler` method documentation to correctly reference the callback parameter from method signature.
https://bugs.python.org/issue35395
(cherry picked from commit 1747334794
)
Co-authored-by: Naglis <naglis@users.noreply.github.com>
2018-12-03 23:36:31 -08:00
Miss Islington (bot)
e8f9e4785c
bpo-35226: Fix equality for nested unittest.mock.call objects. (GH-10555)
...
Also refactor the call recording imolementation and add some notes
about its limitations.
(cherry picked from commit 8ca0fa9d2f
)
Co-authored-by: Chris Withers <chris@withers.org>
2018-12-03 21:54:44 +00:00
Miss Islington (bot)
6cb0486ce8
bpo-35341: Add generic version of OrderedDict to typing (GH-10850)
...
(cherry picked from commit 68b56d02ef
)
Co-authored-by: Ismo Toijala <ismo.toijala@gmail.com>
2018-12-02 08:14:44 -08:00
E Kawashima
7da9755021
[3.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10824)
...
(cherry picked from commit b7c2182604
)
2018-12-01 14:19:39 +02:00
Miss Islington (bot)
0df1f4576e
Fix typo in Memory Management doc. (GH-10798)
...
(cherry picked from commit a407004391
)
Co-authored-by: Kevin Adler <kadler@us.ibm.com>
2018-11-30 00:05:51 -08:00
Miss Islington (bot)
e754159ef0
bpo-16086: Fix PyType_GetFlags() documentation (GH-10758) (GH-10789)
...
PyType_GetFlags() return type is unsigned long, not long.
(cherry picked from commit 9fbcfc08e5
)
Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com>
2018-11-29 12:07:33 +01:00
Miss Islington (bot)
24b51b1a49
bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)
...
Unconditional forcing of ``CHECKED_HASH`` invalidation was introduced in
3.7.0 in bpo-29708. The change is bad, as it unconditionally overrides
*invalidation_mode*, even if it was passed as an explicit argument to
``py_compile.compile()`` or ``compileall``. An environment variable
should *never* override an explicit argument to a library function.
That change leads to multiple test failures if the ``SOURCE_DATE_EPOCH``
environment variable is set.
This changes ``py_compile.compile()`` to only look at
``SOURCE_DATE_EPOCH`` if no explicit *invalidation_mode* was specified.
I also made various relevant tests run with explicit control over the
value of ``SOURCE_DATE_EPOCH``.
While looking at this, I noticed that ``zipimport`` does not work
with hash-based .pycs _at all_, though I left the fixes for
subsequent commits.
(cherry picked from commit a6b3ec5b6d
)
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
2018-11-28 09:45:36 -08:00
Julien Palard
9c16bc2c3d
[3.7] Doc: Delete "how do I emulate os.kill" section in Windows FAQ (GH-10487) (GH-10767)
2018-11-28 07:53:23 -08:00
Julien Palard
6f8cab0db0
[3.7] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) (GH-10722)
...
(cherry picked from commit 5719f275b7
)
Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com>
https://bugs.python.org/issue35255
2018-11-26 09:05:48 -08:00
Miss Islington (bot)
c707400727
bpo-35300: Add usage note to the lru_cache() docs (GH-10707) (GH-10708)
2018-11-25 17:00:37 -08:00
Miss Islington (bot)
89a3087d40
bpo-32035: Fix words about strings and bytes in zipfile documentation. (GH-10592)
...
(cherry picked from commit 4bb186d7e2
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-11-25 01:30:37 -08:00
Miss Islington (bot)
70cc092340
Linkify SMTP.quit() in smtplib documentation. (GH-9785)
...
(cherry picked from commit ba57963a95
)
Co-authored-by: takey <taketakeyyy@gmail.com>
2018-11-23 08:59:05 -08:00
Miss Islington (bot)
df6374e15a
bpo-31146: Don't fallback switcher to english on not-yet pusblished languages. (GH-10558)
...
(cherry picked from commit 6b73bb523a
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-11-21 14:46:30 -08:00
Miss Islington (bot)
3b7258a5a5
[3.7] bpo-35035: Rename email.utils documentation to email.utils.rst (GH-10023)
...
I'll watch for 404 on the old URL and will setup an HTTP redirection if needed.
(cherry picked from commit 361e8683e7
)
Co-authored-by: Zhiming Wang <github@zmwang.pw>
2018-11-21 13:54:17 +01:00
Miss Islington (bot)
d170e594b2
bpo-35221: Additional hint that the placeholder is to be replaced. (GH-10604) (GH-10629)
...
(cherry picked from commit d936a8f8e0
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-11-21 00:48:57 -08:00
Victor Stinner
6eff6b8eec
bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619)
...
locale.localeconv() now sets temporarily the LC_CTYPE locale to the
LC_MONETARY locale if the two locales are different and monetary
strings are non-ASCII. This temporary change affects other threads.
Changes:
* locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode
monetary fields.
* Add LocaleInfo.grouping_buffer: copy localeconv() grouping string
since it can be replaced anytime if a different thread calls
localeconv().
(cherry picked from commit 02e6bf7f20
)
2018-11-20 22:06:21 +01:00
Miss Islington (bot)
f8f9915f95
bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330)
...
(cherry picked from commit 6c48bf2d9e
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-11-20 10:07:54 -08:00
Miss Islington (bot)
d1a97b3659
[3.7] bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as (GH-10580) (GH-10586)
...
Source of T_STRING: e42b705188/Python/structmember.cGH-L51
Source of PyUnicode_FromString
https://github.com/python/cpython/blob/master/Include/unicodeobject.hGH-L702
https://bugs.python.org/issue25438
(cherry picked from commit 689d555ec1
)
Co-authored-by: Windson yang <wiwindson@outlook.com>
https://bugs.python.org/issue25438
2018-11-17 11:49:58 -08:00
Miss Islington (bot)
0461c3b635
bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565)
...
(cherry picked from commit 4edeaeac4c
)
Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
2018-11-16 05:55:14 -08:00
Miss Islington (bot)
be34cb26b9
Fix outdated info in datamodel about dicts (GH-9807)
...
(cherry picked from commit a48e0eb967
)
Co-authored-by: wim glenn <wim.glenn@gmail.com>
2018-11-16 04:20:03 -08:00
Miss Islington (bot)
1b80a373d1
bpo-33816: Remove outdated metaclass example (GH-7566)
...
(cherry picked from commit c2ccac7b9f
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-16 03:51:20 -08:00
Miss Islington (bot)
579c417564
bpo-35213: Where appropriate, use 'macOS' in idlelib. (GH-10478)
...
(cherry picked from commit b65413b497
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-11-15 11:31:31 -08:00
Miss Islington (bot)
b6b56b49e9
Fix typo in asynchronous generator iterator documentation (GH-10542)
...
Remove an unnecessary "that":
... will execute that the body ... -> ... will execute the body ...
(cherry picked from commit 25221b3283
)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2018-11-14 22:20:16 -08:00
Julien Palard
9053d2f2e0
[3.7] bpo-32613: Update window FAQ (GH-5552). (GH-10544)
...
(cherry picked from commit 64313478bc
)
Co-authored-by: Julien Palard <julien@palard.fr>
https://bugs.python.org/issue32613
2018-11-14 09:17:35 -08:00
Miss Islington (bot)
52fb9f14b1
Grammar corrections in abc.rst (GH-10525)
...
(cherry picked from commit 8e0b05e2f4
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-13 17:00:36 -08:00
Miss Islington (bot)
e7a5be5cb5
Link to property built-in in abc.rst (GH-10526)
...
(cherry picked from commit bf1355b424
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-13 16:45:11 -08:00
Miss Islington (bot)
c30830bbb2
Fix doc typo: Window -> Windows (GH-10508)
...
(cherry picked from commit daeb3c4c58
)
Co-authored-by: l-n-s <supervillain@riseup.net>
2018-11-13 16:18:20 -08:00
Victor Stinner
55b4771d5d
bpo-35229: Deprecate _PyObject_GC_TRACK() (GH-10511)
...
Deprecate _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() in the
documentation. These macros are removed from Python 3.8 by the commit
1a6be91e6f
.
2018-11-13 13:06:11 +01:00
Miss Islington (bot)
5e4a13b18b
Fix a couple documentation typos. (GH-10498)
...
reproduciblity -> reproducibility
PyPA are the group -> PyPA is the group
(cherry picked from commit 0dc1e45dfd
)
Co-authored-by: Windson yang <wiwindson@outlook.com>
2018-11-12 20:20:31 -08:00
Miss Islington (bot)
f3b0b91674
Improve grammar in Glossary. (GH-10474)
...
a asynchronous generator -> an asynchronous generator
(cherry picked from commit a9655b7f71
)
Co-authored-by: Windson yang <wiwindson@outlook.com>
2018-11-12 09:48:11 -08:00
Miss Islington (bot)
8a54c67701
Correct grammar mistake in stdtypes.rst (GH-10481)
...
(cherry picked from commit 7610f4fe93
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-12 09:45:05 -08:00
Miss Islington (bot)
5e51f120c0
Linkify PEP 8 in unix.rst (GH-10482)
...
(cherry picked from commit 9404e7737b
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-12 08:48:56 -08:00
Miss Islington (bot)
a744abcb59
Minor grammar improvement to io documentation. (GH-10329)
...
Independently of -> Independent of
(cherry picked from commit cd449806fa
)
Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
2018-11-11 20:29:33 -08:00
Miss Islington (bot)
7a90504261
Update subprocess.Popen documentation wrt universal_newlines arg (GH-10337)
...
* universal_newlines defaulting to False would suggest, that not
specifying universal_newlines explicitly and setting text to True
should cause an error, which is not the case.
* The run function didn't have the universal_newlines parameter
documented
* The check_output function didn't have its text parameter documented
(cherry picked from commit 7432f0929f
)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2018-11-11 19:48:09 -08:00
Miss Islington (bot)
aa493b5c18
bpo-33878: Doc: Fix missing case by simplifying. (GH-7762)
...
The documentation was not covering multiple targets enclosed by
parenthesis nor multiple targets enclosed by brackets, adding them all
would be heavy, an else cover them all and is lighter to read.
(cherry picked from commit 082875dcd6
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-11-12 01:24:31 +01:00
Miss Islington (bot)
7d7ff672df
bpo-33699: Describe try's else clause with the rest of the try clause (GH-7252)
...
https://bugs.python.org/issue33699
(cherry picked from commit b086c8afdb
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-11 11:43:52 -08:00
Miss Islington (bot)
317dbb4433
dict insertion order is guaranteed since 3.7 (GH-10431)
...
(cherry picked from commit 76e8fd7b7e
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-11 09:02:11 -08:00
Miss Islington (bot)
b91c27d89d
bpo-34864: Document two IDLE on MacOS issues. (GH-10456)
...
The System Preferences Dock "prefer tabs always" setting disables some
IDLE features. Menus are a bit different than as described for Windows
and Linux.
(cherry picked from commit 50ff02b431
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-11-10 20:46:12 -08:00
Miss Islington (bot)
3da64a0141
Correct a typo in the Unittest documentation (GH-10397)
...
Co-Authored-By: maggyero <gery.ogam@gmail.com>
(cherry picked from commit 009b2f0204
)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2018-11-09 11:43:43 -08:00
Miss Islington (bot)
33fd60d4c3
Cleanup and improve the regex tokenizer example. (GH-10426) ( #10427 )
...
1) Convert weird field name "typ" to the more standard "type".
2) For the NUMBER type, convert the value to an int() or float().
3) Simplify ``group(kind)`` to the shorter and faster ``group()`` call.
4) Simplify logic go a single if-elif chain to make this easier to extend.
5) Reorder the tests to match the order the tokens are specified.
This isn't necessary for correctness but does make the example
easier to follow.
6) Move the "column" calculation before the if-elif chain so that
users have the option of using this value in error messages.
(cherry picked from commit b83942c755
)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2018-11-09 01:26:55 -08:00
Julien Palard
732f745a4a
[3.7] Doc: Make all versions sidebars the same for consistency. (GH-10288) (GH-10409)
2018-11-08 00:07:05 -08:00
Miss Islington (bot)
363839caf9
bpo-35015: Doc: Fix internationalisation of the availability directive. (GH-10360)
...
(cherry picked from commit beed84ca5e
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-11-07 13:48:47 -08:00
Miss Islington (bot)
e40e205498
Add link to PEP 525 in Expressions. (GH-10333)
...
(cherry picked from commit bfe1839aa9
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 10:32:05 -08:00
Miss Islington (bot)
38bdaa47cf
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
...
(cherry picked from commit ae31e3fbf4
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 10:30:18 -08:00
Miss Islington (bot)
b949f74f4b
Add a reference to the name mangling description in the tutorial to the index. (GH-10138)
...
(cherry picked from commit c5eec4426d
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 10:29:58 -08:00
Miss Islington (bot)
2911d4eb21
Add future_stmt to simple_stmt production list. (GH-8239)
...
(cherry picked from commit cdb96f45b6
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 09:55:14 -08:00
Miss Islington (bot)
766d8f560d
Correct grammar mistakes in string.rst. (GH-9752)
...
(cherry picked from commit d64991031e
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 09:54:55 -08:00
Miss Islington (bot)
f455dd53af
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
...
(cherry picked from commit ca03f3b93e
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 09:54:41 -08:00
Miss Islington (bot)
76023169f0
Mark -c and -O as command line options in reStructuredText. (GH-10103)
...
(cherry picked from commit ea6a28c9f7
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-11-07 09:53:20 -08:00
Miss Islington (bot)
2b2a8c130c
bpo-33000: Document that IDLE's shell has no line limit. (GH-10373)
...
A program that runs indefinitely can overfill memory.
(cherry picked from commit 76cd0c30d6
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-11-06 21:06:54 -08:00
Miss Islington (bot)
34fcee9ed8
bpo-23220: Explain how IDLE's Shell displays output (GH-10356)
...
Add a new subsection to the doc.
(cherry picked from commit 75d9d59ab3
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-11-06 10:27:20 -08:00
Miss Islington (bot)
a437c285fa
bpo-35099: Improve the doc about IDLE running user code. (GH-10350)
...
The section is renamed from "IDLE -- console differences". It mostly
covers the implications of using custom sys.stdxxx objects.
(cherry picked from commit 5e79090324
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-11-05 18:35:18 -08:00
Miss Islington (bot)
558dc8adbe
bpo-35119: Fix RecursionError in example of customizing module attribute access. (GH-10323)
...
https://bugs.python.org/issue35119
(cherry picked from commit 0bee3c36d4
)
Co-authored-by: Denis Osipov <osipov_d@list.ru>
2018-11-05 17:59:15 -08:00
Miss Islington (bot)
91a19c923c
[Docs] Fix required version of an example of importlib (GH-10118)
...
§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
(cherry picked from commit 16c8a53490
)
Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
2018-11-05 14:46:42 -08:00
Serhiy Storchaka
6ad277b259
[3.7] bpo-35167: Specify program for json.tool command line options. (GH-10332) (GH-10338)
...
(cherry picked from commit 083a7a172b
)
2018-11-05 18:44:08 +02:00
Miss Islington (bot)
133fd6527d
Fix a typo about a comma. (GH-10306)
...
(cherry picked from commit fe62d877e3
)
Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com>
2018-11-03 10:41:38 -07:00
Miss Islington (bot)
b9c48a73bc
Include memo in the documented signature of copy.deepcopy()
...
* Include memo in the documented signature of copy.deepcopy()
The memo argument is mentioned lower on the doc page under writing a
`__deepcopy__` method, but is not included in the documented function signature.
This makes it easy to miss, and can lead to incorrect/buggy implementations of
`__deepcopy__` -- which is exatly what just happpend to me!
(cherry picked from commit 0200928e8d
)
Co-authored-by: Stephan Hoyer <shoyer@gmail.com>
2018-11-01 14:35:17 -07:00
Miss Islington (bot)
d69f015ba5
Doc: fix asyncio loop.close() description (GH-10229)
...
Needs backport to 3.7. In 3.6 the description is correct.
(cherry picked from commit b83d917faf
)
Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com>
2018-11-01 14:34:42 -07:00
Miss Islington (bot)
7d35553138
bpo-35075: Fix broken url in the pprint documentation (GH-10201)
...
https://bugs.python.org/issue35075
(cherry picked from commit bf46a09dec
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2018-11-01 14:33:52 -07:00
Serhiy Storchaka
b183750f99
[3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253)
...
(cherry picked from commit 3f819ca138
)
2018-10-31 11:00:24 +02:00
matthewbelisle-wf
aa0a21a7c8
bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10246)
2018-10-30 22:15:24 +01:00
Miss Islington (bot)
f51ef51db6
bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160)
...
The root widget was accessed as a global variable in the Application's method.
(cherry picked from commit a80af77087
)
Co-authored-by: Daniel Lovell <lovell.daniel92@gmail.com>
2018-10-30 08:34:54 -07:00
Miss Islington (bot)
a02bc719eb
bpo-27741: Better wording for datetime.strptime() (GH-9994)
...
(cherry picked from commit c0799ec973
)
Co-authored-by: Gus Goulart <augusto@goulart.me>
2018-10-29 04:55:08 -07:00
Miss Islington (bot)
1a3f18e2c5
bpo-35097: Add IDLE doc subsection explaining editor windows. (GH-10206)
...
Topics include opening, title and status bar, .py* extension, and running.
(cherry picked from commit ea9c8bd443
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-10-28 18:51:33 -07:00
Miss Islington (bot)
ff8d626f3a
Issue 35093: Document the IDLE document viewer in the IDLE doc. (GH-10195)
...
Add a paragraph in "Help and preferences", "Help sources" subsection.
(cherry picked from commit 18032632ab
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-10-28 13:39:38 -07:00
Miss Islington (bot)
8dccb00c19
bpo-1529353: Explain Shell text squeezing in the IDLE doc. (GH-10169)
...
(cherry picked from commit 68d6dc0770
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-10-28 10:03:19 -07:00
Miss Islington (bot)
fdf48b6b88
bpo-35054: Add yet more index entries for symbols. (GH-10121) (GH-10171)
...
(cherry picked from commit 913876d824
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-10-28 18:43:32 +02:00
Miss Islington (bot)
c516dc6e57
bpo-35089: Don't mention typing.io and typing.re (GH-10173)
...
https://bugs.python.org/issue35089
(cherry picked from commit c8a8d6b347
)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2018-10-28 09:16:36 -07:00
Miss Islington (bot)
50e04cc273
Fix mistakes on function coroutines related definitions (GH-9871)
...
Fix a bug I introduced in GH-9864 by which coroutines are treated as synonymous of function coroutines.
Also, fix the same mistake (coroutines == function coroutines) already present in other parts of the reference.
I'm very sorry for the hassle.
(cherry picked from commit 95f68b10d5
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-10-28 06:52:27 -07:00
Miss Islington (bot)
c73cd4e05a
Fix typo in zipfile documentation. (GH-10151) (GH-10153)
...
(cherry picked from commit 40bf6cff22
)
Co-authored-by: nsrip <nick.ripley@me.com>
2018-10-27 23:06:46 +03:00
Miss Islington (bot)
6f82bdc6e0
unittest documentation: Spell pytest without the dot (GH-9820)
...
Referring to ``pytest`` as ``py.test`` is deprecated.
(cherry picked from commit d855f2fdbd
)
Co-authored-by: Andreas Pelme <andreas@pelme.se>
2018-10-27 11:17:15 -07:00
Miss Islington (bot)
cb920c1442
bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144)
...
Specify that blocks are non-overlapping. Change '!=' to '<'.
(cherry picked from commit d9bff4e81b
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-10-26 20:07:42 -07:00
Miss Islington (bot)
f2b5b4f259
Fix a typo in asyncio-dev.rst. (GH-10133)
...
"threadsafe"
(cherry picked from commit 4e3a53bcee
)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
2018-10-26 10:42:49 -07:00
Senthil Kumaran
bb1876acd8
[3.7] bpo-34576 : Backport eeab510
( #10114 )
...
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005 )
(cherry picked from commit eeab510bb7
)
2018-10-26 10:11:39 -07:00
Andrés Delfino
1487b651ca
[3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542)
2018-10-26 16:12:02 +03:00
Miss Islington (bot)
ec10b70ea6
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
...
(cherry picked from commit e483f02423
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-10-26 03:56:28 -07:00
Serhiy Storchaka
9a75b8470a
[3.7] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10120)
...
(cherry picked from commit ddb961d2ab
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-10-26 11:18:42 +03:00
Miss Islington (bot)
c64c4056c1
bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
...
https://bugs.python.org/issue35038
(cherry picked from commit 1770d1c512
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-10-25 14:19:31 -07:00
Miss Islington (bot)
b322394009
configparser doc: Properly label ConfigParser attributes (GH-9930)
...
(cherry picked from commit 890423f796
)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2018-10-24 16:56:25 -07:00
Miss Islington (bot)
917efd8d7b
importlib doc: Fix approximated import_module() code (GH-9945)
...
The spec gets stored on modules with the __spec__ attribute, not spec.
(cherry picked from commit 78401f7156
)
Co-authored-by: orlnub123 <orlnub123@gmail.com>
2018-10-24 16:38:00 -07:00
Miss Islington (bot)
f2679afda0
bpo-35027, distutils doc: Correct note on setup.py change in Python 3.7 (GH-10032)
...
(cherry picked from commit e80e77a484
)
Co-authored-by: TilmanK <tilman.krummeck@googlemail.com>
2018-10-24 15:59:15 -07:00
Miss Islington (bot)
d9dbb864cd
Use f-strings in asyncio-task code examples (GH-10035)
...
Replace str.format with f-strings in the code examples of asyncio-task documentation.
(cherry picked from commit 9f43fbbd9d
)
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
2018-10-24 15:45:44 -07:00
Tal Einat
b4c9874f5c
[3.7] bpo-33899: Mention tokenize behavior change in What's New (GH-10073) (GH-10074)
...
(cherry picked from commit dfba1f67e7
)
https://bugs.python.org/issue33899
2018-10-24 00:33:00 -07:00
Zsolt Cserna
861f61b5a9
[3.7] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) (GH-10065)
...
Fix the documentation of copy2, as it does not copy file ownership (user and
group), only mode, mtime, atime and flags.
The original text was confusing to developers as it suggested that this
command is the same as 'cp -p', but according to cp(1), '-p' copies file
ownership as well.
Clarify which metadata is copied by shutil.copystat in its docstring.
(cherry picked from commit 4f399be0e7
)
2018-10-23 23:57:55 +02:00
Miss Islington (bot)
fc62c7223e
bpo-34748: link to :ref:`partial-objects` in functools.partial doc. (GH-9809)
...
(cherry picked from commit 83a07652e0
)
Co-authored-by: Andrei Petre <p31andrei@gmail.com>
2018-10-22 23:16:42 -07:00
Ned Deily
08eae4fa4c
Python 3.7.1
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAlvKxbwACgkQLTR+pqpl
Qh1gIxAAs6/Ry7GirNwzVrKv6HG/GYFB61OaqmO2BMRRuFB226iQjdM1Amaw5I3m
Dbe4rPrQWXPaI7UIMrbA/oK1BH5AZgpKcVr5YbXF3uAb3AN05E9iNGVbR+qQMlsd
+3ydWrDcKzRJnVZxaUlLVZdEpaDXsAkAJTfOBNvwdfncBtPXa1+tbuT0SY6yGFwb
NNq+BvYZJJKuWQ3s10zv5dnUiUlLJMLiVP0pZjwVS2d/gG2gs/rEzz2fBJKygjYR
TTGhS69KGpqYOLq9USmUzI7DJNts7YeNhhiwF/X7qOx4y2n2dRz721SGlG+Nkxt6
kvRv3LaLRKsBlPjoVHFyRwIlr4uc3JfwFL3ngswfUNgChrqxkEZgV4oouxeSVQ5o
Yi/GGBA+c9xvdgufnaKgt8Ep30XRS7vfQZ8KeFwH2xWNCIglVHdBffwwlbwUWft5
t3/udHDXdeUu7Yb7hfamaA5pafH5lwoQMlbSwOl9gg94sNNuERhocoi8IpMDhzDs
cI7Jw8sAPWipn6F7k2rn8Z8RFWZEJr4XtgZs/+jTxS3DVfuV3EDYIlM2V/4SXK/b
KCJ/4NqDjGEFyrSZ0/d5GnmE3dvWrYztUebotFvv2q2aPEv9u8n66BxH/pSLNFTJ
CtITqOsRwU8IdeOIET0246Oi8Ha4ZU/qQdnPqv5bktD69qAxSOQ=
=qLkl
-----END PGP SIGNATURE-----
Merge tag 'v3.7.1' into 3.7
2018-10-20 12:54:48 -04:00
Miss Islington (bot)
34a5ed5c0a
bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004)
...
https://bugs.python.org/issue35032
(cherry picked from commit d262250d07
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-10-20 08:32:28 -07:00
Ned Deily
32fe7b0188
bpo-34576: Revert doc change until it can be properly fixed (GH-9720)
...
This reverts commit 57038bcb24
.
2018-10-20 00:49:35 -04:00
Miss Islington (bot)
557a68789b
bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs (GH-5621)
...
Add restriction on the offset parameter for mmap.flush.
Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix.
(cherry picked from commit 027664a3d5
)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2018-10-19 17:48:05 -07:00
Miss Islington (bot)
3e5bcd12f6
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
...
Initial patch by Chandan Kumar.
(cherry picked from commit 13ae4d4438
)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
2018-10-19 17:41:56 -07:00
Miss Islington (bot)
2a6cf44680
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
...
(cherry picked from commit 0f14fc1a7c
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-10-19 16:43:55 -07:00
Miss Islington (bot)
76d31a3b96
queue doc: Clarify that the simple FIFO queue is SimpleQueue (GH-8372)
...
(cherry picked from commit acef69068f
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-10-19 15:33:36 -07:00
Miss Islington (bot)
984a800e08
unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)
...
The docs in `library/unittest.mock` have been updated to remove
confusing terms about submock and be explicit about the behavior
expected.
(cherry picked from commit 96200eb2ff
)
Co-authored-by: Mario Corchero <mariocj89@gmail.com>
2018-10-19 15:17:31 -07:00
Miss Islington (bot)
2bc1e8c909
In email docs, correct spelling of foregoing (GH-9856) ( #9919 )
...
(cherry picked from commit c984d20ec8
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-10-18 20:17:25 -04:00
Miss Islington (bot)
8ba831f847
In email.parser in message_from_bytes, update `strict` to `policy` (GH-9854) ( #9917 )
...
According to the versionchanged note, the `strict` argument was removed in 3.3 and `policy` was added, but the name of the argument in the paragraph wasn't updated.
(cherry picked from commit a5ca98537b
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-10-18 20:16:16 -04:00
Miss Islington (bot)
6802964fb4
Updated documentation on logging.debug(). (GH-9946) (GH-9949)
...
(cherry picked from commit bbd90e4f62
)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2018-10-18 11:55:15 +01:00
Miss Islington (bot)
514bbfc7fc
bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type (GH-9827)
...
(cherry picked from commit e385d0661e
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-10-15 23:46:38 -07:00
Miss Islington (bot)
802de12d99
bpo-23554: Change echo server example class name from EchoServerClientProtocol to EchoServerProtocol (GH-9859)
...
(cherry picked from commit 43a5bd7b45
)
Co-authored-by: Braden Groom <braden.groom@gmail.com>
2018-10-15 14:59:49 -07:00
Cheryl Sabella
b248a8c9a5
[3.7] bpo-11233: Create availability directive for documentation (GH-9692) (GH-9830)
...
Replace "Availability: xxx" with ".. availability:: xxx" in the doc.
Original patch by Georg Brandl.
Co-Authored-By: Georg Brandl <georg@python.org>
(cherry picked from commit 2d6097d027
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-10-15 22:52:26 +02:00
Miss Islington (bot)
c804a5975d
fix dangling keyfunc examples in documentation of heapq and sorted (GH-1432)
...
* fix dangling mention of key=str.lower in heapq doc
* Fix dangling mention of keyfunc example for sorted()
(cherry picked from commit 6bdb6f7675
)
Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
2018-10-15 13:19:08 -06:00
Miss Islington (bot)
91b863d93b
Update compound_stmts.rst (GH-9864) (GH-9869)
...
(cherry picked from commit c8bb467f40
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-10-14 11:32:58 +03:00
Miss Islington (bot)
d4ed8809dd
bpo-34203: FAQ now recommends python 3.x over 2.x (GH-9796)
...
(cherry picked from commit 4505f65ae7
)
Co-authored-by: Gus Goulart <augusto@goulart.me>
2018-10-12 05:06:07 -07:00