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
Logan Jones
ae2c32f32b
bpo-36798: Updating f-string docs for := use case (GH-13107)
2019-05-06 11:32:44 -05:00
Andre Delfino
f7b494c4d4
Update wsgiref.rst ( #10488 )
2019-05-06 09:01:17 -07:00
Daniel Hahler
cec01849f1
Doc/c-api/exceptions.rst: fix grammar ( #12091 )
...
* Doc/c-api/exceptions.rst: fix grammar
skip issue
skip news
* Use ", in that case"
Co-Authored-By: blueyed <github@thequod.de>
2019-05-06 08:39:05 -07:00
Cheryl Sabella
e152169da9
bpo-16024: Doc cleanup regarding path_fd, dir_fd, follow_symlinks (GH-5505)
2019-05-06 08:39:13 -04:00
twisteroid ambassador
88f07a804a
bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237)
...
Added two keyword arguments, `delay` and `interleave`, to
`BaseEventLoop.create_connection`. Happy eyeballs is activated if
`delay` is specified.
We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package.
https://bugs.python.org/issue33530
2019-05-05 04:14:35 -07:00
Jonatan
98a1e06c47
bpo-36189: Fixing typo in tutorial introduction (GH-13090)
2019-05-04 17:55:29 -04:00
Catherine Alvarado
5e98f05e55
bpo-36166: Change to rst datamodel file. (GH-13089)
2019-05-04 17:54:35 -04:00
Joannah Nanjekye
6b5b013bcc
bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)
2019-05-04 17:27:10 +02:00
Stefan Behnel
47541689cc
bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ElementPath, and extend the surrounding tests and docs. (GH-12997)
2019-05-03 20:58:16 +02:00
Andre Delfino
cf48e55f7f
bpo-33882: mention breakpoint() in debugger-related FAQ (GH-7759)
2019-05-03 12:53:21 -04:00
Alexander Vasin
ceb842e155
Fixed typo (GH-11522)
...
Given example does not run, loop variable is missing.
Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.`
Perhaps it would be better to cancel all tasks instead of closing loop directly?
Did not create issue, because question is quite simple.
2019-05-03 08:25:36 -07:00
Andre Delfino
a8a79cacca
Improve grammar on async context managers and shorten text (GH-12379)
2019-05-03 08:08:10 -07:00
Andre Delfino
5861cddf76
Don't use the LHS/RHS acronym in Simple statements (GH-12996)
...
Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms.
Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common.
2019-05-03 07:59:05 -07:00
Stefan Behnel
45e92fc02d
Add correct license for C14N test suite to license docs. (GH-13055)
2019-05-02 22:11:04 +02:00
Daniel Porteous
0522291440
Fix tiny tiny typo in 3.8 what's new (GH-13049)
...
I feel silly even making such a tiny typo fix, but I couldn't help but notice it.
2019-05-02 01:20:58 -07:00
Raymond Hettinger
671d782f8d
bpo-36018: Update example to show mean and stdev (GH-13047)
2019-05-01 17:49:12 -07:00