Ivan Levkivskyi
809ff1181c
Document typing.ForwardRef (GH-14216)
7 years ago
Ivan Levkivskyi
47c2de7725
Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214)
I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New".
7 years ago
Victor Stinner
01b63ecac6
bpo-35134: Add Include/cpython/import.h header file (GH-14213)
* Add Include/cpython/import.h and Include/internal/pycore_import.h
header files.
* Move _PyImport_ReInitLock() to the internal C API. Don't export the
symbol anymore.
7 years ago
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.
7 years ago
Paul Ganssle
d287215df5
Add pganssle to CODEOWNERS and ACKS (GH-14138)
Also adds abalkin to CODEOWNERS for date and time related files.
7 years ago
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
7 years ago
Jeroen Demeyer
59543347d1
bpo-37151: remove _PyFunction_FastCallDict (GH-13864)
7 years ago
animalize
d8f336fdc1
bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180)
7 years ago
Jeroen Demeyer
988e6aa322
bpo-37233: use _PY_FASTCALL_SMALL_STACK in method_vectorcall (GH-13974)
7 years ago
Jeroen Demeyer
c78fe320db
bpo-37151: use PyVectorcall_Call for all calls of "method" (GH-13972)
7 years ago
Ned Deily
a514f782b8
bpo-35031: also disable TLS 1.3 for test_start_tls_server_1 on macOS (GH-14188)
7 years ago
Ned Deily
f3fb8393e3
bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187)
7 years ago
David Carlier
9bbece9d7a
remove dead code (GH-14104)
default case ought to handle the "unexpected".
7 years ago
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.
7 years ago
Brett Cannon
7fb3190bcf
Add sponsorship details for GitHub Sponsor button (GH-14181)
7 years ago
Steve Dower
fe2ad927f4
Improve release build performance using new artifacts tasks (GH-14175)
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
Terry Jan Reedy
8fac122109
bpo-37321: Edit IDLE subprocess connection error messages. ( #14170 )
Mainly, add a doc reference to message in pyshell.
7 years ago
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.
7 years ago
Steve Dower
a268edd6a4
bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
7 years ago
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
7 years ago
Vinay Sajip
ca7b504a4d
bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… (GH-14008)
7 years ago
Paul Monson
00f6493084
bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)
7 years ago
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.
7 years ago
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.
7 years ago
Serhiy Storchaka
231aad3849
bpo-37315: Deprecate accepting floats in math.factorial(). (GH-14147)
7 years ago
Victor Stinner
1ce2656f13
bpo-37194: Complete PyObject_CallXXX() docs (GH-14156)
Mention explicitly that PyObject_CallXXX() functions raise an
exception an failure.
7 years ago
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.
7 years ago
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.
7 years ago
Jeroen Demeyer
2e9954d347
bpo-36922: use Py_TPFLAGS_METHOD_DESCRIPTOR in lookup_maybe_method() (GH-13865)
7 years ago
Jeroen Demeyer
0456df4a55
bpo-37231: remove _PyObject_FastCall_Prepend (GH-14153)
7 years ago
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.
7 years ago
Joost Lek
c5905f39bc
bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943)
7 years ago
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.
7 years ago
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.
7 years ago
Hai Shi
c83356cae2
closes bpo-37300: Remove unnecessary Py_XINCREF in classobject.c. (GH-14120)
7 years ago
Jeroen Demeyer
5600b5e1b2
bpo-28805: document METH_FASTCALL (GH-14079)
7 years ago
Mark Dickinson
2dfeaa9222
Turn math.isqrt assertion into a comment to clarify its purpose. (GH-14131)
7 years ago
Mark Dickinson
45e0411eee
Simplify negativity checks in math.comb and math.perm. (GH-13870)
7 years ago
Julien Palard
552951563c
Doc: Remove an ugly space before a dot. (GH-14123)
7 years ago
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>
7 years ago
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).
7 years ago
Pablo Galindo
7a68f8c28b
bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099)
7 years ago
Julien Palard
cfa0394b97
Doc: Deprecation header: More precise wording. (GH-14109)
7 years ago
Alex Gaynor
6ef4d323bd
Update link in colorsys docs to be https (GH-14062)
7 years ago
Julien Palard
7d23dbe6d1
Doc: Bump Sphinx verison. ( #13785 )
To reflect the one we're using in production.
7 years ago
ubordignon
552ace7498
Fix typo in Lib/concurrent/futures/thread.py (GH-13953)
7 years ago
Géry Ogam
f475729a71
Update weakref.rst (GH-14098)
7 years ago