• Kirill Smelkov's avatar
    time: Turn Ticker and Timer into cdef classes · 0e838833
    Kirill Smelkov authored
    - cdef their attributes (else accessing any of them raises
      AttributeError), in particular use pychan and sync.Mutex in cimport mode.
    - change `with mu` into explicit lock/unlock (since pyx sync.Mutex does
      not support with).
    - use INFINITY instead of None for empty dt.
    0e838833
_time.pyx 6.4 KB