blob: b03ab106888961e9535f7f46fdf48826564ac446 [file] [log] [blame]
Add ``InvalidStateError`` to :mod:`concurrent.futures`.
``Future.set_result`` and ``Future.set_exception`` now raise
``InvalidStateError`` if the futures are not pending or running. Patch by
Jason Haydaman.