I am not sure this is necessary: RuntimeError already encapsulates this somewhat well. You'll find RuntimeError already widely used, especially in concurrency where it is easy to get into a situation where the state is invalid for a specific action. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/I5YZI5KV4NNQBZWLEIXCKVCI3SECJEVI/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Add InvalidStateError to the s... Matthias Görgens
- [Python-ideas] Re: Add InvalidStateError to t... Steve Jorgensen
- [Python-ideas] Re: Add InvalidStateError ... Chris Angelico
- [Python-ideas] Re: Add InvalidStateEr... David Mertz, Ph.D.
- [Python-ideas] Re: Add InvalidStateError ... Matthias Görgens
- [Python-ideas] Re: Add InvalidStateError to t... Steve Jorgensen
- [Python-ideas] Re: Add InvalidStateError ... Steven D'Aprano
- [Python-ideas] Re: Add InvalidStateError to t... Steven D'Aprano
- [Python-ideas] Re: Add InvalidStateError ... Stephen J. Turnbull
- [Python-ideas] Re: Add InvalidStateEr... Chris Angelico
- [Python-ideas] Re: Add InvalidStateError to the standa... Bluenix