Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions peps/pep-0851.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
PEP: 851
Title: Add list.discard()
Author: Stan Ulbrych <stan@python.org>
Discussions-To: Pending
Discussions-To: https://discuss.python.org/t/pep-851-add-list-discard/109701
Status: Draft
Type: Standards Track
Created: 27-Oct-2026
Python-Version: 3.16
Post-History: `12-Oct-2025 <https://discuss.python.org/t/add-list-discard-and-deque-discard/104330>`__
Post-History: `12-Oct-2025 <https://discuss.python.org/t/add-list-discard-and-deque-discard/104330>`__,
`27-Oct-2026 <https://discuss.python.org/t/pep-851-add-list-discard/109701>`__,


Abstract
Expand Down Expand Up @@ -163,7 +164,8 @@ Footnotes

.. [#search] Using `Victor Stinner's scripts
<https://hugovk.dev/blog/2022/how-to-search-5000-python-projects/>`__,
modified to match across lines, with the regular expressions::
modified to match across lines (`vstinner/misc#24
<https://github.com/vstinner/misc/pull/24>`__), with the regular expressions::

if ([\w.\[\]]+) in ([\w.\[\]]+):\n\s+\2\.remove\(\1\)

Expand Down
Loading