Page MenuHomeSolus

Update python-greenlet to 0.4.16 and remove python2 support
ClosedPublic

Authored by algent on Tue, Jun 23, 9:43 PM.

Details

Summary

python-greenlet is used only by python-neovim which is built with python3.

Changelog:

  • Support for DEC Alpha architecture
  • Support for Python 3.9

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan

Run examples from https://greenlet.readthedocs.io/en/latest/

>>> from greenlet import greenlet
>>> def test1(x, y):
...     z = gr2.switch(x+y)
...     print(z)
... 
>>> def test2(u):
...     print(u)
...     gr1.switch(42)
... 
>>> gr1 = greenlet(test1)
>>> gr2 = greenlet(test2)
>>> gr1.switch("hello", " world")
hello world
42

Diff Detail

Repository
R2594 python-greenlet
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Tue, Jun 23, 9:43 PM
algent requested review of this revision.Tue, Jun 23, 9:43 PM
JoshStrobl accepted this revision.Wed, Jun 24, 5:11 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Wed, Jun 24, 5:11 AM