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
Pablo Galindo
4c53e63cc9
bpo-39166: Fix trace of last iteration of async for loops ( #17800 )
2020-01-10 09:24:22 +00:00
Serhiy Storchaka
850a8856e1
bpo-39235: Check end_lineno and end_col_offset of AST nodes. (GH-17926)
2020-01-10 10:12:55 +02:00
Guido van Rossum
a796d8ef9d
bpo-39235: Fix end location for genexp in call args (GH-17925)
...
The fix changes copy_location() to require an extra node from which to extract the end location, and fixing all 5 call sites.
https://bugs.python.org/issue39235
2020-01-09 11:18:47 -08:00
Daniel Hahler
2f65aa4658
Fix typo in test's docstring (GH-17856)
...
* Fix typo in test's docstring. contination -> continuation.
2020-01-09 22:37:32 +05:30
Steve Dower
ed367815ee
bpo-25172: Reduce scope of crypt import tests (GH-17881)
2020-01-09 09:00:29 -08:00
Karthikeyan Singaravelan
eef1b027ab
Add test cases for dataclasses. ( #17909 )
...
* Add test cases for dataclasses.
* Add test for repr output of field.
* Add test for ValueError to be raised when both default and default_factory are passed.
2020-01-09 08:41:46 -05:00
Petr Viktorin
6c5d661342
bpo-39161: Document multi-phase init modules under Py_NewInterpreter() (GH-17896)
...
\+ this also adds a stronger warning against sharing objects between (sub-)interpreters.
https://bugs.python.org/issue39161
2020-01-09 04:05:18 -08:00
Alex Henrie
f3e5e95669
bpo-39270: Remove dead assignment from config_init_module_search_paths (GH-17914)
2020-01-09 10:14:11 +01:00
Alex Henrie
a1c1be24cb
bpo-39272: Remove dead assignment from _ssl__SSLContext_load_verify_locations_impl (GH-17916)
2020-01-09 10:12:12 +01:00
Alex Henrie
1a183faccb
bpo-39271: Remove dead assignment from pattern_subx (GH-17915)
2020-01-09 08:27:51 +02:00
Alex Henrie
5cae042f68
closes bpo-39262: Use specific out-of-memory message in _sharedexception_bind. (GH-17908)
2020-01-08 18:48:52 -08:00
Alex Henrie
2c7ed417a4
closes bpo-39261: Remove dead assignment from pyinit_config. (GH-17907)
2020-01-08 18:46:55 -08:00
Victor Stinner
f3a0a6bbcc
Py_DECREF: only pass filename if Py_REF_DEBUG is defined (GH-17870)
...
Filename and line numbers are not needed when Py_REF_DEBUG are not
defined.
The static inline _Py_DECREF() function was introduced by
commit 2aaf0c1204
.
2020-01-08 21:03:45 +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
Pablo Galindo
9a669d58e8
bpo-39233: Update positional-only section in the glossary (GH-17874)
...
https://bugs.python.org/issue39233
2020-01-08 05:00:14 -08:00
Alex Henrie
998c54948a
bpo-39237, datetime: Remove redundant call to round from delta_new (GH-17877)
2020-01-08 13:52:44 +01:00
Dong-hee Na
b821173b54
bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780)
...
Correctly parenthesize filter-based statements that contain lambda
expressions in lib2to3.
2020-01-07 18:30:54 +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
Derek Brown
950c6795aa
bpo-39198: Ensure logging global lock is released on exception in isEnabledFor (GH-17689)
2020-01-07 16:40:23 +00: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
Andrew Svetlov
10ac0cded2
bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863)
...
https://bugs.python.org/issue39191
2020-01-07 05:23:01 -08:00
Inada Naoki
ca94677a62
bpo-38623: Doc: Add section for site module CLI. (GH-17858)
2020-01-07 16:58:40 +09:00
Inada Naoki
f4800b8ed3
Doc: Change Python 2 status to EOL. (GH-17885)
2020-01-07 15:52:44 +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
Steve Dower
b1ce22d086
bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)
...
https://bugs.python.org/issue39041
Automerge-Triggered-By: @zooba
2020-01-06 13:23:10 -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
Anthony Wee
7b79dc9200
bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (GH-17818)
2020-01-06 08:57:34 -08:00
Pablo Galindo
5ec91f78d5
bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860)
2020-01-06 15:59:09 +00:00
Chandan Singh
075ebad369
Fix link to bpo issue in Changelog (GH-17692)
2020-01-06 20:48:16 +05:30
Jason R. Coombs
7cdc31a14c
bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864)
...
Fixes error attempting to bind to IPv4 address.
2020-01-06 07:59:36 -05:00
Dong-hee Na
5136e721d7
argument-clinic: Simplify multi-line string handling (GH-17852)
2020-01-06 10:46:03 +00:00
Jason R. Coombs
ee94bdb059
bpo-38907: In http.server script, restore binding to IPv4 on Windows. (GH-17851)
2020-01-05 22:32:19 -05: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
HongWeipeng
abc0c4fa99
Fix the parameter list of object. _rpow_ (#GH-16477)
2020-01-05 17:20:29 -05:00
Oleg Höfling
e6ae90dede
Replace links in howto/pyporting.rst with sphinx references (GH-17781)
...
Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
2020-01-05 17:08:14 -05:00
Pablo Galindo
422ed16fb8
Organise and clean test_positional_only_arg and add more tests (GH-17842)
2020-01-05 18:52:39 +00:00
Pablo Galindo
4b66fa6ce9
bpo-39200: Correct the error message for range() empty constructor (GH-17813)
...
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2020-01-05 17:30:53 +00:00
Anthony Sottile
b121a4a45f
Fix constant folding optimization for positional only arguments (GH-17837)
2020-01-05 17:03:56 +00:00
Terry Jan Reedy
5ea7bb25e3
bpo-39152: add missing ttk.Scale.configure return value (GH-17815)
...
tkinter.ttk.Scale().configure([name]) now returns a configuration tuple for name
or a list thereof for all options. Based on patch Giovanni Lombardo.
2020-01-05 11:23:58 -05:00
Serhiy Storchaka
b19c0d77e6
bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)
2020-01-05 14:15:50 +02:00
Serhiy Storchaka
41ec17e45d
bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)
...
No longer import the re module if it is not needed.
2020-01-05 14:15:27 +02:00
Serhiy Storchaka
6a265f0d0c
bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)
...
Ignore leading dots and no longer ignore a trailing newline.
2020-01-05 14:14:31 +02:00
Anthony Sottile
ec007cb43f
Fix SystemError when nested function has annotation on positional-only argument (GH-17826)
2020-01-05 01:57:21 +00:00
Anthony Shaw
7dc72b8d4f
bpo-28367: Add additional baud rates for termios (GH-13142)
...
Co-authored-by: Andrey Smirnov <andrew.smirnov@gmail.com>.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2020-01-04 13:56:31 +01:00
Andrew Svetlov
3a5de51159
Fix #39191 : Don't spawn a task before failing ( #17796 )
2020-01-04 11:10:14 +02:00
Zackery Spytz
e02ab59fdf
bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-16857)
2020-01-03 13:16:12 +01:00
Emmanuel Nosa E
b789202cbe
Add link to zlib v1.1.3 vulnerability (GH-17156)
2020-01-03 13:10:16 +01:00