Commit e503beb0 authored by Kirill Smelkov's avatar Kirill Smelkov

pygolang v0.0.9

parent 57ab5f33
Pygolang change history
-----------------------
0.0.9 (2021-12-08)
~~~~~~~~~~~~~~~~~~
- Fix deadlock when new context is created from already-canceled parent (`commit 1`__, 2__).
__ https://lab.nexedi.com/nexedi/pygolang/commit/d0688e21
__ https://lab.nexedi.com/nexedi/pygolang/commit/58d4cbfe
- Add support for `"with"` statement in `sync.WorkGroup`.
This is sometimes handy and is referred to as *"structured concurrency"*
in Python world (commit__, discussion__).
__ https://lab.nexedi.com/nexedi/pygolang/commit/6eb80104
__ https://github.com/gevent/gevent/issues/1697#issuecomment-742708016
- Fix `strconv.unqoute` to handle all input that Go `strconv.Qoute` might produce (commit__).
__ https://lab.nexedi.com/nexedi/pygolang/commit/78b4b41c
- More fixes for `gpython` to be compatible with CPython in how it handles
program on stdin, interactive session and __main__ module setup (`commit 1`__, 2__, 3__, 4__, 5__).
__ https://lab.nexedi.com/nexedi/pygolang/commit/6cc4bf32
__ https://lab.nexedi.com/nexedi/pygolang/commit/22fb559a
__ https://lab.nexedi.com/nexedi/pygolang/commit/95c7cce9
__ https://lab.nexedi.com/nexedi/pygolang/commit/2351dd27
__ https://lab.nexedi.com/nexedi/pygolang/commit/e205dbf6
0.0.8 (2020-12-02)
~~~~~~~~~~~~~~~~~~
......
......@@ -33,7 +33,7 @@ See also package golang.pyx which provides similar functionality for Cython nogi
from __future__ import print_function, absolute_import
__version__ = "0.0.8"
__version__ = "0.0.9"
__all__ = ['go', 'chan', 'select', 'default', 'nilchan', 'defer', 'panic',
'recover', 'func', 'error', 'b', 'u', 'gimport']
......
......@@ -68,7 +68,7 @@ def pymain(argv, init=None):
# `python /path/to/gpython` adds /path/to to sys.path[0] - remove it.
# `gpython file` will add path-to-file to sys.path[0] by itself, and
# /path/to/gpython is unneccessary and would create difference in behaviour
# /path/to/gpython is unnecessary and would create difference in behaviour
# in between gpython and python.
exedir = dirname(exe)
if sys.path[0] == exedir:
......@@ -406,7 +406,7 @@ def main():
import gevent
from gevent import monkey
# XXX workaround for gevent vs pypy2 crash.
# XXX remove when gevent-1.4.1 is relased (https://github.com/gevent/gevent/pull/1357).
# XXX remove when gevent-1.4.1 is released (https://github.com/gevent/gevent/pull/1357).
patch_thread=True
if pypy and sys.version_info.major == 2:
_ = monkey.patch_thread(existing_locks=False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment