This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Jim Fasarakis-Hilliard, Julian, Sean.Ochoa, brett.cannon, eamanu, eric.araujo, ezio.melotti, ncoghlan, petri.lehtinen, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2017-05-27.21:57:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495922274.22.0.599712882705.issue13349@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm fine with not changing this

Thanks Brett.  I'm going to mark this as closed/rejected.  After five years, it is time to put it to rest and let it stop consuming our mental clock cycles.

> I don't think you're guaranteed to have access to the object
> that triggered the ValueError.

I'm not sure I follow what you're saying.  To call index() or remove() you already have to have the object to search for.   The ValueError is raised when the searched for object is not found, not by some unknown object inside the container.
History
Date User Action Args
2017-05-27 21:57:54rhettingersetrecipients: + rhettinger, brett.cannon, terry.reedy, ncoghlan, vstinner, ezio.melotti, eric.araujo, Julian, petri.lehtinen, serhiy.storchaka, Sean.Ochoa, Jim Fasarakis-Hilliard, eamanu
2017-05-27 21:57:54rhettingersetmessageid: <1495922274.22.0.599712882705.issue13349@psf.upfronthosting.co.za>
2017-05-27 21:57:54rhettingerlinkissue13349 messages
2017-05-27 21:57:54rhettingercreate