pygolang

pygolang

Go-like features for Python and Cython.

https://pypi.org/project/pygolang

  • Kirill Smelkov's avatar
    gpython: Add way to run it with threads runtime · a6b993c8
    Kirill Smelkov authored
    Until now gpython was always activating gevent on startup + adding
    goodness such as "always UTF-8 default encoding"; go, chan, b/u and
    friends available from builtin namespace, etc... While those goodness
    are sometimes useful on their own, it is not always appropriate to force
    a project to switch from threads to gevent.
    
    For this reason add a flag to select which runtime - either gevent
    or threads - gpython should use.
    
    	gpython -Xgpython.runtime=gevent	selects gevent,
    
    while
    
    	gpython -Xgpython.runtime=threads	selects threads.
    
    Gevent remains the default.
    
    It is also possible to specify desired runtime via $GPYTHON_RUNTIME
    environment variable.
    
    /reviewed-on !5
    a6b993c8
Name
Last commit
Last update
3rdparty/include/linux Loading commit data...
golang Loading commit data...
gpython Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
trun Loading commit data...