Erlend Egeberg Aasland
49171aa91a
bpo-45723: Remove dead code for obsolete `--with-dyld` option (GH-29500)
...
Was commented out by Jack Jansen in 2001-08-15 by commit
b6e9cad34ce46a6a733d8aa5bf5b9d389fa1316f:
"Ripped out Next/OpenStep support, which was broken anyway"
Automerge-Triggered-By: GH:tiran
2021-11-09 13:05:58 -08:00
Steve Dower
a56fbad85e
bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)
2021-11-09 20:12:53 +00:00
Irit Katriel
cb414cf0e2
bpo-45757: Fix bug where dis produced an incorrect oparg on EXTENDED_ARG before a no-arg opcode (GH-29480)
2021-11-09 20:07:38 +00:00
Steve Dower
bcc4e46832
bpo-45732: Update bundled Tcl/Tk on Windows to 8.6.12 (GH-29477)
2021-11-09 16:47:28 +00:00
Raymond Hettinger
c3bc0fe5a6
Factor-out constant calculation. (GH-29491)
2021-11-09 10:30:06 -06:00
Christian Heimes
5b7c7cb104
bpo-45763: Detect compression build deps in configure (GH-29483)
2021-11-09 16:42:53 +01:00
Erlend Egeberg Aasland
185533639d
bpo-45723: Remove obsolete AC_EXEEXT from configure.ac (GH-29486)
...
From the autoconf docs *Obsolete Macros* section:
Defined the output variable EXEEXT based on the output of the
compiler, which is now done automatically. Typically set to empty
string if Posix and ‘.exe’ if a DOS variant.
2021-11-09 07:32:59 -08:00
Carl Friedrich Bolz-Tereick
2819e98d10
bpo-45764: improve error message when missing '(' after 'def' (GH-29484)
...
to achieve this, change the grammar to expect the '(' token after 'def' NAME.
Automerge-Triggered-By: GH:pablogsal
2021-11-09 06:03:32 -08:00
Pablo Galindo Salgado
f4c03484da
bpo-45637: Remove broken fallback in gdb helpers to obtain frame variable (GH-29257)
2021-11-09 11:19:47 +00:00
Christian Heimes
6a1cc8bf8a
bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457)
2021-11-09 09:56:05 +01:00
Christian Heimes
8fefaad242
bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464)
2021-11-09 09:06:41 +01:00
Steve Dower
cfc9154121
Add third-party Windows build definitions (GH-29476)
...
These definition files are for OpenSSL, libffi and Tcl/Tk, which we build and sign ourselves.
2021-11-08 22:16:53 +00:00
Christian Heimes
cbab997efb
bpo-45723: Prepare support for autoconf 2.71 (GH-29441)
2021-11-08 19:31:14 +01:00
Erlend Egeberg Aasland
9bd0cf5970
bpo-45723: Add macro for disabling/enabling CC warnings (GH-29466)
...
Co-authored-by: Christian Heimes <christian@python.org>
2021-11-08 18:58:22 +01:00
180909
7484a5c82a
Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)
2021-11-08 10:51:01 -06:00
Victor Stinner
99c7e9853f
bpo-40170: Update What's New in Python 3.9 (GH-29470)
...
The PyType_HasFeature() change has been reverted: the static inline
function access directly the PyTypeObject.tp_flags member.
2021-11-08 17:41:56 +01:00
Christian Heimes
24af9a40a8
bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456)
2021-11-08 12:48:34 +01:00
180909
122ca4d73f
remove the repeat 'the' ( #29455 )
2021-11-08 10:19:54 +02:00
Christian Heimes
57c50c9c7c
bpo-45723: Add helper macros and more caching to configure.ac (GH-29429)
...
Almost all checks are now cached by AC_CACHE_CHECK().
Common patterns are replaced by helper macros.
Variable names now use naming scheme ``ac_cv_func_$funcname``,
``ac_cv_lib_$library_$funcname``, or ``ac_cv_header_$headername_h``.
``SYS_SELECT_WITH_SYS_TIME`` is no longer used.
``uuid_create`` and ``uuid_enc_be`` are provided by libc on BSD. It is
safe to use ``AC_CHECK_FUNCS`` here.
Caching speeds up ./configure -C from ~ 4s to 2.6s on my system.
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-11-08 08:06:31 +01:00
Rafael Fontenelle
19b107e9b5
bpo-45741: docs: fix plural (GH-29461)
...
"entry points provides" -> "entry points provide"
Automerge-Triggered-By: GH:ericvsmith
2021-11-07 22:03:44 -08:00
Zachary Ware
fd41125f0f
General cleanup of test_pydoc (GH-29459)
...
- Uniform usage of `test.support.requires_docstrings` instead of a
local check for `-OO`.
- Added `requires_docstrings` to a couple more methods that need it.
- Replaced a few instances of `test.test_pydoc` with `__name__` to allow
for different methods of running just this test file.
- Rewrote `test_server` to run faster and better test the server.
- Removed unused import.
- Removed unused locals.
- Minor whitespace cleanups.
2021-11-07 17:44:11 -06:00
Christian Heimes
be3cd5c05d
bpo-45723: Detect missing pkg-config (GH-29442)
2021-11-07 11:18:45 +01:00
Mark Dickinson
9127520729
bpo-45392: Update the docstring of the 'type' built-in (GH-29439)
2021-11-06 20:08:44 +01:00
Serhiy Storchaka
cc1cbcbb2d
bpo-27313: Use non-deprecated methods for tracing (GH-29425)
2021-11-06 20:01:39 +01:00
Andre Delfino
57457a1e5c
bpo-39452: [doc] Change "must" to "can" on relative import style in `__main__` (GH-29379)
2021-11-06 19:09:23 +01:00
Alex Waygood
77a2c77c84
[doc] bpo-45680: Improve glossary entry for generic types (GH-29388)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-11-06 19:00:45 +01:00
Ethan Furman
6ecead106a
[doc] minor fixes to expressions.rst (GH-29444)
2021-11-06 10:26:43 -07:00
Ethan Furman
cb755dba7a
bpo-45740: [Enum] add versionadded markers to docs (GH-29443)
...
[Enum] add versionadded markers to docs
2021-11-06 10:16:43 -07:00
Chris Wesseling
815dad42d5
bpo-45644: Make json.tool read infile before writing to outfile (GH-29273)
...
so that
$ python -m json.tool foo.json foo.json
doesn't result in an empty foo.json.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-11-06 18:11:35 +01:00
Christian Heimes
e9594f6747
bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434)
2021-11-06 10:30:37 +01:00
Steve Dower
a4774f42e3
bpo-45720: Drop references to shlwapi.dll on Windows (GH-29417)
2021-11-05 23:06:45 +00:00
Pablo Galindo
4d8f2e09b6
Post 3.11.0a2
2021-11-05 21:29:33 +00:00
Pablo Galindo
0b8c3f160f
Python 3.11.0a2
...
-----BEGIN PG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W7ae9JZOT+vWFCXX5eN8eFZl3s6qWiHmVPRJVZT+nED+7EzU8UsGONtDkeFTx
qqc+5e9pNaTuqfZGL533MFE1Ck6IDhqWUTKDQ6+Nvnn0zK5NnuKKZdnbXEZJSxSM
wXYNpf60pKu0cKvJBwqxVFiwSOc8aQM3jZZ0xvo0HjN98wJzV0Mj4MJ+fbVPNQv1
vwd53CHnYEzeK8gVn2hvtWfAwADrGx9EFS1zH8vNSsEkqjnOhjyx+GXjrJvroKSc
swlnW1Yj+HEVbg2alFunsfO0z2pmFMLk7RjyV0W9tc1KeqnGMRcNWPc03BxkNuFa
FZ95I1scwsv+5pDpBpgFC0v3ikcvPi/l5I+BQ/i6y4aypUc0w948mQ0E3UniiSs7
KX1CigSgq1rScwd4GED4AMYnco9EUNS5xF+PA6LIVlLLMGm9bu/P1dBECVIeouAQ
isITcZqyRcfti1Lb4GUbAf2HfPEqP4vp0eRCHa5WR6EsEHbgVME=
=DZFj
-----END PGP SIGNATURE-----
Merge tag 'v3.11.0a2'
Python 3.11.0a2
2021-11-05 21:29:23 +00:00
Christian Heimes
9b0f45c069
bpo-43158: Regenerate configure again (GH-29433)
2021-11-05 21:51:26 +01:00
Nikita Sobolev
60b5333fa9
bpo-45679: add `tuple` tests with `lru_cache` to `test_functools` (GH-29339)
2021-11-05 14:52:46 -05:00
Pablo Galindo
e2b4e4bab9
Python 3.11.0a2
2021-11-05 19:04:04 +00:00
Erlend Egeberg Aasland
3d42cd9461
bpo-45243: Use connection limits to simplify `sqlite3` tests (GH-29356)
2021-11-05 19:19:43 +02:00
Alex Waygood
71e8a3e76a
bpo-45762: Improve docs for ``@singledispatch``/``@singledispatchmethod`` (GH-29426)
2021-11-05 17:25:08 +01:00
Pablo Galindo Salgado
e2d65630f3
bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413)
2021-11-05 13:54:55 +00:00
Alex Waygood
32f55d1a5d
bpo-45678: Add more ``singledispatchmethod`` tests (GH-29412)
...
In order to fix a bug in the 3.9 branch in #29394 , more tests were added to
``test_functools.py`` to ensure that ``singledispatchmethod`` still correctly
wrapped a target method, even if the target method had already been wrapped by
multiple other decorators. This PR brings the new tests into the 3.11 and 3.10
branches as well.
2021-11-05 11:06:18 +01:00
Irit Katriel
3509b26c91
bpo-45292: [PEP 654] Update traceback display code to work with exception groups (GH-29207)
2021-11-05 09:39:18 +00:00
Łukasz Langa
e52f9bee80
bpo-27313: Fix ttk_guionly tests failing on Framework builds on macOS (GH-29411)
2021-11-05 09:53:13 +01:00
Łukasz Langa
54d1e3f72e
bpo-45160: Fix refleak in test_ttk_guionly introduced in GH-28291 (GH-29416)
2021-11-05 09:51:31 +01:00
Łukasz Langa
3167df1621
Add generated artifacts in Mac/ to .gitignore; update copyright (GH-29408)
2021-11-04 20:09:46 +01:00
Steve Dower
fd0c84dc28
bpo-45220: Remove invalid include from resource definition files on Windows (GH-29396)
2021-11-04 16:39:36 +00:00
Steve Dower
36b4f9e2a7
bpo-43652: Actually update to Tcl/Tk 8.6.11 on Windows (GH-29397)
2021-11-04 16:39:07 +00:00
Alex Waygood
87032cfa3d
Remove reference to ``Tuple`` at top of ``typing`` docs (GH-29401)
...
``typing.Tuple`` has been deprecated since Python 3.9, so it makes no sense to mention it so prominently in the documentation for the ``typing`` module.
2021-11-04 19:48:40 +08:00
Itamar Ostricher
2c045bd567
bpo-45697: Use PyObject_TypeCheck in type_call (GH-29392)
2021-11-04 12:39:50 +02:00
Alex Waygood
e03e50377d
bpo-45680: ``typing`` docs: improve links to docs on ``GenericAlias``/``__class_getitem__`` (GH-29387)
2021-11-04 12:06:34 +08:00
Erlend Egeberg Aasland
c273986711
bpo-45613: Set `sqlite3.threadsafety` dynamically (GH-29227)
...
Use the compile-time selected default SQLite threaded mode to set the
DB-API 2.0 attribute 'threadsafety'
Mappings:
- SQLITE_THREADSAFE=0 => threadsafety=0
- SQLITE_THREADSAFE=1 => threadsafety=3
- SQLITE_THREADSAFE=2 => threadsafety=1
2021-11-03 21:01:37 +00:00