Miss Islington (bot)
36f066a974
Document typing.NoReturn (GH-7107)
...
(cherry picked from commit 6e413f4327
)
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
2018-05-24 21:56:24 -07:00
Miss Islington (bot)
fc0356d2a3
bpo-33629: Prevent coredump in test_importlib (GH-7090)
...
bpo-32374, bpo-33629: Use support.SuppressCrashReport() in
test_bad_traverse() of MultiPhaseExtensionModuleTests to prevent
leaking a core dump file.
(cherry picked from commit 483000e164
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
2018-05-24 14:07:44 -07:00
Serhiy Storchaka
f0e04b2ae2
[3.6] bpo-33622: Fix issues with handling errors in the GC. (GH-7078) (GH-7095)
...
* Fixed a leak when the GC fails to add an object with __del__ into
the gc.garbage list.
* PyGC_Collect() can now be called when an exception is set and
preserves it.
* Fixed an undefined behavior with comparing a dead pointer with NULL.
(cherry picked from commit 301e3cc8a5
)
2018-05-24 16:05:38 +03:00
Miss Islington (bot)
935c81bbbc
bpo-33628: IDLE: Minor code cleanup of codecontext.py and its tests (GH-7085)
...
(cherry picked from commit 8506016f90
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-05-23 20:16:33 -07:00
Terry Jan Reedy
32adddb65e
[3.6] Improve comments in test_idle.py. (GH-7057) (GH-7060)
...
(cherry picked from commit 2a6d5da
)
2018-05-22 14:34:18 -04:00
Miss Islington (bot)
2baee0aa77
bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)
...
(cherry picked from commit ae00fb1d4f
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-22 06:26:43 -07:00
Serhiy Storchaka
93e9fb5664
[3.6] bpo-5945: Improve mappings and sequences C API docs. (GH-7029). (GH-7049)
...
(cherry picked from commit f5b1183610
)
2018-05-22 14:54:14 +03:00
Serhiy Storchaka
1b48b9cfac
[3.6] Fix line breaks added after hyphens by blurb. (GH-7002) (GH-7051)
...
Also remove bullet asterisks from IDLE entries.
(cherry picked from commit aef639f626
)
2018-05-22 14:53:37 +03:00
Miss Islington (bot)
ab90ea2a9c
Fix lambda parameters being refered as arguments (GH-7037)
...
(cherry picked from commit 268cc7c3f8
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-22 01:07:35 -07:00
Miss Islington (bot)
0c1e7d8122
bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)
...
(cherry picked from commit 1179f4b40f
)
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-05-21 19:18:41 -07:00
Serhiy Storchaka
e9e2fd75cc
[3.6] bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922) (GH-7014)
...
uuid._ipconfig_getnode did not validate the maximum length of the value,
so long as the value had the same type of formatting as a MAC address.
This let it select DUIDs as MAC addresses. It now requires an exact
length match.
(cherry picked from commit c66c342cb4
)
Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
2018-05-21 15:20:55 +03:00
Andrew Svetlov
7208bfb64b
[3.6] bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450) ( #7025 )
...
* bpo-33263 Fix FD leak in _SelectorSocketTransport. (GH-6450)
Under particular circumstances _SelectorSocketTransport can try to add a reader
even the transport is already being closed. This can lead to FD leak and
invalid stated of the following connections. Fixed the SelectorSocketTransport
to add the reader only if the trasport is still active..
(cherry picked from commit a84d0b361a
)
2018-05-21 13:09:49 +03:00
Miss Islington (bot)
983e9653e0
bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991)
...
(cherry picked from commit 0c4be82890
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-20 08:57:42 -07:00
Miss Islington (bot)
82c9adb3f9
bpo-30940: Updating round() docs. (GH-6342)
...
(cherry picked from commit 900c48dba3
)
Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
2018-05-20 08:29:45 -07:00
Miss Islington (bot)
cef1f870be
Docs: be less specific about python versions (GH-6985)
...
CPython 3.5 is old now, and we don't bump this version often,
so lets avoid using specific versions.
(cherry picked from commit 9572132ab3
)
Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com>
2018-05-20 08:09:58 -07:00
Serhiy Storchaka
49418f6df7
[3.6] bpo-33584: Fix several minor bugs in asyncio. (GH-7003) ( #7006 )
...
* repr() was called for a borrowed link.
* str() was used instead of repr() in formatting one error message.
(cherry picked from commit 6655354afc
)
2018-05-20 17:33:55 +03:00
Miss Islington (bot)
10a122c0d5
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999)
...
(cherry picked from commit 8ae8e6af37
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-19 22:47:05 -07:00
Terry Jan Reedy
09a5c077bd
[3.6] bpo-30928: Update idlelib/NEWS.txt. (GH-6995) (GH-6997)
...
(cherry picked from commit 6b0d09b
)
2018-05-19 23:50:21 -04:00
Miss Islington (bot)
83aedc4d9a
bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)
...
(cherry picked from commit 654038d896
)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-05-19 13:17:18 -07:00
Julien Palard
66b3f53db9
[3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)
...
(cherry picked from commit 78553138be
)
2018-05-19 09:28:28 +02:00
Miss Islington (bot)
a5f33a899f
bpo-19950: Clarify unittest TestCase instance use. (GH-6875) (GH-6939)
...
(cherry picked from commit dff46758f2
)
Co-authored-by: Gregory P. Smith <greg@krypto.org> Google
2018-05-18 17:55:05 -07:00
Andrés Delfino
fb5d0aa116
[3.6] bpo-33518: Add PEP entry to documentation glossary (GH-6860) ( #6935 )
...
(cherry picked from commit d5f1442608
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-19 01:44:21 +02:00
Miss Islington (bot)
c6a5cc8f24
bpo-33556: Remove reference to thread module from docstring (GH-6963)
...
(cherry picked from commit 5634331a76
)
Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
2018-05-18 12:32:12 -07:00
Miss Islington (bot)
09eb6fe8fd
bpo-32282: Remove unnecessary check for `VersionHelpers.h` in `socketmodule.c` on Windows (GH-5120)
...
(cherry picked from commit af11a15c58
)
2018-05-18 20:38:19 +03:00
Miss Islington (bot)
e6e440ad5c
Fix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)
...
(cherry picked from commit bde3e0bf09
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-18 06:53:42 -07:00
Miss Islington (bot)
eb4590e4d9
bpo-33564: Add async to IDLE's code context block openers. (GH-6960)
...
(cherry picked from commit d89ca94847
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-05-17 18:25:25 -07:00
Steve Dower
950d091152
Disable multissltests.py under VSTS (GH-6955)
2018-05-17 16:12:20 -04:00
Miss Islington (bot)
346762698c
Only upload docs for CI build and not pull requests (GH-6945) (GH-6948)
...
(cherry picked from commit 48b1f3773c
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2018-05-17 14:30:09 -04:00
Steve Dower
0d8f83f59c
bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6925)
2018-05-17 09:46:00 -04:00
Stéphane Wirtel
e4cd12d3d3
[3.6] bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6885)
...
(cherry picked from commit 19177fbd5d
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-05-16 10:08:23 -04:00
Miss Islington (bot)
5e8c526804
bpo-32384: Skip test when _testcapi isn't available (GH-4940)
...
(cherry picked from commit 4cc3eb48e1
)
Co-authored-by: Isaiah Peng <isaiah@users.noreply.github.com>
2018-05-16 12:17:25 +03:00
Terry Jan Reedy
8fa36b6be4
bpo-30928: update idlelib/NEWS.txt for 3.6. ( #6888 )
2018-05-16 02:39:13 -04:00
Miss Islington (bot)
47793dec38
bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (GH-6873)
...
(cherry picked from commit 038b21f2ca
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-05-15 18:14:51 -07:00
Terry Jan Reedy
1b0d65fa10
[3.6] bpo-29706: IDLE now colors async and await as keywords in 3.6. ( #6879 )
...
They become full keywords in 3.7.
2018-05-15 20:10:46 -04:00
Miss Islington (bot)
7c59a33491
bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)
...
Added to the eye-verified htest, not to the unittests.
Also remove some stray leftover comments.
(cherry picked from commit 389a48ede9
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-05-15 13:48:14 -07:00
Petr Viktorin
e618e96581
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)
...
This is a backport of the documentation part of GH-6862
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
2018-05-15 13:31:47 -04:00
Miss Islington (bot)
c50e5b1f1f
bpo-31947: remove None default for names param in Enum._create_ GH-4288 (GH-6485)
...
(cherry picked from commit b8e21f1289
)
Co-authored-by: anentropic <ego@anentropic.com>
2018-05-15 08:19:50 -07:00
Miss Islington (bot)
726894addc
bpo-16865: Support arrays >=2GB in ctypes. (GH-3006)
...
(cherry picked from commit 735abadd5b
)
Co-authored-by: Segev Finer <segev208@gmail.com>
2018-05-14 22:55:52 -07:00
Travis DePrato
295465dc29
Add AsyncContextManager to typing module documentation. (GH-6823)
2018-05-14 22:07:21 -04:00
Miss Islington (bot)
3936fd7b2c
[3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) (GH-6795) (GH-6818)
...
The urllib.robotparser's __str__ representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields.
(cherry picked from commit c3fa1f2b93
)
Co-authored-by: Michael Lazar <lazar.michael22@gmail.com>
2018-05-15 01:03:56 +03:00
Miss Islington (bot)
914bad6e2c
Add versionchanged in create_datagram_endpoint doc (GH-4697)
...
Most of the parameters were added in 3.4.4 (b9bf913ab3
), but this
change was not documented
(cherry picked from commit 0ded580403
)
Co-authored-by: Romuald Brunet <romuald@chivil.com>
2018-05-14 13:12:47 -07:00
Miss Islington (bot)
9fd5b5fdf8
bpo-22069: Update TextIO documentation (GH-6609)
...
Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58fa
)
Co-authored-by: Elena Oat <oat.elena@gmail.com>
2018-05-14 09:18:07 -07:00
Miss Islington (bot)
48fdbbf6bb
bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)
...
This happens in the NixOS build sandbox, for example, where the only
other user is nobody with home directory /.
(cherry picked from commit 5c0d462689
)
Co-authored-by: Anders Kaseorg <andersk@mit.edu>
2018-05-14 07:45:34 -07:00
Miss Islington (bot)
0d17e60b33
bpo-28055: Fix unaligned accesses in siphash24(). (GH-6123)
...
The hash implementation casts the input pointer to uint64_t* and directly reads
from this, which may cause unaligned accesses. Use memcpy() instead so this code
will not crash with SIGBUS on sparc.
https://bugs.gentoo.org/show_bug.cgi?id=636400
(cherry picked from commit 1e2ec8a996
)
Co-authored-by: Rolf Eike Beer <eike@sf-mail.de>
2018-05-13 04:40:03 -07:00
Ivan Levkivskyi
308dbe0388
Backport recent typing updates (GH-6759)
2018-05-10 23:15:14 -04:00
Miss Islington (bot)
7488c79b60
bpo-26701: Tweak the documentation for special methods in int(). (GH-6741)
...
(cherry picked from commit df00f04825
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-10 07:38:20 -07:00
Miss Islington (bot)
8ac158a6df
bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (GH-3859)
...
(cherry picked from commit d518d8bc8d
)
Co-authored-by: Oren Milman <orenmn@gmail.com>
2018-05-09 15:27:59 -07:00
Miss Islington (bot)
fa40fc0593
bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738)
...
(cherry picked from commit ddb6215a55
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-09 02:00:13 -07:00
Miss Islington (bot)
6079b607d3
Fix superfluous if in documentation. (GH-6728)
...
(cherry picked from commit b3c369861b
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-05-09 01:10:12 -07:00
Miss Islington (bot)
7f4f94d474
Fix typo in __mul__ and __rmul__ docstring (GH-6674)
...
(cherry picked from commit 0904f766e1
)
Co-authored-by: Grant Jenks <grant.jenks@gmail.com>
2018-05-08 22:49:57 -07:00