User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
python [2025/10/16 13:42] carlpython [2026/01/12 10:13] (current) carl
Line 52: Line 52:
  
 In this, if a or b have side-effects on evaluation, like throwing an exception, the order in which a and b are invoked matters. In this, if a or b have side-effects on evaluation, like throwing an exception, the order in which a and b are invoked matters.
 +
 +
 +==== Futures ====
 +
 +  * Futures don't have a getstate() method.  This means trying to find out the running/finished/cancel/pending states of a future are racy.   The lock (condition) on the future is also private, so it's not safe to lock and query each of the state methods.
python.txt · Last modified: by carl