penguindustin
b2d29bfa5b
[3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136)
...
(cherry picked from commit 9646630895
)
Co-authored-by: penguindustin <penguindustin@gmail.com>
https://bugs.python.org/issue36766
2019-05-06 13:55:19 -07:00
Miss Islington (bot)
88a2074e3b
[3.7] Clarify the download unit in the download section (GH-13122) (GH-13130)
...
(cherry picked from commit e9b49d1b4e
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2019-05-06 12:32:52 -07:00
Miss Islington (bot)
9a03c77328
bpo-36275: enhance documentation for venv.create() (GH-13114)
...
(cherry picked from commit 3921b1cc34
)
Co-authored-by: Sebastian Koslowski <sebastian.koslowski@gmail.com>
2019-05-06 12:25:59 -07:00
Miss Islington (bot)
8777915ade
bpo-30668: add missing word in license.rst (GH-13115)
...
(cherry picked from commit 4920c093da
)
Co-authored-by: Patrick Mühlbauer <tmuxbiene@googlemail.com>
2019-05-06 12:08:10 -07:00
Miss Islington (bot)
2b5ffc02c0
bpo-36189: Fixing typo in tutorial introduction (GH-13093)
...
(cherry picked from commit 98a1e06c47
)
Co-authored-by: Jonatan <jonyucra@gmail.com>
2019-05-04 23:22:34 -04:00
Miss Islington (bot)
37125ff6e2
bpo-36166: Change to rst datamodel file. (GH-13089) ( #13094 )
...
(cherry picked from commit 5e98f05e55
)
Co-authored-by: Catherine Alvarado <catherine@qventus.com>
2019-05-04 23:21:28 -04:00
Miss Islington (bot)
4b5340bb63
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
...
(cherry picked from commit ee0309f3d8
)
Co-authored-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
2019-04-29 19:26:00 -07:00
Miss Islington (bot)
5d90954856
Syntax highlight IDLE html doc code example. (GH-12981)
...
The new markup is currently ignored by IDLE's tk doc display.
(cherry picked from commit 55d035113d
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2019-04-26 20:42:05 -07:00
Miss Islington (bot)
4d0233ec65
bpo-30840: Document relative imports (GH-12831) (GH-12938)
...
* Document relative imports
(cherry picked from commit 70bf713617
)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
2019-04-25 01:44:19 +10:00
Miss Islington (bot)
e64d21b187
replace 'sequencial argument' by 'positional' in doc (GH-12925)
...
(cherry picked from commit 29d018aa63
)
Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com>
2019-04-23 06:06:57 -07:00
Miss Islington (bot)
8c49d71385
Doc: add the missing ".tp_flags" in type definition (GH-12902)
...
(cherry picked from commit 662ebd2ab2
)
Co-authored-by: Wu Wei <weiwu@cacheme.net>
2019-04-22 04:14:25 -07:00
Miss Islington (bot)
71b88827f6
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
...
(cherry picked from commit 5ebfa840a1
)
Co-authored-by: mollison <mollison@cs.unc.edu>
2019-04-21 15:20:45 -07:00
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