Kyle Pollina
b4cdb3f60e
Fix documentation in code.py (GH-17988)
2020-01-15 01:17:25 +05:30
Pablo Galindo
a2ec3f07f7
bpo-39322: Add gc.is_finalized to check if an object has been finalised by the gc (GH-17989)
2020-01-14 12:06:45 +00:00
Mark Shannon
9af0e47b17
bpo-39156: Break up COMPARE_OP into four logically distinct opcodes. (GH-17754)
...
Break up COMPARE_OP into four logically distinct opcodes:
* COMPARE_OP for rich comparisons
* IS_OP for 'is' and 'is not' tests
* CONTAINS_OP for 'in' and 'is not' tests
* JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements.
2020-01-14 10:12:45 +00:00
Dong-hee Na
62e3973395
bpo-39259: smtp.SMTP/SMTP_SSL now reject timeout = 0 (GH-17958)
2020-01-14 08:49:59 +01:00
Dong-hee Na
a190e2ade1
bpo-39259: ftplib.FTP/FTP_TLS now reject timeout = 0 (GH-17959)
2020-01-13 20:34:34 +01:00
Victor Stinner
0b2ab21956
bpo-39310: Add math.ulp(x) (GH-17965)
...
Add math.ulp(): return the value of the least significant bit
of a float.
2020-01-13 12:44:35 +01:00
Batuhan Taşkaya
61b14151cc
bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967)
...
https://bugs.python.org/issue39313
Automerge-Triggered-By: @pablogsal
2020-01-12 14:13:31 -08:00
Batuhan Taşkaya
6680f4a9f5
bpo-3530: Add advice on when to correctly use fix_missing_locations in the AST docs (GH-17172)
...
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2020-01-12 20:38:53 +00:00
Victor Stinner
54cfbb2fee
bpo-39288: Add examples to math.nextafter() documentation (GH-17962)
2020-01-12 12:57:47 +01:00
Zac Hatfield-Dodds
d7c7adde00
bpo-12159: Document sys.maxsize limit in len() function reference (GH-17934)
2020-01-12 10:04:14 +01:00
Victor Stinner
100fafcf20
bpo-39288: Add math.nextafter(x, y) (GH-17937)
...
Return the next floating-point value after x towards y.
2020-01-12 02:15:42 +01:00
Dong-hee Na
1b335ae281
bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936)
...
nntplib.NNTP and nntplib.NNTP_SSL now raise a ValueError
if the given timeout for their constructor is zero to
prevent the creation of a non-blocking socket.
2020-01-11 18:39:15 +01:00
Dong-hee Na
c39b52f152
bpo-39259: poplib now rejects timeout = 0 (GH-17912)
...
poplib.POP3 and poplib.POP3_SSL now raise a ValueError
if the given timeout for their constructor is zero to
prevent the creation of a non-blocking socket.
2020-01-10 15:34:05 +01:00
An Long
5907e61a8d
bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822)
2020-01-08 10:28:14 -08:00
Dong-hee Na
2e6a8efa83
bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)
2020-01-08 16:29:34 +01:00
Dong-hee Na
13a7ee8d62
bpo-38615: Add timeout parameter for IMAP4 and IMAP4_SSL constructor (GH-17203)
...
imaplib.IMAP4 and imaplib.IMAP4_SSL now have an
optional *timeout* parameter for their constructors.
Also, the imaplib.IMAP4.open() method now has an optional *timeout* parameter
with this change. The overridden methods of imaplib.IMAP4_SSL and
imaplib.IMAP4_stream were applied to this change.
2020-01-07 18:28:10 +01:00
Victor Stinner
5b23f7618d
bpo-39239: epoll.unregister() no longer ignores EBADF (GH-17882)
...
The select.epoll.unregister() method no longer ignores the EBADF
error.
2020-01-07 15:00:02 +01:00
Inada Naoki
ca94677a62
bpo-38623: Doc: Add section for site module CLI. (GH-17858)
2020-01-07 16:58:40 +09:00
YoSTEALTH
24bcefcb74
bpo-39234: `enum.auto()` default initial value as 1 (GH-17878)
...
Updated as Eric mentioned "By default, the initial value starts at 1"
https://bugs.python.org/issue39234
Automerge-Triggered-By: @ericvsmith
2020-01-06 14:04:43 -08:00
YoSTEALTH
2e9012a3e1
bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872)
...
* `enum.auto()` initial value is now specified as being `1`.
2020-01-06 11:53:36 -08:00
Tal Einat
d6c08db853
Minor formatting improvements and fixes to idle.rst (GH-17165)
2020-01-05 18:51:48 -05:00
Khalid Mammadov
94d9cfc4ed
bpo-39130: Dict reversed was added in v3.8 so should say in the doc as well (GH-17694)
...
To be consistent with document layout, it should say when the feature was added.
Although it's mentioned few other places in the doc but it's not explicitly say that at that place.
https://bugs.python.org/issue39130
2020-01-05 14:39:38 -08:00
Emmanuel Nosa E
b789202cbe
Add link to zlib v1.1.3 vulnerability (GH-17156)
2020-01-03 13:10:16 +01:00
Raymond Hettinger
4fcf5c12a3
bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742)
2020-01-02 22:21:18 -07:00
Rafael Fontenelle
149175c6df
bpo-39183: Fix formatting in library/ensurepip (GH-17787)
...
Remove extra space to fix formatting and avoid from splitting text in to strings.
https://bugs.python.org/issue39183
2020-01-01 14:26:33 -08:00
Jendrik Seipp
5b9077134c
bpo-13601: always use line-buffering for sys.stderr (GH-17646)
2020-01-01 23:21:43 +01:00
Anthony Sottile
22424c02e5
Document CodeType.replace (GH-17776)
2020-01-01 06:11:16 +00:00
Борис Верховский
8e1f26e4f0
Minor doc fixes in urllib.parse (GH-17745)
2019-12-31 04:28:18 -08:00
Terry Jan Reedy
ee9ff05ec2
bpo-34118: memoryview, range, and tuple are classes (GH-17761)
...
Tag memoryview, range, and tuple as classes, the same as list, etcetera, in
the library manual built-in functions list.
2019-12-30 17:16:43 -05:00
Antoine
32a12aed6d
Fix typos and remove deprecated deprecation warning. (GH-17741)
2019-12-29 22:14:22 +00:00
Oleg Höfling
cbd0408b54
links in importlib.metadata.rst replaced with sphinx references (GH-17730)
...
The importlib.metadata documentation uses hardcoded links to internal
pages. This results in minor rendering issues. This change replaces
the hardcoded links with suitable Sphinx roles.
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
2019-12-29 12:26:35 -05:00
Gurupad Hegde
6c7bb38ff2
bpo-39136: Fixed typos (GH-17720)
...
funtion -> function; configuraton -> configuration; defintitions -> definitions;
focusses -> focuses; necesarily -> necessarily; follwing -> following;
Excape -> Escape,
2019-12-28 17:16:02 -05:00
Batuhan Taşkaya
98f0f04b50
bpo-38731: Fix function signature of quiet in docs (GH-17719)
2019-12-28 02:53:03 +00:00
Michael Wayne Goodman
91874bb071
closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709)
...
`time.clock()` was removed in Python 3.8, but it was still mentioned
in the documentation for when `time.get_clock_info()` is given the
argument `'clock'`. This commit removes that mention.
2019-12-26 21:01:08 -06:00
Fabio Sangiovanni
e28aff54d9
bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) (GH-17677)
2019-12-25 17:45:30 -05:00
Michael Morehouse
e7b406f4e2
[typo] fix dupe in datetime.fromisoformat docs (GH-17295)
...
Fixes a nearly word for word duplication of a sentence that appears
earlier in the caution section of datetime.datetime.fromisoformat in
Doc/Library/datetime.rst.
No issue created as it's a trivial change.
Automerge-Triggered-By: @pganssle
2019-12-23 06:37:47 -08:00
cocoatomo
068768faf6
Add missing markup (GH-17680)
...
"HH", "MM" and "ffffff" are enclosed with double back quotes, but "SS" is left being bare
2019-12-22 09:46:45 -08:00
Parth Sharma
f522a6ddb6
bpo-38918: Add __module__ entry for function & method type in inspect docs table (GH-17408)
...
Adds` __module__ ` entries for function & method types in inspect docs table.
https://bugs.python.org/issue38918
2019-12-20 11:18:33 -08:00
Jesús Cea
b0d4949f1f
Doc typo ( #17667 )
2019-12-20 03:21:03 +01:00
Batuhan Taşkaya
814d687c7d
bpo-38348: Extend command line options of ast parsing tool (GH-16540)
...
Add -i and --indent (indentation level), and --no-type-comments
(type comments) command line options to ast parsing tool.
2019-12-16 19:23:27 +01:00
Jason R. Coombs
b7a0109cd2
bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568)
...
* bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 including improved docs for custom finders and better serialization support in EntryPoints.
* 📜 🤖 Added by blurb_it.
* Correct module reference
2019-12-10 20:05:10 -05:00
Steve Dower
ee17e37356
bpo-39007: Add auditing events to functions in winreg (GH-17541)
...
Also allows winreg.CloseKey() to accept same types as other functions.
2019-12-09 11:18:12 -08:00
Kyle Stanley
ab513a38c9
bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR ( #17311 )
2019-12-09 15:21:10 +01:00
Victor Stinner
0131aba5ae
bpo-38916: array.array: remove fromstring() and tostring() (GH-17487)
...
array.array: Remove tostring() and fromstring() methods. They were
aliases to tobytes() and frombytes(), deprecated since Python 3.2.
2019-12-09 14:09:14 +01:00
Victor Stinner
6cac113666
bpo-38991: Remove test.support.strip_python_stderr() (GH-17490)
...
test.support: run_python_until_end(), assert_python_ok() and
assert_python_failure() functions no longer strip whitespaces from
stderr.
2019-12-08 08:38:16 +01:00
Christian Heimes
2b7de6696b
bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190)
...
test_openssl_version now accepts version 3.0.0.
getpeercert() no longer returns IPv6 addresses with a trailing new line.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue38820
2019-12-07 08:59:36 -08:00
Daniel Himmelstein
15fb7fa881
bpo-29636: json.tool: Add document for indentation options. (GH-17482)
...
And updated test to use subprocess.run
2019-12-07 23:14:40 +09:00
Anj-A
4443450fda
bpo-38652: Remove provisional note for asyncio.BufferedProtocol (GH-17047)
...
https://bugs.python.org/issue38652
2019-12-07 04:53:12 -08:00
wim glenn
efefe25443
bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472)
2019-12-06 15:44:01 +09:00
An Long
eb48a451e3
bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)
...
Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`.
Prev PR: https://github.com/python/cpython/pull/17367 @aeros
https://bugs.python.org/issue27873
2019-12-03 15:30:53 -08:00