I spent a couple hours putting this together:
https://github.com/omajoshi/complex_math
It does lazy updating, staying in polar form until an addition, then staying in
rectangular form until the next multiplication.
I implemented Tim Peters' tests (from two emails back):
https://github.com/omaj
How does `try/except` (with raise AppropriateException inside the block)
compare to a len-1 loop?Om On Tue, 01 Mar 2022 10:04:31 -0600
python-ideas@python.org wrote
I have use cases for "do exactly once".
Basically a sequence of actions which can be broken off (when
Has anyone in this thread linked this blog post yet?
http://python-history.blogspot.com/2010/08/why-pythons-integer-division-floors.html
Much is a rehash of this thread but for completeness it might be useful to read
Guido van Rossum's thoughts and the subsequent discussion in the comments
sect