Repository navigation
PEP 851: Add list.discard() - #5200
Conversation
Documentation build overview
|
|
LGTM. I assume the "guarantee" about set.discard refers only to sane objects, as it's possible to violate that straightforwardly if you're willing to do dumb stuff in |
|
Thanks for the review!
True, but the PEP is focusing on the usual case with a well-behaved |
Yeah that's what I figured. I don't know if we need a different word than "guarantee" that's restricted to normal objects that behave normally, but regardless, the point is just as valid. |
|
I've changed it to describe the outcome ("after |
hugovk
left a comment
There was a problem hiding this comment.
Add a "Security Implications" section with "None".
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Basic requirements (all PEP Types)
pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) andPEPheaderuvx pepotron next(orpipx install pepotronthenpep next)AuthororSponsor, and formally confirmed their approvalAuthor,Status(Draft),TypeandCreatedheaders filled out correctlyPEP-Delegate,Topic,RequiresandReplacesheaders completed if appropriate.github/CODEOWNERSfor the PEPStandards Track requirements
Python-Versionset to valid (pre-beta) future Python version, if relevantDiscussions-ToandPost-History