Erlend Egeberg Aasland
cf0b23908c
bpo-40810: Require SQLite 3.7.15 (GH-24106)
2021-01-06 02:02:43 +02:00
Serhiy Storchaka
1470edd613
bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874)
2021-01-03 22:51:11 +02:00
Zackery Spytz
6613676861
bpo-38308: Fix the "versionchanged" for the *weights* of harmonic_mean() (GH-23919)
2021-01-03 14:35:26 +02:00
Ken Jin
11276cd9c4
bpo-41559: Documentation for PEP 612 (GH-24000)
2021-01-01 16:45:50 -08:00
Raymond Hettinger
c8a7b8fa1b
bpo-42781: Document the mechanics of cached_property from a user viewpoint (GH-24031)
2020-12-31 17:05:58 -08:00
Tao He
3631d6deab
Fixes a typo in importlib.metadata. ( #23921 )
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-12-31 11:37:53 -08:00
Jason R. Coombs
dfdca85dfa
bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` ( #23758 )
...
* bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` object referencing the `Distribution` when constructed from a `Distribution`.
Also, sync importlib_metadata 3.3:
- Add support for package discovery under package normalization rules.
- The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method.
* Add blurb
* Remove latent footnote.
2020-12-31 12:56:43 -05:00
Erlend Egeberg Aasland
f4936ad1c4
bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in socket.ntohs and socket.htons (GH-23980)
2020-12-31 15:16:50 +02:00
Raymond Hettinger
f421bfce80
Minor improvements to the convolve() recipe (GH-24012)
...
* Minor improvement to speed and space efficiency for the convolve() recipe
* Don't require convolve's kernel to be a sequence.
2020-12-30 12:51:19 -08:00
Andre Delfino
2edfc86f69
bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861)
2020-12-29 15:32:10 +02:00
Michael Wayne Goodman
84402eb110
bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)
...
The descriptions of the `codes` and `messages` dictionaries in
`xml.parsers.expat.errors` were swapped, and this commit swaps them
back. For example, `codes` maps string descriptions of errors to numeric
error codes, not the other way around.
2020-12-29 14:33:15 +02:00
Zackery Spytz
c56988b88f
bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)
...
Automerge-Triggered-By: GH:zware
2020-12-28 20:12:37 -08:00
Raymond Hettinger
a9621bb301
bpo-42222: Modernize integer test/conversion in randrange() ( #23064 )
2020-12-28 11:10:34 -08:00
Erlend Egeberg Aasland
abba83b4b9
bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)
...
The `pages` argument default value now reflects the implementation.
2020-12-27 22:35:17 +00:00
Raymond Hettinger
77fde8dc16
Add convolve() to the itertools recipes (GH-23928)
2020-12-25 16:43:20 -08:00
Desmond Cheong
36a779e64c
bpo-35728: Add root parameter to tkinter.font.nametofont() (GH-23885)
2020-12-25 23:18:06 +02:00
Gregory P. Smith
64abf37344
bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)
...
When the modern text= spelling of the universal_newlines= parameter was added
for Python 3.7, check_output's special case around input=None was overlooked.
So it behaved differently with universal_newlines=True vs text=True. This
reconciles the behavior to be consistent and adds a test to guarantee it.
Also clarifies the existing check_output documentation.
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
2020-12-24 20:57:21 -08:00
Raymond Hettinger
cc3467a57b
bpo-38308: Add optional weighting to statistics.harmonic_mean() (GH-23914)
2020-12-23 19:52:09 -08:00
Batuhan Taskaya
eee1c7745a
bpo-41960: Add globalns and localns parameters to inspect.signature and Signature.from_callable (GH-22583)
2020-12-24 01:45:13 +03:00
Raymond Hettinger
41b223d29c
bpo-9694: Fix misleading phrase "optional arguments" (GH-23858)
2020-12-23 09:40:56 -08:00
Matt Fowler
d90ff37681
BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)
2020-12-23 12:44:52 +02:00
Raymond Hettinger
6afb730e2a
bpo-29030: Document interaction between *choices* and *metavar*. (GH-23884)
2020-12-22 09:24:26 -08:00
Andre Delfino
60eccd0956
[doc] Fix missing commas in signatures ( #23693 )
...
* Fix star in signatures
* Fix comma in signatures
2020-12-22 11:02:52 -05:00
Batuhan Taskaya
fbc7723778
bpo-39159: Declare error that might be raised from literal_eval (GH-19899)
2020-12-21 16:15:40 -08:00
Raymond Hettinger
b0398a4b7f
bpo-42572: Improve argparse docs for the type parameter. (GH-23849)
2020-12-20 10:14:54 -08:00
sblondon
09a36cdfb7
bpo-41724: Explain when the conversion is not possible with detect_types enabled (GH-23855)
...
* Explain when the conversion is not possible with detect_types enabled
2020-12-19 17:52:39 -05:00
Raymond Hettinger
5646414ae1
bpo-42559: Not that getrandbits() is non-negative. (GH-23843)
2020-12-18 17:03:10 -08:00
Raymond Hettinger
51f4688254
bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844)
2020-12-18 16:53:50 -08:00
Irit Katriel
fb34096140
bpo-24792: Fix zipimporter masking the cause of import errors (GH-22204)
...
zipimport's _unmarshal_code swallows import errors and then _get_module_code doesn't know the cause of the error, and returns the generic, and sometimes incorrect, 'could not find...'.
Automerge-Triggered-By: GH:brettcannon
2020-12-18 16:09:54 -08:00
Andre Delfino
e8d2264210
bpo-36769: Document that fnmatch.filter supports any kind of iterable ( #13039 )
2020-12-18 20:10:20 +01:00
kj
d75f6f78e6
bpo-42675: Document collections.abc.Callable changes (GH-23839)
2020-12-18 09:39:26 -08:00
Matt Wozniski
84ebcf271a
bpo-17140: Document multiprocessing's ThreadPool (GH-23812)
...
Up until now, the `multiprocessing.pool.ThreadPool` class has gone
undocumented, despite being a public class in multiprocessing that is
included in `multiprocessing.pool.__all__`.
2020-12-18 13:05:46 +00:00
Mark Dickinson
886b2e5c7a
bpo-39096: Format specification documentation fixes for numeric types (GH-23575)
2020-12-18 10:24:06 +01:00
Zackery Spytz
074ad5123f
bpo-42670: Fix a missing word in the itertools.product() docs (GH-23823)
2020-12-17 12:24:43 -08:00
Andre Delfino
96a09df644
[doc] Fix a few margins due to bad markup (GH-23619)
2020-12-17 09:25:55 -08:00
Mark Shannon
bf353f3c2d
bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set correctly after raising or reraising an exception (GH-23803)
...
* Ensure that f_lasti is set correctly after an exception is raised to conform to PEP 626.
* Update importlib
* Add NEWS.
2020-12-17 13:55:28 +00:00
Andre Delfino
dcc997cd28
[doc] Fix erroneous backslashes in signatures and names (GH-23658)
...
The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch).
The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
2020-12-16 17:37:28 -08:00
Matthew Suozzo
a6ba2b9015
Fix indentation for get_stats_profile() docs (GH-23618)
...
The existing method is indented one too many times which
makes it look like a sub-method of print_callees().
2020-12-17 01:17:22 +02:00
Irit Katriel
c590c2338e
bpo-23915: update and elucidate documentation of with_traceback (GH-23680)
2020-12-16 17:03:32 +01:00
Antoine
fc3dca3e16
Clarify eval() doc from library/functions. (GH-22700)
2020-12-16 16:45:19 +01:00
Jason R. Coombs
928dbfc16c
bpo-42090: zipfile.Path.joinpath now accepts multiple arguments (GH-22976)
...
Automerge-Triggered-By: GH:jaraco
2020-12-15 18:12:54 -08:00
pxinwr
e1e3c2dac3
bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687)
2020-12-15 22:20:07 +01:00
Julien Palard
c8a10d2fab
bpo-36675: Doc: Reveal doctest directives (GH-23620)
2020-12-15 17:23:03 +01:00
sblondon
da431f789b
Add two spaces around equal sign ( #23719 )
...
Fit to PEP8 coding style
2020-12-12 21:27:22 -08:00
Ethan Furman
efb13be72c
bpo-42385: [Enum] add `_generate_next_value_` to StrEnum (GH-23735)
...
The default for auto() is to return an integer, which doesn't work for `StrEnum`. The new `_generate_next_value_` for `StrEnum` returns the member name, lower cased.
2020-12-10 12:20:06 -08:00
vabr-g
9fc571359a
bpo-41877: Improve docs for assert misspellings check in mock (GH-23729)
...
This is a follow-up to
4662fa9bfe
.
That original commit expanded guards against misspelling assertions on
mocks. This follow-up updates the documentation and improves the error
message by pointing out the potential cause and solution.
Automerge-Triggered-By: GH:gpshead
2020-12-10 10:35:28 -08:00
Ethan Furman
7cf0aad96d
bpo-42517: [Enum] do not convert private names into members (GH-23722)
...
private names, such as `_Color__hue` and `_Color__hue_` are now normal attributes, and do not become members nor raise exceptions
2020-12-09 17:12:11 -08:00
Andre Delfino
2a35137328
[doc] Link to issue regarding logging.disable level param default value (GH-23726)
2020-12-09 15:37:39 -08:00
Andre Delfino
35cacce525
[doc] Document logging.basicConfig default format (GH-23710)
...
Automerge-Triggered-By: GH:vsajip
2020-12-09 13:56:17 -08:00
Raymond Hettinger
752cdf21eb
bpo-38843: Document behavior of default when the attribute is already set (GH-23653)
2020-12-06 18:29:08 -08:00