python
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| python [2025/08/30 08:58] – carl | python [2026/01/12 10:13] (current) – carl | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| + | Multiprocessing skips the '' | ||
| + | ==== Problems with Descriptors ==== | ||
| + | Evaluation order matters. | ||
| + | |||
| + | |||
| + | <code python> | ||
| + | a: Descriptor | ||
| + | b: Descriptor | ||
| + | |||
| + | |||
| + | foo(a, b) | ||
| + | </ | ||
| + | |||
| + | 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. | ||
python.1756569537.txt.gz · Last modified: by carl
