Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...index list. Issue #1721812: Binary set operations and copy() returned the input type instead of the appropriate base type. This was incorrect because set subclasses would be created without their __init__() method being called. The corrected behavior brings sets into line with lists and dicts. Issue #4296: Fix PyObject_RichCompareBool so that "x in [x]" evaluates to True, even when x doesn't compare equal to itself. This was a regression from 2.6. Issue #3705: Command-line arguments...
...index() now accepts optional start and stop arguments. Similar changes were made to UserList.index(). SF feature request 754014. SF patch 751998 fixes an unwanted side effect of the previous fix for SF bug 742860 (the next item). SF bug 742860: "WeakKeyDictionary __delitem__ uses iterkeys". This wasn't threadsafe, was very inefficient (expected time O(len(dict)) instead of O(1)), and could raise a spurious RuntimeError if another thread mutated the dict during __delitem__, or if a co...
...Index. Approved, 4-0-0, 2022-02-12 RESOLVED, that the Python Software Foundation award the 2021 Q4 Community Service Award to the following members of the PyCon JP Association, for their work organizing local and regional PyCons, the work of monitoring our trademarks, and in particular organizing the "PyCon JP Charity Talks" raising more than $25,000 USD in funds for the PSF: Manabu Terada, Takanori Suzuki, Takayuki Shimizukawa, Shunsuke Yoshida, Jonas Obrist. Approved, 10-0-0, 2022-0...
If you didn't find what you need, try your search in the Python language documentation.