Lightweight in-process concurrent programming

Edit Package python-greenlet

The greenlet package is a spin-off of Stackless, a version of CPython
that supports micro-threads called "tasklets". Tasklets run
pseudo-concurrently (typically in a single or a few OS-level threads)
and are synchronized with data exchanges on "channels".

Refresh
Refresh
Source Files
Filename Size Changed
greenlet-1.1.2.tar.gz 0000091224 89.1 KB
python-greenlet-rpmlintrc 0000000060 60 Bytes
python-greenlet.changes 0000011994 11.7 KB
python-greenlet.spec 0000002664 2.6 KB
Revision 38 (latest revision is 48)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 925731 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 38)
- update to 1.1.2:
  - Fix a potential crash due to a reference counting error when Python
    subclasses of ``greenlet.greenlet`` were deallocated. The crash
    became more common on Python 3.10; on earlier versions, silent
    memory corruption could result.
  - Fix a leak of a list object when the last reference to a greenlet
    was deleted from some other thread than the one to which it
    belonged. For this to work correctly, you must call a greenlet API
    like ``getcurrent()`` before the thread owning the greenlet exits:
    this is a long-standing limitation that can also lead to the leak of
    a thread's main greenlet if not called; we hope to lift this
    limitation. Note that in some cases this may also fix leaks of
    greenlet objects themselves. See `issue 251
  - Python 3.10: Tracing or profiling into a spawned greenlet didn't
    work as expected. See `issue 256
Comments 0
openSUSE Build Service is sponsored by