Status of side-effecting functions in python
Terry Reedy
tjreedy at udel.edu
Sat Oct 25 18:53:16 EDT 2014
More information about the Python-list mailing list
Sat Oct 25 18:53:16 EDT 2014
- Previous message (by thread): Status of side-effecting functions in python
- Next message (by thread): Status of side-effecting functions in python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/25/2014 6:22 PM, Dan Sommers wrote: > On Sat, 25 Oct 2014 23:41:52 +0200, Wolfgang Maier wrote: > >> ... It may be rare to use an expression both for its side-effects and >> its return value ... > > A lot of concurrency-related operations work that way. In the old days, > it was CPU-level Test and Set (or Compare and Set) instructions. These > days, we have Python's threading.Lock.acquire. list.pop and and related set and dict methods. -- Terry Jan Reedy
- Previous message (by thread): Status of side-effecting functions in python
- Next message (by thread): Status of side-effecting functions in python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list