Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typo in multiprocessing docs (#115650) | Naglis Jonaitis | 2024-02-19 | 1 | -1/+1 |
| | |||||
* | gh-115664: Fix versionadded and versionchanged directives in ↵ | Serhiy Storchaka | 2024-02-19 | 1 | -15/+14 |
| | | | | multiprocessing.rst (GH-115665) | ||||
* | gh-115664: Fix chronological ordering of versionadded and versionchanged ↵ | Brian Schubert | 2024-02-19 | 6 | -20/+20 |
| | | | | directives (#115676) | ||||
* | gh-115652: Fix indentation in the documentation of ↵ | Daniel Haag | 2024-02-19 | 1 | -5/+5 |
| | | | | multiprocessing.get_start_method (GH-115658) | ||||
* | gh-83648: Add missing `deprecated` arg in argparse.rst (GH-115640) | 0xflotus | 2024-02-19 | 1 | -1/+1 |
| | |||||
* | gh-102388: Add windows_31j to aliases for cp932 codec (#102389) | Masayuki Moriyama | 2024-02-19 | 1 | -1/+2 |
| | | | | | | | | | The charset name "Windows-31J" is registered in the IANA Charset Registry[1] and is implemented in Python as the cp932 codec. [1] https://www.iana.org/assignments/charset-reg/windows-31J Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com> | ||||
* | Docs: Add explanation about little/big endian (#109841) | Simon A. Eugster | 2024-02-19 | 1 | -0/+15 |
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | gh-114709: Mark commonpath behaviour as changed in 3.13 (#115639) | Shantanu | 2024-02-18 | 1 | -1/+4 |
| | |||||
* | gh-115572: Move `codeobject.replace()` docs to the data model (#115631) | Daler | 2024-02-18 | 2 | -9/+9 |
| | |||||
* | gh-114709: Fix exceptions raised by posixpath.commonpath (#114710) | Sebastian Rittau | 2024-02-18 | 1 | -2/+2 |
| | | | | | | Fix the exceptions raised by posixpath.commonpath Raise ValueError, not IndexError when passed an empty iterable. Raise TypeError, not ValueError when passed None. | ||||
* | Document use of ANY in test assertions (GH-94060) | Thomas Grainger | 2024-02-17 | 1 | -0/+8 |
| | |||||
* | gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) | Matthew Hughes | 2024-02-17 | 1 | -2/+2 |
| | | | | Since 2f3941d743481ac48628b8b2c075f2b82762050b this function returns the response string, rather than nothing. | ||||
* | gh-56499: Update the pickle library's note section for the __setstate__ ↵ | Furkan Onder | 2024-02-17 | 1 | -2/+2 |
| | | | | function (GH-101062) | ||||
* | gh-87688: Amend SSLContext.hostname_checks_common_name docs (GH-100517) | Rami | 2024-02-17 | 1 | -1/+1 |
| | |||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/3.2.rst` (#115580) | Hugo van Kemenade | 2024-02-17 | 3 | -43/+44 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/3.1.rst` (#115575) | Hugo van Kemenade | 2024-02-17 | 2 | -10/+13 |
| | |||||
* | gh-101699: Explain using Match.expand with \g<0> (GH-101701) | Stevoisiak | 2024-02-17 | 1 | -1/+2 |
| | | | | | | | Update documentation for re library to explain that a backreference `\g<0>` is expanded to the entire string when using Match.expand(). Note that numeric backreferences to group 0 (`\0`) are not supported. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-113812: Allow DatagramTransport.sendto to send empty data (#115199) | Jamie Phan | 2024-02-17 | 2 | -0/+11 |
| | | | | Also include the UDP packet header sizes (8 bytes per packet) in the buffer size reported to the flow control subsystem. | ||||
* | docs: Add glossary term references to shutil docs (#115559) | Brian Schubert | 2024-02-16 | 1 | -4/+4 |
| | | | Add glossary term references to shutil docs | ||||
* | gh-115103: Implement delayed memory reclamation (QSBR) (#115180) | Sam Gross | 2024-02-16 | 1 | -0/+32 |
| | | | | | | This adds a safe memory reclamation scheme based on FreeBSD's "GUS" and quiescent state based reclamation (QSBR). The API provides a mechanism for callers to detect when it is safe to free memory that may be concurrently accessed by readers. | ||||
* | gh-69990: Make Profile.print_stats support sorting by multiple values ↵ | Furkan Onder | 2024-02-16 | 1 | -0/+7 |
| | | | | | | (GH-104590) Co-authored-by: Chiu-Hsiang Hsu | ||||
* | gh-100734: What's New in 3.x: Add missing detail from 3.x branch (#114689) | Hugo van Kemenade | 2024-02-15 | 8 | -0/+327 |
| | |||||
* | gh-112433: Add optional _align_ attribute to ctypes.Structure (GH-113790) | monkeyman192 | 2024-02-15 | 1 | -0/+10 |
| | |||||
* | bpo-38364: unwrap partialmethods just like we unwrap partials (#16600) | Martijn Pieters | 2024-02-15 | 1 | -0/+10 |
| | | | | | | | | | | | | | * bpo-38364: unwrap partialmethods just like we unwrap partials The inspect.isgeneratorfunction, inspect.iscoroutinefunction and inspect.isasyncgenfunction already unwrap functools.partial objects, this patch adds support for partialmethod objects as well. Also: Rename _partialmethod to __partialmethod__. Since we're checking this attribute on arbitrary function-like objects, we should use the namespace reserved for core Python. --------- Co-authored-by: Petr Viktorin <encukou@gmail.com> | ||||
* | gh-114626: add PyCFunctionFast and PyCFunctionFastWithKeywords (GH-114627) | David Hewitt | 2024-02-15 | 2 | -11/+13 |
| | | | Co-authored-by: Petr Viktorin <encukou@gmail.com> | ||||
* | docs: use consistent .append() in dis.rst (#115434) | Ned Batchelder | 2024-02-15 | 1 | -4/+4 |
| | | | The STACK variable is described as like a Python list, so pushing to it should be done with .append() consistently throughout. | ||||
* | gh-114570: Add PythonFinalizationError exception (#115352) | Victor Stinner | 2024-02-14 | 3 | -0/+35 |
| | | | | | | | | | | | | | | | | | Add PythonFinalizationError exception. This exception derived from RuntimeError is raised when an operation is blocked during the Python finalization. The following functions now raise PythonFinalizationError, instead of RuntimeError: * _thread.start_new_thread() * subprocess.Popen * os.fork() * os.fork1() * os.forkpty() Morever, _winapi.Overlapped finalizer now logs an unraisable PythonFinalizationError, instead of an unraisable RuntimeError. | ||||
* | Docs: spell out sentence about ndbm/gdbm file formats (#115470) | Erlend E. Aasland | 2024-02-14 | 1 | -6/+8 |
| | |||||
* | Docs: reword sentences about dbm submodule traits (#114609) | Erlend E. Aasland | 2024-02-14 | 1 | -14/+6 |
| | | | Don't repeatedly say that keys and values are coerced into bytes. | ||||
* | gh-115403: Remove extra colon after "Examples" in datetime documentation ↵ | Stanislav Lyu | 2024-02-14 | 1 | -1/+1 |
| | | | | (#115452) | ||||
* | gh-100414: Make dbm.sqlite3 the preferred dbm backend (#115447) | Erlend E. Aasland | 2024-02-14 | 1 | -1/+1 |
| | |||||
* | gh-100414: Add SQLite backend to dbm (#114481) | Erlend E. Aasland | 2024-02-14 | 2 | -4/+59 |
| | | | | | Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | ftplib docs: `timeout` doesn't have to be a whole number (#115443) | Alex Waygood | 2024-02-14 | 1 | -3/+3 |
| | |||||
* | Docs: Use substitutions instead of manual version updates (#115416) | Hugo van Kemenade | 2024-02-14 | 4 | -4/+6 |
| | |||||
* | gh-115405: add versionadded tag for co_qualname in code objects ↵ | Christophe Papazian | 2024-02-13 | 1 | -0/+2 |
| | | | | documentation (#115411) | ||||
* | gh-113437: Update documentation about PyUnicode_AsWideChar() function ↵ | qqwqqw689 | 2024-02-13 | 1 | -1/+6 |
| | | | | (GH-113455) | ||||
* | Update "Using Python on a Mac" (#115024) | Hugo van Kemenade | 2024-02-13 | 2 | -46/+63 |
| | |||||
* | gh-111140: Minor doc fixes for PyLong_AsNativeBytes (GH-115375) | Steve Dower | 2024-02-12 | 1 | -10/+14 |
| | |||||
* | gh-115317: Rewrite changelog filter to use vanilla JavaScript (#115324) | Hugo van Kemenade | 2024-02-12 | 1 | -48/+54 |
| | | | | Co-authored-by: Tomas R <tomas.roun8@gmail.com> | ||||
* | gh-111140: Adds PyLong_AsNativeBytes and PyLong_FromNative[Unsigned]Bytes ↵ | Steve Dower | 2024-02-12 | 2 | -1/+72 |
| | | | | functions (GH-114886) | ||||
* | gh-110850: Add PyTime_t C API (GH-115215) | Petr Viktorin | 2024-02-12 | 4 | -5/+102 |
| | | | | | | | | | | | | * gh-110850: Add PyTime_t C API Add PyTime_t API: * PyTime_t type. * PyTime_MIN and PyTime_MAX constants. * PyTime_AsSecondsDouble(), PyTime_Monotonic(), PyTime_PerfCounter() and PyTime_GetSystemClock() functions. Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | gh-115233: Fix an example in the Logging Cookbook (GH-115325) | Serhiy Storchaka | 2024-02-12 | 1 | -6/+4 |
| | | | | | Also add more tests for LoggerAdapter. Also support stacklevel in LoggerAdapter._log(). | ||||
* | gh-101100: Fix Sphinx warnings in `whatsnew/2.7.rst` and related (#115319) | Hugo van Kemenade | 2024-02-12 | 9 | -100/+119 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-114785: Remove content from `Porting from Python2` how-to (#114805) | Nikita Sobolev | 2024-02-12 | 2 | -411/+19 |
| | | | | | | Keep the page though, because people might still rely on it (the traffic shows that they do). Instead of our own manual we now give links to the 3rd-party ones. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | GH-114695: Add `sys._clear_internal_caches` (GH-115152) | Brandt Bucher | 2024-02-12 | 1 | -1/+12 |
| | |||||
* | gh-101100: Clean up Doc/c-api/exceptions.rst and Doc/c-api/sys.rst (GH-114825) | Skip Montanaro | 2024-02-11 | 3 | -20/+29 |
| | |||||
* | gh-49766: Make date-datetime comparison more symmetric and flexible (GH-114760) | Serhiy Storchaka | 2024-02-11 | 1 | -6/+26 |
| | | | | | | | | | | | | | Now the special comparison methods like `__eq__` and `__lt__` return NotImplemented if one of comparands is date and other is datetime instead of ignoring the time part and the time zone or forcefully return "not equal" or raise TypeError. It makes comparison of date and datetime subclasses more symmetric and allows to change the default behavior by overriding the special comparison methods in subclasses. It is now the same as if date and datetime was independent classes. | ||||
* | gh-97928: Partially restore the behavior of tkinter.Text.count() by default ↵ | Serhiy Storchaka | 2024-02-11 | 1 | -7/+6 |
| | | | | | | | | | | | | | (GH-115031) By default, it preserves an inconsistent behavior of older Python versions: packs the count into a 1-tuple if only one or none options are specified (including 'update'), returns None instead of 0. Except that setting wantobjects to 0 no longer affects the result. Add a new parameter return_ints: specifying return_ints=True makes Text.count() always returning the single count as an integer instead of a 1-tuple or None. | ||||
* | gh-115172: Fix explicit index extries for the C API (GH-115173) | Serhiy Storchaka | 2024-02-11 | 14 | -153/+150 |
| | |||||
* | gh-101100: Fix dangling refs in bdb.rst (#114983) | Skip Montanaro | 2024-02-11 | 2 | -9/+10 |
| | | | Co-authored-by: AN Long <aisk@users.noreply.github.com> |