Nick Coghlan
dae1229729
bpo-36797: Prune more legacy distutils documentation (GH-13092)
...
Removes more legacy distutils documentation, and more clearly
marks what is left as potentially outdated, with references to
setuptools as a replacement.
2019-05-14 22:04:30 +10:00
Stéphane Wirtel
0a52d73dde
Doc: Update pip and setuptools when creating the virtual environment (GH-13307)
...
Add a new pip install before `sphinx` etc.. because we should use the last version of `pip` and `setuptools`
2019-05-14 04:49:49 -07:00
wim glenn
1a10a6b980
Simplify the ``LastUpdatedOrderedDict`` example recipe (GH-13296)
2019-05-13 18:10:13 -07:00
Anders Hovmöller
8da5ebe11e
bpo-35138: Added an example for timeit.timeit with callable arguments (GH-9787)
...
* Update timeit.rst
2019-05-13 21:27:17 +02:00
Matthias Bussonnier
b6a09ae287
bpo-36895: Undocument removed time.clock (GH-13286)
2019-05-13 21:23:07 +02:00
Brad
be6939fb02
Docs: Add bz2 usage examples (GH-13258)
...
* Docs: Add bz2 usage examples
- Adds an "Examples of usage" section inspired by the one
found in the gzip docs
- Corrects the descriptions for ``compresslevel`` and ``data``:
- ``compresslevel`` must be an `int`, not any number. For
instance, passing a float will raise ``TypeError``
- Notes that `data` must be bytes-like
2019-05-13 11:09:49 -07:00
Pierre Glaser
50466c6650
bpo-36867: DOC update multiprocessing.rst (GH-13289)
...
Followup to bpo-36867.
2019-05-13 19:20:48 +02:00
Victor Stinner
c1f7262f70
bpo-36728: Remove PyEval_ReInitThreads documentation (GH-13282)
2019-05-13 16:22:51 +02:00
divyag9
778a910758
bpo-34682: Wording and grammatical changes to the doc( https://docs.python.org/3 ) (GH-13120)
...
https://bugs.python.org/issue34682
2019-05-13 06:05:20 -07:00
Utkarsh Gupta
3e2afd78ba
bpo-36008: Doc update for 3.8 migration (GH-12887)
2019-05-13 08:29:39 -04:00
Kexuan Sun
32d1458b2e
Changes to the documentation of normcase (GH-4725)
2019-05-13 07:38:20 -04:00
Victor Stinner
d5d9e81ce9
bpo-36728: Remove PyEval_ReInitThreads() from C API (GH-13241)
...
Remove the PyEval_ReInitThreads() function from the Python C API.
It should not be called explicitly: use PyOS_AfterFork_Child()
instead.
Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a
'runtime' parameter.
2019-05-13 12:35:37 +02:00
Victor Stinner
3aef48e315
bpo-36778: Update cp65001 codec documentation (GH-13240)
...
Remove cp65001 from the codecs table, list it as an alias of utf_8
and add a versionchanged markup.
2019-05-13 10:42:31 +02:00
Zackery Spytz
cf599f6f6f
bpo-6584: Add a BadGzipFile exception to the gzip module. (GH-13022)
...
Co-Authored-By: Filip Gruszczyński <gruszczy@gmail.com>
Co-Authored-By: Michele Orrù <maker@tumbolandia.net>
2019-05-13 10:50:52 +03:00
Edison A
d28772ab69
bpo-36783: Add new references for C API Documentation changes (GH-13204)
2019-05-13 09:23:38 +02:00
Johnny Gérard
4ef9b8e505
Correct misspelling (GH-11470)
2019-05-12 23:39:32 -04:00
Matthias Bussonnier
e2500610c6
bpo-36895: remove time.clock() as per removal notice. (GH-13270)
...
`time.clock()` was deprecated in 3.3, and marked for removal removal in
3.8; this thus remove it from the time module.
2019-05-12 18:34:44 -07:00
Pablo Galindo
5d23e282af
bpo-36886: Document changes in code object in What's new section (GH-13255)
2019-05-12 22:45:52 +01:00
Jake Tesler
4959c33d25
bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)
2019-05-12 19:08:24 +02:00
Sanyam Khurana
90fb04c1e2
bpo-36822: Fix minor grammatical error in glossary.rst (GH-13145)
2019-05-11 20:04:10 +01:00
Aurelio Jargas
f6e17ddffd
Hide module name from local (anchor) links in shutil docs (GH-6695)
2019-05-10 22:51:45 -04:00
Victor Stinner
4ebcd7e298
bpo-21536: Update What's New in Python 3.8 entry (GH-13242)
...
Android still links to libpython.
2019-05-11 04:10:03 +02:00
Pablo Galindo
960bb88376
Fix sphinx deprecation warning about env.note_versionchange() (GH-13236)
2019-05-10 22:58:17 +01:00
Kojo Idrissa
1b4abcf302
bpo-33071: remove outdated PyPI docs (GH-13087)
...
Patch by Kojo Idrissa.
2019-05-10 04:45:09 -04:00
Stefan Behnel
e9a465f3ea
bpo-36676: Update what's new document. ( #13226 )
2019-05-10 10:25:13 +02:00
Rémi Lapeyre
fce5ff1e18
bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306)
...
csv.DictWriter.writeheader() now returns the return value of the
underlying csv.Writer.writerow() method.
Patch contributed by Ashish Nitin Patil.
2019-05-10 03:50:11 +02:00
Victor Stinner
d267ac20c3
bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230)
2019-05-10 03:19:54 +02:00
Andrew Svetlov
a076e4f5e4
bpo-36802: Drop awrite()/aclose(), support await write() and await close() instead ( #13099 )
2019-05-09 15:14:58 -04:00
redshiftzero
3b2f9ab31d
doc: fix broken link on howto/unicode page ( #13160 )
...
Thank you @redshiftzero on the first PR 👏
2019-05-10 00:43:39 +05:30
Aviv Palivoda
e6576248e5
bpo-30262: Don't expose private objects in sqlite3 (GH-1440)
...
The Cache and Statement objects are undocumented and implementation
details of the sqlite3 module.
They aren't usable from pure Python code.
2019-05-09 21:05:45 +03:00
Benjamin Peterson
3aca40d3cb
closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)
...
Adds ㋿.
2019-05-08 20:59:35 -07:00
Pierre Glaser
289f1f80ee
bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499)
...
Enable custom reduction callback registration for functions and classes in
_pickle.c, using the new Pickler's attribute ``reducer_override``.
2019-05-08 23:08:25 +02:00
Eric V. Smith
9a4135e939
bpo-36817: Add f-string debugging using '='. (GH-13123)
...
If a "=" is specified a the end of an f-string expression, the f-string will evaluate to the text of the expression, followed by '=', followed by the repr of the value of the expression.
2019-05-08 16:28:48 -04:00
Pierre Glaser
65d98d0f53
bpo-35900: Add a state_setter arg to save_reduce (GH-12588)
...
Allow reduction methods to return a 6-item tuple where the 6th item specifies a
custom state-setting method that's called instead of the regular
``__setstate__`` method.
2019-05-08 21:40:25 +02:00
Brian Quinlan
39889864c0
bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132)
...
Co-Authored-By: brianquinlan <brian@sweetapp.com>
2019-05-08 14:04:53 -04:00
toonarmycaptain
85225b6a58
bpo-31873: Update unicode.rst - 'unicode' capitalization (GH-4125)
...
Update 'unicode' capitalization. 'Unicode' is a proper noun, and as such should be capitalized.
Changed multiple instances.
2019-05-08 18:02:34 +02:00
Julien Palard
1d4b16051f
Doc: Be explicit that Pathlib resolve was strict before 3.6. (GH-11316)
2019-05-08 17:01:11 +02:00
Jason R. Coombs
b2758ff955
bpo-36832: add zipfile.Path ( #13153 )
...
* bpo-36832: add zipfile.Path
* bpo-36832: add documentation for zipfile.Path
* 📜 🤖 Added by blurb_it.
* Remove module reference from blurb.
* Sort the imports
* Update docstrings and docs per recommendations.
* Rely on test.support.temp_dir
* Signal that 'root' is the parameter.
* Correct spelling of 'mod'
* Convert docstring to comment for brevity.
* Fix more errors in the docs
2019-05-08 09:45:05 -04:00
Zhaorong Ma
70b80541bb
Doc: Fix missing bracket (GH-13163)
2019-05-08 09:44:01 -04:00
Gregory P. Smith
3918ad6b45
bpo-36838: Suggest 'make venv' when missing Doc/ tools. (GH-13173)
2019-05-07 17:03:50 -04:00
Adorilson Bezerra
e19a91e45f
Add a footnote about Cheese Shop in Doc/tutorial (GH-13103)
2019-05-07 16:20:58 -04:00
Julia Iliuk
91cc01f40e
bpo-11001: updated cookie docs (GH-13086)
...
Used **spookylukey**'s patch from 2011-01-24
https://bugs.python.org/issue11001
2019-05-07 10:05:20 -07:00
Julien Palard
e85ef7a7ea
bpo-28795: Signal documentation: Fix misleading statement. (GH-13121)
2019-05-07 17:27:48 +02:00
Edison A
5765ecf79f
bpo-36783: Added C API Documentation for Time_FromTimeAndFold and PyDateTime_FromDateAndTimeAndFold (GH-13147)
2019-05-07 11:00:21 -04:00
Toshio Kuratomi
7b3a028c35
Fix rst formatting for several links in ssl documentation (GH-13133)
2019-05-06 13:28:14 -07:00
Serhiy Storchaka
96aeaec647
bpo-36793: Remove unneeded __str__ definitions. (GH-13081)
...
Classes that define __str__ the same as __repr__ can
just inherit it from object.
2019-05-06 22:29:40 +03:00
penguindustin
9646630895
bpo-36766: Typos in docs and code comments (GH-13116)
2019-05-06 14:57:17 -04:00
Sebastian Koslowski
3921b1cc34
bpo-36275: enhance documentation for venv.create() (GH-13114)
2019-05-06 14:51:09 -04:00
Stéphane Wirtel
e9b49d1b4e
Clarify the download unit in the download section (GH-13122)
2019-05-06 11:48:17 -07:00
Patrick Mühlbauer
4920c093da
bpo-30668: add missing word in license.rst (GH-13115)
2019-05-06 14:32:42 -04:00