Miss Islington (bot)
d8af830243
bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163)
...
(cherry picked from commit 3d3e66c2da
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-28 18:08:17 -07:00
Miss Islington (bot)
100db0b584
bro-33614: Override exit code in find_msbuild.bat (GH-7169)
...
(cherry picked from commit f9b364fe51
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2018-05-28 15:38:30 -07:00
Miss Islington (bot)
7e8819a589
bpo-31647: Fix write_eof() after close() for SelectorSocketTransport (GH-7149) ( #7154 )
...
Fixed bug where calling write_eof() on a _SelectorSocketTransport after
it's already closed raises AttributeError.
(cherry picked from commit 23f587e395
)
Co-authored-by: twisteroid ambassador <twisteroidambassador@users.noreply.github.com>
2018-05-28 16:25:03 -04:00
Miss Islington (bot)
c489a767af
bpo-33614: Ensures module definition files for the stable ABI on Windows are correctly regenerated. (GH-7165)
...
(cherry picked from commit e97ba4c690
)
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2018-05-28 13:16:07 -07:00
Miss Islington (bot)
6ec325d483
bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145)
...
(cherry picked from commit 08c5aca9d1
)
Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>
2018-05-28 09:37:10 -07:00
Miss Islington (bot)
ae27dee0f8
bpo-33655: Also ignore test_posix_fallocate failures on BSD platforms (GH-7134)
...
The failure may be due to the use oF ZFS, a case we already ignore
for Solaris-based systems where ZFS is frequently used.
(cherry picked from commit 09c4a7dee2
)
Co-authored-by: Ned Deily <nad@python.org>
2018-05-26 14:57:59 -07:00
Andrés Delfino
717204ffcc
[3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829) (GH-7128)
...
* [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829).
(cherry picked from commit 6e33f810c9
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Typo fix spotted by Guido
2018-05-26 10:41:12 -07:00
Miss Islington (bot)
9ba3be4718
bpo-33644: Fix signatures of tp_finalize handlers in testing code. (GH-7111) (GH-7125)
...
(cherry picked from commit 19de8b3dd7
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-26 13:17:08 +03:00
Miss Islington (bot)
ecd0bb2693
test.regrtest: flush stdout when display progress (GH-7105)
...
runtest_mp.py: call print() with flush=True.
(cherry picked from commit 4f0bc7f7ab
)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
2018-05-25 10:08:23 -07:00
Miss Islington (bot)
20b797dafa
bpo-33012: Add -Wno-cast-function-type for gcc 8. (GH-6757)
...
(cherry picked from commit ef91ddeae7
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-25 04:02:54 -07:00
CtrlZvi
749afe81ec
[3.6] bpo-26819: Prevent proactor double read on resume (GH-6921) ( #7110 )
...
The proactor event loop has a race condition when reading with
pausing/resuming. `resume_reading()` unconditionally schedules the read
function to read from the current future. If `resume_reading()` was
called before the previously scheduled done callback fires, this results
in two attempts to get the data from the most recent read and an
assertion failure. This commit tracks whether or not `resume_reading`
needs to reschedule the callback to restart the loop, preventing a
second attempt to read the data..
(cherry picked from commit 4151061855
)
Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
2018-05-25 11:03:25 +03:00
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