Export to GitHub

python-safethread - Status.wiki


Status

  • weakrefs/finalization
    • ~~weakref. Callback support is gone.~~
    • ~~deathqueue, replacing callback functionality~~
    • ~~WeakKeyDictionary and WeakValueDictionary, reimplemented using deathqueue~~
    • ~~weakref.Proxy~~
      • caching proxies. Creates a bottleneck, and I allow proxies to non-shareable objects, making implementation more trouble than it's worth.
    • ~~Finalizer class. This is blocked by threaded imports.~~
    • generator cleanup (ie raising GeneratorExit)
  • thread-safe imports and shareable modules
    • ~~shareddict~~
    • packages
  • ~~transactions (I'm scrapping them for now)~~
  • Shareability
    • ~~Many things have been marked as shareable.~~
    • There's still large gaps though, and several bodges (such as builtins). Warning: the bodges mean it's easy to corrupt and crash the interpreter!
  • Monitors
    • ~~Core functionality~~
    • ~~wait function~~
    • MonitorSpace.enterlocal() method
    • ~~conditions~~
    • ~~Deadlock detection~~
  • Cancellation
    • ~~time.sleep()~~
    • file reading - works, but bodged
    • ~~conditions~~
  • ~~Tracing GC~~
  • ~~GIL removal~~