blurb-it[bot]
8f04bf5414
📜 🤖 Added by blurb_it.
2019-05-11 02:30:48 +00:00
Jason R. Coombs
6e5cc29acd
Disable all the doctests
2019-05-10 22:24:47 -04:00
Jason R. Coombs
3b19b9d823
Inline the find_distributions functionality on PathFinder.
2019-05-10 21:59:46 -04:00
Jason R. Coombs
58533a71b2
Refresh from importlib_metadata@cpython
2019-05-10 12:26:20 -04:00
Jason R. Coombs
a277d851b4
Merge branch 'master' into feature/34632-importlib-metadata
2019-05-10 11:30:00 -04:00
Jason R. Coombs
21eaaf47ac
Apply changes from importlib_metadata 0.11
2019-05-10 09:11:01 -04:00
Emmanuel Arias
a2fedd8c91
bpo-36869: fix warning of unused variables (GH-13182)
2019-05-10 19:08:08 +09: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
Olexa Bilaniuk
79efbb7193
bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212)
...
Extended attributes can only be set on user-writeable files, but shutil previously
first chmod()ed the destination file to the source's permissions and then tried to
copy xattrs. This will cause failures if attempting to copy read-only files with
xattrs, as occurs with Git clones on Lustre FS.
2019-05-10 11:22:06 +08:00
Anthony Shaw
948ed8c96b
bpo-36814: ensure os.posix_spawn() handles None (GH-13144)
...
Fix an issue where os.posix_spawn() would incorrectly raise a TypeError
when file_actions is None.
2019-05-10 04:00:06 +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
Jeroen Demeyer
d237b3f0f6
bpo-36601: clarify signal handler comment and remove unnecessary pid check. (GH-12784)
...
https://bugs.python.org/issue36601
2019-05-09 18:28:56 -07:00
Victor Stinner
d267ac20c3
bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230)
2019-05-10 03:19:54 +02:00
Julien Palard
137be34180
bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154)
...
Having multiple paragraphs in a few news entry lead to inconsistent
spacing while rendered in HTML by mixing "visually compact lists"
(when no entry of the whole list contains multiple paragraphs) and
"sparse lists" (when at least one do).
2019-05-09 21:52:32 +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
Zackery Spytz
0613c1e481
Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304)
...
If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(),
PyObject_Free() would be called on a static string in type_dealloc().
2019-05-09 14:33:31 -04:00
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
Pablo Galindo
f00828a742
bpo-36851: Clean the frame stack if the execution ends with a return and the stack is not empty (GH-13191)
2019-05-09 16:52:02 +01:00
Jason R. Coombs
33e067d6a2
Add support for .parent and .joinpath in zipfile.Path ( #13213 )
2019-05-09 11:34:35 -04:00
Julien Palard
afd1e6d2f0
bpo-36239: Skip comments in gettext infos (GH-12255)
2019-05-09 16:22:15 +02:00
Stefan Behnel
88db8bd064
bpo-36831: Do not apply default namespace to unprefixed attributes in ElementPath. ( #13201 )
...
Also provide better grouping of the tokenizer tests.
2019-05-09 07:22:47 +02: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
Zackery Spytz
b9b08cd948
bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode ( #12991 )
...
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode
* Make the requested changes.
2019-05-08 23:02:23 +05:30
Jason R. Coombs
071cbd4ea1
Update with latest changes from importlib_metadata
2019-05-08 12:41:39 -04:00
Gregory P. Smith
6bd81734de
bpo-36816: Update the self-signed.pythontest.net cert (GH-13192)
...
We updated the server, our testsuite must match.
https://bugs.python.org/issue36816
✈️ CLE -> DEN ✈️ #pycon2019
2019-05-08 09:35:09 -07:00
Zackery Spytz
94a64e9cd4
bpo-24048: Save the live exception during import.c's remove_module() (GH-13005)
...
Save the live exception during the course of remove_module().
2019-05-08 12:31:23 -04:00
Jason R. Coombs
6816cc0f00
Add ignores to suspicious check
2019-05-08 12:21:39 -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
Jason R. Coombs
2347d3ae36
Merge remote-tracking branch 'origin/master' into feature/34632-importlib-metadata
2019-05-08 11:40:22 -04:00
Jason R. Coombs
175603f3aa
Merge branch 'master' into feature/34632-importlib-metadata
2019-05-08 11:34:20 -04:00
Jason R. Coombs
9bde7faf6f
Update with latest changes from importlib_metadata
2019-05-08 11:13:07 -04: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
a630dfa361
Add reference to importlib.metadata
2019-05-08 10:45:57 -04:00
Jason R. Coombs
f0cad2b43c
Rename doc to appear under the correct name
2019-05-08 10:45:28 -04:00
Jason R. Coombs
dc500ddc35
Merge fixes to docs syntax
2019-05-08 10:22:38 -04:00
Jason R. Coombs
6d7e3a8592
Update implementation based on importlib_metadata 0.10
2019-05-08 10:02:31 -04: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
Michael Blahay
b1c3167c23
bpo-27639: Correct return type for UserList slicing operation ( #13169 )
...
* BPO-27639: Correct return type for UserList slicing operation
Added logic to __getitem__ magic method for UserList to ensure that the return
type matches that of self.
2019-05-07 17:41:06 -04:00
Riccardo Magliocchetti
ca87eebb22
bpo-36015: Handle StreamHandler representaton of stream with an integer name (GH-11908)
2019-05-07 22:36:39 +01:00
Gregory P. Smith
3918ad6b45
bpo-36838: Suggest 'make venv' when missing Doc/ tools. (GH-13173)
2019-05-07 17:03:50 -04:00
Andrew Svetlov
1cc0ee7d9f
bpo-36801: Fix waiting in StreamWriter.drain for closing SSL transport (GH-13098)
...
https://bugs.python.org/issue36801
2019-05-07 13:53:19 -07:00
Adorilson Bezerra
e19a91e45f
Add a footnote about Cheese Shop in Doc/tutorial (GH-13103)
2019-05-07 16:20:58 -04:00
Romain Picard
b35acc5b3a
bpo-35125: remove inner callback on outer cancellation in asyncio shield (GH-10340)
...
When the future returned by shield is cancelled, its completion callback of the
inner future is not removed. This makes the callback list of inner inner future
grow each time a shield is created and cancelled.
This change unregisters the callback from the inner future when the outer
future is cancelled.
https://bugs.python.org/issue35125
2019-05-07 11:58:24 -07:00