Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python/cpython

The Python programming language
https://github.com/python/cpython

GH-102711: Fix warnings found by clang (#102712)

There are some warnings if build python via clang:

Parser/pegen.c:812:31: warning: a function...

7703def37e4fa7d25c3d23756de8f527daa4e165 authored almost 2 years ago by Chenxi Mao <[email protected]>
gh-102558: [Enum] better handling of non-Enum EnumType classes (GH-103060)

f4ed2c6ae5915329e49b9f94033ef182400e29fa authored almost 2 years ago by Ethan Furman <[email protected]>
gh-103056: [Enum] ensure final _generate_next_value_ is a staticmethod (GH-103062)

b838d80085b0162cc2ae7b4db5d2a9d9c6a28366 authored almost 2 years ago by Ethan Furman <[email protected]>
gh-74468: [tarfile] Fix incorrect name attribute of ExFileObject (GH-102424)

Co-authored-by: Simeon Visser <[email protected]>

56d055a0d81a809e4ff8e1d56756a3bf32317efb authored almost 2 years ago by Oleg Iarygin <[email protected]>
gh-100227: Revert gh-102925 "gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters" (gh-103063)

This reverts commit 87be8d9.

This approach to keeping the interned strings safe is turning ou...

89e67ada6958cfd8d4eec221848f81b2619de099 authored almost 2 years ago by Eric Snow <[email protected]>
gh-103046: Display current line correctly for `dis.disco()` with CACHE entries (#103047)

34eb6f727632d9a1a6998f90c9421e420c785643 authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-103023: Add SyntaxError check in pdb's `display` command (#103024)

Co-authored-by: Łukasz Langa <[email protected]>

36067532467ec58c87ac9c140e555e1866431981 authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-102941: Fix "‘subobj’ may be used uninitialized in this function" warning in `bytes_methods.c` (#102942)

2cdc5189a6bc3157fddd814662bde99ecfd77529 authored almost 2 years ago by Nikita Sobolev <[email protected]>
Fix typo in _swappedbytes_ in ctypes comment (#102773)

It's a minor typo, but it makes for a misleading comment. Let's fix it.

30a306c2ade6c2af3c0b1d988a17dae3916e0d27 authored almost 2 years ago by Matthias Görgens <[email protected]>
gh-98886: Fix issues with dataclass fields with special underscore names (#102032)

This commit prefixes `__dataclass` to several things in the locals dict:
- Names like `_dflt_` ...

718e86671fe62a706c460b7f049b196e434cb5b3 authored almost 2 years ago by Shantanu <[email protected]>
Update pdb docs for arguments (#102965)

027223db96b0464c49a74513f82a1bf25aa510bd authored almost 2 years ago by gaogaotiantian <[email protected]>
Fix typos in faulthandler, testcapi error messages (#103020)

11ed70b1dc69c9455d83638af5799dd0071b4ea8 authored almost 2 years ago by Liyang Zhang <[email protected]>
gh-103027: Update `dataclass.make_dataclass` docstring (gh-103028)

* gh-103027: Update `dataclass.make_dataclass` docstring

8ec6486462b920ab92ecb685a79fc3446681e1b8 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-103025: fix two ctypes doc issues (#103026)

0708437ad043657f992cb985fd5c37e1ac052f93 authored almost 2 years ago by Peter Jiping Xie <[email protected]>
GH-102833: Mention the key function in the docstrings (GH-103009)

1fd603fad20187496619930e5b74aa7690425926 authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-101100: Test only Doc/ files in nit-picky mode (#103019)

gh-101100: Filter only Doc/ files

87adc63d66349566b6459f93be60861b9d37782f authored almost 2 years ago by Hugo van Kemenade <[email protected]>
gh-100131: Add optional delete parameter to tempfile.TemporaryDirectory() (#100132)

Add optional delete parameter to tempfile.TemporaryDirectory().

Co-authored-by: Gregory P. Sm...

64cb1a4f0f0bc733a33ad7a6520e749ca1cdd43f authored almost 2 years ago by JakobDev <[email protected]>
gh-102980: Add tests for pdf's display, alias and where commands (#102981)

ded9a7fc194a1d5c0e38f475a45f8f77dbe9c6bc authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-102873: logging.LogRecord docs: improve description of `msg` parameter (#102875)

Co-authored-by: Alex Waygood <[email protected]>

f2e5a6ee628502d307a97f587788d7022a200229 authored almost 2 years ago by Amin Alaee <[email protected]>
gh-100372: Use BIO_eof to detect EOF for SSL_FILETYPE_ASN1 (GH-100373)

In PEM, we need to parse until error and then suppress `PEM_R_NO_START_LINE`, because PEM allo...

acfe02f3b05436658d92add6b168538b30f357f0 authored almost 2 years ago by David Benjamin <[email protected]>
gh-101100: Test docs in nit-picky mode (#102513)

Co-authored-by: C.A.M. Gerlach <[email protected]>
Co-authored-by: Petr Viktorin <encukou...

6a1c49a7176f29435e71a326866d952b686bceb3 authored almost 2 years ago by Hugo van Kemenade <[email protected]>
GH-100989: remove annotation from docstring (GH-102991)

d49409196e0c73c38e3f96cf860cbffda40607ec authored almost 2 years ago by Raymond Hettinger <[email protected]>
GH-100989: Revert Improve the accuracy of collections.deque docstrings (GH-102979)

7f01a11199864bcf230b243b99e8a51e9044675d authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-94684: uuid: support bytes in the name argument to uuid3/5 (#94709)

RFC 4122 does not specify that name should be a string, so for completness the functions should ...

413b7db8a480ea6e0d3e8c9729502282ca748a84 authored almost 2 years ago by MonadChains <[email protected]>
gh-99726: Fix order of recently added fields for FILE_STAT_BASIC_INFORMATION (GH-102976)

f1e3eeebc01941f9c25bca4d2fa6313cf5041cc4 authored almost 2 years ago by Steve Dower <[email protected]>
GH-100982: Break up COMPARE_AND_BRANCH (GH-102801)

0444ae24875489dc290d8efdb9ee6440ee60dac8 authored almost 2 years ago by Brandt Bucher <[email protected]>
gh-102558: [Enum] fix AttributeError during member repr() (GH-102601)

bd063756b34003c1bc7cacf5b1bd90a409180fb6 authored almost 2 years ago by Dong-hee Na <[email protected]>
Minor readability improvement to the factor() recipe (GH-102971)

16f6165b71e81b5e4d0be660ac64a9fce7dfd86c authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-98239: Document that `inspect.getsource()` can raise `TypeError` (#101689)

b6132085ca5418f714eff6e31d1d03369d3fd1d9 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-102936: typing: document performance pitfalls of protocols decorated with `@runtime_checkable` (#102937)

58d2b30c012c3a9fe5ab747ae47c96af09e0fd15 authored almost 2 years ago by Alex Waygood <[email protected]>
Move binomialvariate() to a section for discrete distributions (GH-102955)

46957091433bfa097d7ea19b177bf42a52412f2d authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-102810 Improve the sphinx docs for `asyncio.Timeout` (#102934)

Co-authored-by: Alex Waygood <[email protected]>

f13fdacadfca87c71130057b6f03c89ae640c9b2 authored almost 2 years ago by JosephSBoyle <[email protected]>
gh-102943: Stop checking localized error text in socket tests on Windows (GH-102944)

bf42eb8722befddf099a7bc26ea4a258179c32bf authored almost 2 years ago by AN Long <[email protected]>
gh-88965: typing: fix type substitution of a list of types after initial `ParamSpec` substitution (#102808)

Previously, this used to fail:

```py
from typing import *
T = TypeVar("T")
P = ParamSpec("...

adb0621652f489033b9db8d3949564c9fe545c1d authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (#102948)

baf4eb083c09b323cc12b8636c28c14089b87de8 authored almost 2 years ago by Alex Waygood <[email protected]>
Docs: fixup incorrect escape char in sqlite3 docs (#102945)

08254be6c5324416081cc28a047b377e1f4ed644 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-102939: Fix "conversion from Py_ssize_t to long" warning in builtins (GH-102940)

0f2ba6580565c3b51396c840406211ad81297735 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters (gh-102925)

This is effectively two changes. The first (the bulk of the change) is where we add _Py_AddToGl...

87be8d95228ee95de9045cf2952311d20dc5de45 authored almost 2 years ago by Eric Snow <[email protected]>
[doc] Fix error in tutorial example: type(exc) is the type rather than the instance (#102751)

8709697292c67254ba836d7e88d1eba08c4a351a authored almost 2 years ago by Jens-Hilmar Bradt <[email protected]>
gh-102921: [doc] Clarify `exc` argument name in `BaseExceptionGroup` is plural (#102922)

9b19d3936d7cabef67698636d2faf6fa23a95059 authored almost 2 years ago by Kevin Kirsche <[email protected]>
gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP (#102870)

3468c768ce5e467799758ec70b840da08c3c1da9 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102780: Fix uncancel() call in asyncio timeouts (#102815)

Also use `raise TimeOut from <CancelledError instance>` so that the CancelledError is set
in th...

04adf2df395ded81922c71360a5d66b597471e49 authored almost 2 years ago by Kristján Valur Jónsson <[email protected]>
gh-102033: Fix syntax error in `Tools/c-analyzer` (GH-102066)

The easiest way to format strings with `{}` meaningful chars is via `%`.

1ca315538f2f9da6c7b86c4c46e76d454c1ec4b9 authored almost 2 years ago by Nikita Sobolev <[email protected]>
GH-101291: Rearrange the size bits in PyLongObject (GH-102464)

* Eliminate all remaining uses of Py_SIZE and Py_SET_SIZE on PyLongObject, adding asserts.

* ...

7559f5fda94ab568a1a910b17683ed81dc3426fb authored almost 2 years ago by Mark Shannon <[email protected]>
GH-89727: Fix pathlib.Path.walk RecursionError on deep trees (GH-100282)

Use a stack to implement `pathlib.Path.walk()` iteratively instead of recursively to avoid hitti...

713df2c53489ce8012d0ede10b70950e6b0d8372 authored almost 2 years ago by Stanislav Zmiev <[email protected]>
gh-96931: Fix incorrect results in ssl.SSLSocket.shared_ciphers (#96932)

af9c34f6ef8dceb21871206eb3e4d350f6e3d3dc authored almost 2 years ago by Benjamin Fogle <[email protected]>
gh-102027: Fix macro name (#102124)

This fixes the ssse3 / sse2 detection when sse4 is available.

Co-authored-by: Oleg Iarygin <o...

ea93bde4ece139d4152a59f2c38aa6568559447c authored almost 2 years ago by Max Bachmann <[email protected]>
gh-101947: Remove size check from sqlite3 serialize test (#102914)

The size of the returned data is too implementation specific.

61405da9a5689f554aa53929a2a9c168cab6056b authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101313: Add -h and --help arguments to the webbrowser module (gh-101374)

3d7eb66c963c0c86021738271483bef27c425b17 authored almost 2 years ago by Icelain <[email protected]>
GH-95494: Fix transport EOF handling in OpenSSL 3.0 (GH-95495)

GH-25309 enabled SSL_OP_IGNORE_UNEXPECTED_EOF by default, with a comment
that it restores OpenS...

420bbb783b43216cc897dc8914851899db37a31d authored almost 2 years ago by David Benjamin <[email protected]>
Docs: improve accuracy of sqlite3.Connection.interrupt() (#102904)

Co-authored-by: C.A.M. Gerlach <[email protected]>

7b2d53daccf5a6479e179535068fd9a841db44fc authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-100989: Improve the accuracy of collections.deque docstrings (#100990)

Co-authored-by: C.A.M. Gerlach <[email protected]>

c74073657e32b8872f91b3bbe1efa9af20adbea9 authored almost 2 years ago by Timo Ludwig <[email protected]>
Docs: improve the accuracy of the sqlite3.connect() timeout param (#102900)

Co-authored-by: C.A.M. Gerlach <[email protected]>

c24f1f1e874c283bb11d8b9fbd661536ade19fe9 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
GH-94808: Cover `PyOS_mystrnicmp` and `PyOS_mystricmp` (gh-102469)

0a60deaeaf1d129cb061f50995a8b6d9d18fa3ec authored almost 2 years ago by Artem Mukhin <[email protected]>
Docs: improve accuracy of pdb alias example (#102892)

e0c63b72671bf816d3073f1a6a9107f6c171cae7 authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-102839: remove AC for math.log (GH-102863)

d1a89ce5156cd4e1eff5823ec2200885c43e395e authored almost 2 years ago by Sergey B Kirpichev <[email protected]>
Add link to `sys.exit` function documentation (#102805)

* Add link to `sys.exit` function documentation

* Update Doc/library/os.rst

Co-authored-by...

41ef502d740b96ca6333a2d0202df7cce4a84e7d authored almost 2 years ago by David Poirier <[email protected]>
gh-102406: replace exception chaining by PEP-678 notes in codecs (#102407)

76350e85ebf96df588384f3d9bdc20d11045bef4 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-94673: Isolate the _io module to Each Interpreter (gh-102663)

Aside from sys and builtins, _io is the only core builtin module that hasn't been ported to mult...

e6ecd3e6b437f3056e0a410a57c52e2639b56353 authored almost 2 years ago by Eric Snow <[email protected]>
gh-102860: improve performance of compiler's instr_sequence_to_cfg (#102861)

8d015fa000db5775d477cd04dc574ba13721e278 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-98608: Fix Failure-handling in new_interpreter() (gh-102658)

The error-handling code in new_interpreter() has been broken for a while. We hadn't noticed bec...

d1b883b52a99427d234c20e4a92ddfa6a1da8880 authored almost 2 years ago by Eric Snow <[email protected]>
Tweak polynomial itertool recipes (GH-102880)

0214c7ad90b0afc3d1491c96e22e48d426caf5e2 authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-102304: Move the Total Refcount to PyInterpreterState (gh-102545)

Moving it valuable with a per-interpreter GIL. However, it is also useful without one, since it...

743687434c5baf01c266320b34c7a828726702a6 authored almost 2 years ago by Eric Snow <[email protected]>
gh-102876: remove superfluous parens from itertools.batched recipe (GH-102877)

remove superfluous parens from itertools.batched recipe

4bb1dd3c5c14338c9d9cea5988431c858b3b76e0 authored almost 2 years ago by wim glenn <[email protected]>
gh-98608: Stop Treating All Errors from _Py_NewInterpreterFromConfig() as Fatal (gh-102657)

Prior to this change, errors in _Py_NewInterpreterFromConfig() were always fatal. Instead, call...

3bb475662ba998e1b2d26fa370794d0804e33927 authored almost 2 years ago by Eric Snow <[email protected]>
gh-102595: Document `PyObject_Format` c-api function (GH-102596)

Def: https://github.com/python/cpython/blame/5ffdaf748d98da6065158534720f1996a45a0072/Include/...

910a64e3013bce821bfac75377cbe88bedf265de authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-102828: emit deprecation warning for onerror arg to shutil.rmtree (#102850)

7f760c2fca3dc5f46a518f5b7622783039bc8b7b authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102799: Let pydoc use the exception instead of sys.exc_info (#102830)

868490e32790eb1f1b44bbae2f12d480a23dbdac authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102755: PyErr_DisplayException only in ABI >= 3.12. Tests cover PyErr_Display as well (GH-102849)

5c471f3f2a74f4ae7764ed025d2ef077d692d608 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102598: Remove obsolete optimization from `FORMAT_VALUE` opcode (#102599)

82eb9469e717e0047543732287a8342e646c2262 authored almost 2 years ago by Nikita Sobolev <[email protected]>
The pow() variant further improves accuracy (GH-102866)

1a5a14183ec807ead1c6a46464540159124e5260 authored almost 2 years ago by Raymond Hettinger <[email protected]>
Remove itermediate list. Expand docstring. (GH-102862)

4075fe1d8d609edbfff11526f2b1a9a7ce817d07 authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-102809: Remove `Misc/gdbinit` (#102854)

Looks like the consensus is that we don't need this file anymore.
Old version can be always fou...

ef000eb3e2a8d0ecd51b6d44b390fefd820a61a6 authored almost 2 years ago by Nikita Sobolev <[email protected]>
Add itertool recipe for polynomial evaluation. (GH-102852)

094cf392f49d3c16fe798863717f6c8e0f3734bb authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-102304: Fix Non-Debug Builds (gh-102846)

Some debug-only code slipped in with gh-102543.

https://github.com/python/cpython/issues/102304

5c75b7a91ca7ad4133d5a7e9c245268bcfdd993e authored almost 2 years ago by Eric Snow <[email protected]>
gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845)

https://github.com/python/cpython/issues/102304

28d369e070652e8f2274101d72131e3140dfadf7 authored almost 2 years ago by Eric Snow <[email protected]>
gh-102304: Move _Py_RefTotal to _PyRuntimeState (gh-102543)

The essentially eliminates the global variable, with the associated benefits. This is also a pre...

ad77d16a6252c2e616bf41b981a6d919c1122b4d authored almost 2 years ago by Eric Snow <[email protected]>
gh-102255: Use GetVersionEx instead of GetVersionExW to match argument type (GH-102583)

Since we pass a structure of type `OSVERSIONINFOEX`, we need to call
`GetVersionEx` instead of ...

96e05b62e827a6dee6c658fea9b4976dfd8d30e3 authored almost 2 years ago by Max Bachmann <[email protected]>
gh-72346: Added isdst deprecation warning to email.utils.localtime (GH-91450)

5e6661bce968173fa45b74fa2111098645ff609c authored almost 2 years ago by Alan Williams <[email protected]>
gh-102828: fix test failure (add missing skip instructions) (#102835)

40d4f1579382a16d95ec67f2f03167bc1181dbd9 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102491: Remove IronPython version check in sys_version (#102492)

382ee2f0f2be662fbcabcb4a6b38de416cea0cae authored almost 2 years ago by Pieter Eendebak <[email protected]>
gh-102810: Add docstrings to the public-facing methods of `asyncio.Timeout` (#102811)

Co-authored-by: Guido van Rossum <[email protected]>
Co-authored-by: Alex Waygood <Alex.Wayg...

699cb20ae6fdef8b0f13d633cf4858465ef3469f authored almost 2 years ago by JosephSBoyle <[email protected]>
gh-102828: add onexc arg to shutil.rmtree. Deprecate onerror. (#102829)

d51a6dc28e1b2cd0353a78bd13f46e288fa39aa6 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102778: revert changes to idlelib (#102825)

4d1f033986675b883b9ff14588ae6ff78fdde313 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102755: fix refleak (#102826)

ccb5af7bfee59b72313ccf1fa2c9b0dca347ac96 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (#102816)

ad77b80b0542a71eff54d1a193bd044a71e8e00b authored almost 2 years ago by Irit Katriel <[email protected]>
Add more comments to hypot() (GH-102817)

3adb23a17d25e36bd80874e860835182d851623f authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (#102769)

1cb75a9ce0c41fb9567f0750b9811268a189ec72 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102778: Add sys.last_exc, deprecate sys.last_type, sys.last_value,sys.last_traceback (#102779)

e1e9bab0061e8d4bd7b94ed455f3bb7bf8633ae7 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-101975: Fixed a potential SegFault on garbage collection (GH-102803)

039714d00f147be4d018fa6aeaf174aad7e8fa32 authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-102799: remove unnecessary calls to sys.exc_info() in tests (#102800)

b3cc11a08e1e9121ddba3b9afb9fae032e86f449 authored almost 2 years ago by Irit Katriel <[email protected]>
Simplify and improve accuracy for subnormals in hypot() (GH-102785)

72186aa637bc88cd5f5e234803af64acab25994c authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-102781: fix cwd dependence in cases generator (#102782)

174c4bfd0fee4622657a604af7a2e7d20a3f0dbc authored almost 2 years ago by Carl Meyer <[email protected]>
gh-102701: Fix overflow in dictobject.c (GH-102750)

65fb7c4055f280caaa970939d16dd947e6df8a8d authored almost 2 years ago by Inada Naoki <[email protected]>
GH-78530: add support for generators in `asyncio.wait` (#102761)

4f5774f648eafd1a7076ecf9af9629fb81baa363 authored almost 2 years ago by Kumar Aditya <[email protected]>
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102764)

f33b33eb31c11a32b2955eb1f002f02267bd7d61 authored almost 2 years ago by Steve Dower <[email protected]>
gh-102755: Add PyErr_DisplayException(exc) (#102756)

3f9285a8c52bf776c364f0cf4aecdd8f514ac4e1 authored almost 2 years ago by Irit Katriel <[email protected]>
Fix outdated note about 'int' rounding or truncating (#102736)

405739f9166592104a5b0b945de92e28415ae972 authored almost 2 years ago by Mark Dickinson <[email protected]>
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (#102760)

6372e290c0ac0993e4e2f66b12efdb076f620d09 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-99726: Improves correctness of stat results for Windows, and uses faster API when available (GH-102149)

This deprecates `st_ctime` fields on Windows, with the intent to change them to contain the corr...

0f175766e27642108c65bba04bbd54dcf8799b0e authored almost 2 years ago by Steve Dower <[email protected]>