Hugo van Kemenade
8d4b756fd3
Docs: Upgrade to Sphinx 7.3 ( #118397 )
2024-04-29 11:40:50 -06:00
Xie Yanbo
98739c9078
Fix typo in Doc/c-api/exceptions.rst (GH-118371)
2024-04-29 14:02:54 +03:00
Xie Yanbo
0315521c52
Fix typo in Doc/howto/timerfd.rst (GH-118376)
2024-04-29 14:01:03 +03:00
Xie Yanbo
030fcc47fb
Fix typo in Doc/c-api/typeobj.rst (GH-118377)
2024-04-29 10:59:38 +00:00
Erlend E. Aasland
c7e7bfc4ca
gh-115119: Detect _decimal dependencies using pkg-config ( #115406 )
...
pkg-config is supported for libmpdec 4.0.0 and newer.
2024-04-29 08:58:57 +02:00
Henrik Tunedal
133c1a7cdb
gh-118293: Suppress mouse cursor feedback when launching Windows processes with multiprocessing (GH-118315)
2024-04-28 21:10:44 +00:00
Hugo van Kemenade
f5b7e397c0
gh-101100: Fix Sphinx warnings in whatsnew/3.10.rst
( #118356 )
2024-04-28 18:12:25 +00:00
Hugo van Kemenade
33c6cf3148
gh-101100: Fix Sphinx warnings in library/faulthandler.rst
( #118353 )
2024-04-28 12:06:45 -06:00
Hugo van Kemenade
e0ab642436
gh-101100: Fix Sphinx warnings in whatsnew/3.9.rst
( #118364 )
2024-04-28 20:31:22 +03:00
Jelle Zijlstra
2326d6c868
gh-109118: Make comprehensions work within annotation scopes, but without inlining ( #118160 )
...
Co-authored-by: Carl Meyer <carl@oddbird.net>
2024-04-28 06:21:28 -07:00
Cheryl Sabella
194fd17bc6
bpo-32839: Add the after_info() method for Tkinter widgets (GH-5664)
2024-04-27 00:27:58 +03:00
Philipp A
5a4d3df2fa
Fix note in Enum.__new__ docs ( #118284 )
2024-04-26 07:06:53 -07:00
Kirill Podoprigora
463c20dae9
gh-117928: Bump the minimum Sphinx version to 6.2.1 ( #117853 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-26 13:10:16 +03:00
Petr Viktorin
ef940dec40
gh-118235: Skip RAISE_SYNTAX_ERROR rules in the grammar spec (GH-118237)
2024-04-26 11:01:30 +02:00
Serhiy Storchaka
93b7ed7c6b
gh-108191: Add support of positional argument in SimpleNamespace constructor (GH-108195)
...
SimpleNamespace({'a': 1, 'b': 2}) and SimpleNamespace([('a', 1), ('b', 2)])
are now the same as SimpleNamespace(a=1, b=2).
2024-04-25 00:39:54 +03:00
edson duarte
59a4d52973
gh-85453: Make numeric literals consistent across datetime.rst ( #118245 )
...
Remove code formatting from remaining numeric literals.
2024-04-24 20:19:54 +00:00
edson duarte
809aa9a682
gh-85453: Adapt datetime.rst to devguide recommendations for code snippets and variables ( #118068 )
...
Also remove formatting from numeric literals.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
2024-04-24 19:53:52 +00:00
Alex Waygood
8227883d1f
gh-118013: Use weakrefs for the cache key in inspect._shadowed_dict
( #118202 )
2024-04-24 15:55:02 +01:00
Nikita Sobolev
692e902c74
gh-116023: Add show_empty=False
to ast.dump
( #116037 )
...
Co-authored-by: Carl Meyer <carl@oddbird.net>
2024-04-24 11:02:38 +03:00
Animesh Kumar
0d221e9a19
Fix typo in py_compile.rst (GH-118102)
2024-04-23 17:12:49 +00:00
Shantanu
8e86579cae
gh-95754: Better error when script shadows a standard library or third party module ( #113769 )
2024-04-22 18:24:21 -07:00
Jelle Zijlstra
85f727c5fb
gh-109118: Allow lambdas in annotation scopes in classes ( #118019 )
2024-04-22 12:50:26 -07:00
tahia
8974a63f5e
bpo-18108: Adding dir_fd and follow_symlinks keyword args to shutil.chown (GH-15811)
...
* Adding dir_fd and follow_symlinks keyword args to shutil.chown
* Extending test_shutil.TestShutil.test_chown to include new kwargs
* Updating shutil.chown documentation
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2024-04-22 18:23:36 +00:00
Nice Zombies
78ba4cb758
gh-118030: Group definitions for ParamSpecArgs
and ParamSpecKwargs
in typing.rst
( #118154 )
2024-04-22 14:57:46 +00:00
Kerim Kabirov
ceb6038b05
gh-115986 Improve pprint documentation accuracy ( #117403 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-22 12:28:21 +02:00
Clément Robert
1446024124
Docs: replace Harry Potter reference with Monty Python ( #118130 )
2024-04-21 19:03:46 +01:00
Serhiy Storchaka
51ef89cd9a
gh-115961: Add name and mode attributes for compressed file-like objects (GH-116036)
...
* Add name and mode attributes for compressed and archived file-like objects
in modules bz2, lzma, tarfile and zipfile.
* Change the value of the mode attribute of GzipFile from integer (1 or 2)
to string ('rb' or 'wb').
* Change the value of the mode attribute of ZipExtFile from 'r' to 'rb'.
2024-04-21 11:46:39 +03:00
Russell Keith-Magee
df987331d8
gh-114099: Formalize Tier 3 status of iOS (GH-118020)
2024-04-20 23:04:08 -04:00
Quazi Irfan
1558d99316
Clarifying nonlocal doc: SyntaxError is raised if nearest enclosing scope is global ( #114009 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-20 18:42:51 -07:00
Nikita Sobolev
2aa11cca11
gh-118100: Improve links in ast.rst
( #118101 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-04-19 21:25:54 +03:00
Alex Waygood
1e3e7ce11e
gh-114053: Fix bad interaction of PEP-695, PEP-563 and `get_type_hints
` ( #118009 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-19 13:03:44 +00:00
lyc8503
15b3555e4a
gh-116931: Add fileobj parameter check for Tarfile.addfile (GH-117988)
...
Tarfile.addfile now throws an ValueError when the user passes
in a non-zero size tarinfo but does not provide a fileobj,
instead of writing an incomplete entry.
2024-04-19 11:41:51 +00:00
Irit Katriel
8a01fd7b9b
gh-115775: Add whatsnew entry about __static_attributes__ (GH-117909)
...
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-19 12:57:31 +02:00
Savannah Ostrowski
5d54436574
gh-116935: Document that heap types need to support garbage collection (GH-118021)
2024-04-19 09:29:23 +00:00
Victor Stinner
4605a197bd
gh-117518: Clarify PyTuple_GetItem() borrowed reference in the doc (GH-117920)
2024-04-19 10:41:37 +02:00
Mariusz Felisiak
fefd5d9711
gh-64588: Clarify the difference between mu and xbar in statistics docs ( #117333 )
...
Thanks Davin Potts for the clarification idea.
2024-04-18 22:36:24 -07:00
Jelle Zijlstra
60787b8a4e
Docs: Fix CVE link ( #118077 )
2024-04-18 21:31:53 -07:00
Rafael Fontenelle
398abdd6fa
Use "Contributed by" in a couple of occurrences of 3.12 whatsnew ( #118070 )
2024-04-19 03:28:12 +00:00
Shreyan Avigyan
81a926bd20
gh-87969: Align docs and docstrings with implementation for ctypes' [w]string_at() ( #25384 )
...
The implementation uses 'ptr' for the name of the first parameter of
ctypes.string_at() and ctypes.wstring_at(). Align docs and docstrings
with the naming used in the implementation.
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2024-04-18 14:57:37 +00:00
Victor Stinner
340a02b590
gh-117987: Restore several functions removed in Python 3.13 alpha 1 (GH-117993)
...
Restore these functions removed in Python 3.13 alpha 1:
* Py_SetPythonHome()
* Py_SetProgramName()
* PySys_SetArgvEx()
* PySys_SetArgv()
2024-04-18 15:20:38 +02:00
Miro Hrončok
f70395786f
gh-90815: Document bundled mimalloc in What’s New In Python 3.13 (GH-117811)
2024-04-18 11:04:20 +02:00
lyc8503
468b9aeb92
gh-116932: Add note on how to report python documentation theme bugs (GH-117989)
2024-04-18 10:45:25 +02:00
Steve Dower
a4b44d39cd
gh-114539: Clarify implicit launching of shells by subprocess (GH-117996)
2024-04-17 19:32:47 +01:00
Manuel Kaufmann
ae8dfd2761
Doc: Render version/language selector on Read the Docs ( #116966 )
2024-04-17 18:40:56 +03:00
Nice Zombies
fccedbda93
gh-117977: Amend version changed annotation for os.chmod, os.chown, and os.listdir ( #117978 )
2024-04-17 14:59:02 +00:00
Victor Stinner
75eed5b373
gh-117929: Restore removed PyEval_InitThreads() function ( #117931 )
2024-04-17 15:01:28 +02:00
Serhiy Storchaka
438b7c3071
gh-73231: Update documentation for PyErr_SetFromWindowsErr() (GH-117226)
2024-04-17 13:03:26 +03:00
Nice Zombies
a23fa3368e
gh-117945: Fix os.path.ismount()
documentation ( #117947 )
2024-04-16 15:55:53 -07:00
Hugo van Kemenade
3284b84c43
Docs: Add classes to C API return value annotations ( #117926 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-04-16 15:56:15 +00:00
Douglas Thor
1316692e8c
gh-102402: Fix floating point math issue by using time.time_ns()
in logging.LogRecord
(GH-102412)
2024-04-16 10:44:57 +01:00