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
Raymond Hettinger
482b6b565a
Move dangling bullet points into named subsections (GH-13046)
2019-05-01 17:48:13 -07:00
Stefan Behnel
e1d5dd645d
bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966)
...
* Implement C14N 2.0 as a new canonicalize() function in ElementTree.
Missing features:
- prefix renaming in XPath expressions (tag and attribute text is supported)
- preservation of original prefixes given redundant namespace declarations
2019-05-01 22:34:13 +02:00
Géry Ogam
ee88af3f4f
Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer None ( #10376 )
...
Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer `None` _after_ calling the importlib._bootstrap._init_module_attrs function.
See:
* https://stackoverflow.com/questions/52869541/namespace-package-spec-loader-and-loader-attributes-not-set-to-none
* https://bugs.python.org/issue35181
2019-05-01 13:08:17 -07:00
Stefan Behnel
dde3eebdaa
bpo-36676: Namespace prefix aware parsing support for the ET.XMLParser target (GH-12885)
...
* bpo-36676: Implement namespace prefix aware parsing support for the XMLParser target in ElementTree.
2019-05-01 21:49:58 +02:00
Stefan Behnel
43851a202c
bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree. ( #12883 )
...
* bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree.
* bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default).
2019-05-01 21:20:38 +02:00
Utkarsh Gupta
ee0309f3d8
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
2019-04-29 19:20:06 -07:00
Pablo Galindo
d5d2b45469
bpo-36751: Deprecate getfullargspec and report positional-only args as regular args (GH-13016)
...
* bpo-36751: Deprecate getfullargspec and report positional-only args as regular args
* Use inspect.signature in testhelpers
2019-04-30 02:01:14 +01:00
Paul Ganssle
88c0937056
bpo-36004: Add date.fromisocalendar (GH-11888)
...
This commit implements the first version of date.fromisocalendar, the
inverse function for date.isocalendar.
2019-04-29 15:22:03 +02:00
Guido van Rossum
843bf42aa6
Add initial 'whatsnew' section for PEP 570 (GH-12942)
2019-04-29 13:49:29 +01:00
Joannah Nanjekye
f781d202a2
bpo-36475: Finalize PyEval_AcquireLock() and PyEval_AcquireThread() properly (GH-12667)
...
PyEval_AcquireLock() and PyEval_AcquireThread() now
terminate the current thread if called while the interpreter is
finalizing, making them consistent with PyEval_RestoreThread(),
Py_END_ALLOW_THREADS, and PyGILState_Ensure().
2019-04-29 10:38:45 +02:00
xdegaye
254b309c80
bpo-21536: On Android, C extensions are linked to libpython (GH-12989)
2019-04-29 09:27:40 +02:00
Raymond Hettinger
da63b321f6
bpo-36715: Add usage note for dict.fromkeys() (GH-12974)
2019-04-28 00:22:36 -07:00
Paul Ganssle
5c403b2035
bpo-36722: Style and grammar edits for ABI news entries (GH-12979)
2019-04-27 20:14:35 +02:00
Terry Jan Reedy
55d035113d
Syntax highlight IDLE html doc code example. (GH-12981)
...
The new markup is currently ignored by IDLE's tk doc display.
2019-04-26 23:22:36 -04:00