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
Raymond Hettinger
4fcf5c12a3
bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742)
2020-01-02 22:21:18 -07:00
Ned Deily
32f1443aa9
Update copyright year in macOS installer license copy (GH-17806)
2020-01-02 22:28:37 -05:00
Benjamin Peterson
946b29ea0b
Bring Python into the next decade. (GH-17801)
2020-01-02 18:56:34 -08:00
Batuhan Taşkaya
7b35bef978
bpo-38870: Throw ValueError on invalid yield from usage (GH-17798)
2020-01-02 18:20:04 +00:00
Anthony Shaw
78018bb162
Remove outdated mention of hg.exe from Tools/msi/README.txt (GH-17792)
2020-01-02 11:32:55 -06:00
Pablo Galindo
04ec7a1f7a
bpo-39114: Fix tracing of except handlers with name binding (GH-17769)
...
When producing the bytecode of exception handlers with name binding (like `except Exception as e`) we need to produce a try-finally block to make sure that the name is deleted after the handler is executed to prevent cycles in the stack frame objects. The bytecode associated with this try-finally block does not have source lines associated and it was causing problems when the tracing functionality was running over it.
2020-01-02 11:38:44 +00: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
Vinay Sajip
46abfc1416
bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773)
...
This uses the heuristic of assuming a named tuple is a subclass of
tuple with a _fields attribute. This change means that contents of
a named tuple wouldn't be converted - if a user wants to have
ConvertingTuple functionality from a namedtuple, they will have to
implement it themselves.
2020-01-01 19:32:11 +00:00
Anthony Sottile
22424c02e5
Document CodeType.replace (GH-17776)
2020-01-01 06:11:16 +00:00
Ned Batchelder
37143a8e3b
bpo-39176: Improve error message for 'named assignment' (GH-17777)
2019-12-31 20:40:58 -06:00
Terry Jan Reedy
ba82ee894c
Fix idlelib README typo. (GH-17770)
2019-12-31 13:34:22 -05:00
Борис Верховский
8e1f26e4f0
Minor doc fixes in urllib.parse (GH-17745)
2019-12-31 04:28:18 -08:00
Batuhan Taşkaya
d0c92e81aa
closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727)
2019-12-30 18:31:52 -08:00
Inada Naoki
dfef986f12
bpo-38588: Optimize list comparison. (GH-17766)
...
Mitigate performance regression of the list comparison caused by 2d5bf56
.
2019-12-31 10:58:37 +09:00
Dong-hee Na
2d5bf568ea
bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool (GH-17734)
...
Take strong references before calling PyObject_RichCompareBool to protect against the case
where the object dies during the call.
2019-12-31 01:04:22 +00: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
Zackery Spytz
d9e561d23d
bpo-38610: Fix possible crashes in several list methods (GH-17022)
...
Hold strong references to list elements while calling PyObject_RichCompareBool().
2019-12-30 19:32:58 +00:00
Batuhan Taşkaya
09c482fad1
bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile (GH-17560)
2019-12-30 16:08:08 +00:00
Batuhan Taşkaya
4dc5a9df59
bpo-39019: Implement missing __class_getitem__ for subprocess classes (GH-17558)
2019-12-30 16:02:04 +00:00
Kyle Stanley
89aa7f0ede
bpo-34790: Implement deprecation of passing coroutines to asyncio.wait() (GH-16977)
2019-12-30 13:50:19 +02:00
Mark Shannon
88dce26da6
Fix handling of line numbers around finally-blocks. ( #17737 )
2019-12-30 09:53:36 +00:00
Géry Ogam
226e6e7d43
bpo-39037: Fix lookup order of magic methods in with statement documentation (GH-17608)
...
* __enter__ is now looked up before __exit__ to give a more intuitive error message
* add pseudo-code equivalent for the with statement
* fix pseudo-code for the async with statement to use a finally clause
* use SUITE rather than BLOCK for consistency with the language grammar
Patch by Géry Ogam.
2019-12-30 15:24:51 +10:00
Antoine
32a12aed6d
Fix typos and remove deprecated deprecation warning. (GH-17741)
2019-12-29 22:14:22 +00:00