Terry Jan Reedy
54cf2e0780
bpo-37325: Fix focus traversal for 2 IDLE dialogs ( #14209 )
...
Tab now moves focus across and down for Help Source and Custom Run.
2019-06-18 17:08:24 -04:00
Paul Ganssle
d287215df5
Add pganssle to CODEOWNERS and ACKS (GH-14138)
...
Also adds abalkin to CODEOWNERS for date and time related files.
2019-06-18 19:57:45 +01:00
Mike Gleen
6b9c204ee7
bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)
...
For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional.
This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true.
bpo-34903
2019-06-18 19:14:57 +01:00
Jeroen Demeyer
59543347d1
bpo-37151: remove _PyFunction_FastCallDict (GH-13864)
2019-06-18 20:05:41 +09:00
animalize
d8f336fdc1
bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180)
2019-06-18 05:25:19 -04:00
Jeroen Demeyer
988e6aa322
bpo-37233: use _PY_FASTCALL_SMALL_STACK in method_vectorcall (GH-13974)
2019-06-18 17:56:53 +09:00
Jeroen Demeyer
c78fe320db
bpo-37151: use PyVectorcall_Call for all calls of "method" (GH-13972)
2019-06-18 17:50:28 +09:00
Ned Deily
a514f782b8
bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188)
2019-06-18 04:37:13 -04:00
Ned Deily
f3fb8393e3
bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187)
2019-06-18 04:17:33 -04:00
David Carlier
9bbece9d7a
remove dead code (GH-14104)
...
default case ought to handle the "unexpected".
2019-06-18 15:36:34 +09:00
Cheryl Sabella
201bc2d18b
bpo-5680: IDLE: Customize running a module (GH-13763)
...
The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
2019-06-17 22:24:10 -04:00
Brett Cannon
7fb3190bcf
Add sponsorship details for GitHub Sponsor button (GH-14181)
2019-06-17 18:30:56 -07:00
Steve Dower
fe2ad927f4
Improve release build performance using new artifacts tasks (GH-14175)
2019-06-17 15:27:36 -07:00
Victor Stinner
343ed0ffe0
bpo-37189: Export old PyRun_XXX() functions ( #14142 )
...
Many PyRun_XXX() functions like PyRun_String() were no longer
exported in libpython38.dll by mistake. Export them again to fix the
ABI compatibiliy.
2019-06-18 00:15:13 +02:00
Victor Stinner
dbdc991a62
Fix test_embed.test_pre_initialization_sys_options() env vars (GH-14172)
...
test_pre_initialization_sys_options() of test_embed now removes
PYTHON* environment variables like PYTHONWARNINGS.
2019-06-18 00:11:00 +02:00
Victor Stinner
ac7b1a3f32
bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)
...
aifc.openfp() alias to aifc.open(), sunau.openfp() alias to
sunau.open(), and wave.openfp() alias to wave.open() have been
removed. They were deprecated since Python 3.7.
2019-06-18 00:00:24 +02:00
Terry Jan Reedy
8fac122109
bpo-37321: Edit IDLE subprocess connection error messages. ( #14170 )
...
Mainly, add a doc reference to message in pyshell.
2019-06-17 17:23:28 -04:00
Tal Einat
5bff3c86ab
bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678)
...
Measure required height by quickly maximizing once per screen.
A search for a better method failed.
2019-06-17 15:41:00 -04:00
Steve Dower
a268edd6a4
bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
2019-06-17 11:36:08 -07:00
Cooper Lees
4acdbf11b1
bpo-34556: Add --upgrade-deps to venv module ( #13100 )
...
Add --upgrade-deps to venv module
- This allows for pip + setuptools to be automatically upgraded to the latest version on PyPI
- Update documentation to represent this change
bpo-34556: Add --upgrade to venv module
2019-06-17 19:18:13 +01:00
Vinay Sajip
ca7b504a4d
bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… (GH-14008)
2019-06-17 17:40:52 +01:00
Paul Monson
00f6493084
bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)
2019-06-17 08:21:28 -07:00
Victor Stinner
5352cc41fa
bpo-37194: Add PyObject_CallNoArgs() rationale (GH-14159)
...
Explain in the doc why PyObject_CallNoArgs() should be preferred over
other existing ways to call a function without any arguments.
2019-06-17 17:15:36 +02:00
Serhiy Storchaka
1b8a46d597
bpo-35431: Test math.comb() and math.perm() for OverflowError only on CPython. (GH-14146)
...
Other implementation can raise MemoryError, but it can takes hours.
2019-06-17 16:58:32 +03:00
Serhiy Storchaka
231aad3849
bpo-37315: Deprecate accepting floats in math.factorial(). (GH-14147)
2019-06-17 16:57:27 +03:00
Victor Stinner
1ce2656f13
bpo-37194: Complete PyObject_CallXXX() docs (GH-14156)
...
Mention explicitly that PyObject_CallXXX() functions raise an
exception an failure.
2019-06-17 14:58:10 +02:00
Victor Stinner
2ff58a24e8
bpo-37194: Add a new public PyObject_CallNoArgs() function (GH-13890)
...
Add a new public PyObject_CallNoArgs() function to the C API: call a
callable Python object without any arguments.
It is the most efficient way to call a callback without any argument.
On x86-64, for example, PyObject_CallFunctionObjArgs(func, NULL)
allocates 960 bytes on the stack per call, whereas
PyObject_CallNoArgs(func) only allocates 624 bytes per call.
It is excluded from stable ABI 3.8.
Replace private _PyObject_CallNoArg() with public
PyObject_CallNoArgs() in C extensions: _asyncio, _datetime,
_elementtree, _pickle, _tkinter and readline.
2019-06-17 14:27:23 +02:00
Victor Stinner
8bf08ee45b
bpo-37312: Remove _dummy_thread and dummy_threading modules (GH-14143)
...
Remove _dummy_thread and dummy_threading modules. These modules
were deprecated since Python 3.7 which requires threading support.
2019-06-17 14:18:43 +02:00
Jeroen Demeyer
2e9954d347
bpo-36922: use Py_TPFLAGS_METHOD_DESCRIPTOR in lookup_maybe_method() (GH-13865)
2019-06-17 20:53:20 +09:00
Jeroen Demeyer
0456df4a55
bpo-37231: remove _PyObject_FastCall_Prepend (GH-14153)
2019-06-17 20:41:32 +09:00
Victor Stinner
c034b7824f
bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148)
...
bpo-35031, bpo-35998: Reintroduce workaround on Windows and FreeBSD
in test_start_tls_server_1() of test_asyncio: disable TLS v1.3 on the
client context.
2019-06-17 11:47:49 +02:00
Joost Lek
c5905f39bc
bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943)
2019-06-17 10:10:17 +02:00
Zackery Spytz
28fca0c422
bpo-37267: Do not check for FILE_TYPE_CHAR in os.dup() on Windows (GH-14051)
...
On Windows, os.dup() no longer creates an inheritable fd when handling a
character file.
2019-06-17 09:17:14 +02:00
Terry Jan Reedy
66d47da86a
bpo-37220: Fix 2.7 test -R crash on Windows. (GH-13957)
...
The patch needed for 2.7 should make the test more stable on 3.x also.
2019-06-16 16:33:56 -04:00
Hai Shi
c83356cae2
closes bpo-37300: Remove unnecessary Py_XINCREF in classobject.c. (GH-14120)
2019-06-16 13:19:19 -07:00
Jeroen Demeyer
5600b5e1b2
bpo-28805: document METH_FASTCALL (GH-14079)
2019-06-17 02:03:22 +09:00
Mark Dickinson
2dfeaa9222
Turn math.isqrt assertion into a comment to clarify its purpose. (GH-14131)
2019-06-16 17:53:21 +01:00
Mark Dickinson
45e0411eee
Simplify negativity checks in math.comb and math.perm. (GH-13870)
2019-06-16 11:06:06 +01:00
Julien Palard
552951563c
Doc: Remove an ugly space before a dot. (GH-14123)
2019-06-16 10:25:05 +02:00
Rémi Lapeyre
8047e0e1c6
bpo-35922: Fix RobotFileParser when robots.txt has no relevant crawl delay or request rate (GH-11791)
...
Co-Authored-By: Tal Einat <taleinat+github@gmail.com>
2019-06-16 09:48:57 +03:00
Michael Felt
3a1d50e7e5
bpo-28009: Fix uuid SkipUnless logic to be based on platform programs capable of introspection (GH-12777)
...
uuid could try fallback methods that had no chance of working on a particular
platform, and this could cause spurious test failures, as well as degraded
performance as fallback options were tried and failed.
This fixes both the uuid module and its test's SkipUnless logic to use a
prefiltered list of techniques that may at least potentially work on that platform.
Patch by Michael Felt (aixtools).
2019-06-16 01:52:29 +10:00
Pablo Galindo
7a68f8c28b
bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099)
2019-06-15 15:58:00 +01:00
Julien Palard
cfa0394b97
Doc: Deprecation header: More precise wording. (GH-14109)
2019-06-15 10:21:37 -04:00
Alex Gaynor
6ef4d323bd
Update link in colorsys docs to be https (GH-14062)
2019-06-15 07:09:36 -07:00
Julien Palard
7d23dbe6d1
Doc: Bump Sphinx verison. ( #13785 )
...
To reflect the one we're using in production.
2019-06-15 15:41:58 +02:00
ubordignon
552ace7498
Fix typo in Lib/concurrent/futures/thread.py (GH-13953)
2019-06-15 07:43:10 -04:00
Géry Ogam
f475729a71
Update weakref.rst (GH-14098)
2019-06-15 04:33:23 -07:00
Andrew Svetlov
0237265e82
Use threadpool for reading from file in sendfile fallback mode ( #14076 )
2019-06-15 14:05:35 +03:00
Andrew Svetlov
ef2152354f
bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075)
2019-06-15 14:05:08 +03:00
Victor Stinner
7efc526e5c
bpo-36707: Document "m" removal from sys.abiflags (GH-14090)
2019-06-15 03:24:41 +02:00