Commit 5e1cb5ea authored by Kirill Smelkov's avatar Kirill Smelkov

pygolang v0.0.6

parent 0561926a
Pygolang change history Pygolang change history
----------------------- -----------------------
0.0.6 (2020-02-28)
~~~~~~~~~~~~~~~~~~
- Provide support for error chaining. In concurrent systems
operational stack generally differs from execution code flow, which makes
code stack traces significantly less useful to understand an error.
Error chaining gives ability to build operational
error stack and to inspect resulting errors.
(`commit 1`__, 2__, 3__, 4__, 5__, 6__, `overview 1`__, `overview 2`__).
__ https://lab.nexedi.com/kirr/pygolang/commit/fd95c88a
__ https://lab.nexedi.com/kirr/pygolang/commit/17798442
__ https://lab.nexedi.com/kirr/pygolang/commit/78d0c76f
__ https://lab.nexedi.com/kirr/pygolang/commit/337de0d7
__ https://lab.nexedi.com/kirr/pygolang/commit/03f88c0b
__ https://lab.nexedi.com/kirr/pygolang/commit/80ab5863
__ https://blog.golang.org/go1.13-errors
__ https://commandcenter.blogspot.com/2017/12/error-handling-in-upspin.html
- Provide `unicode` `bytes` conversion:
`b(obj)` converts str/unicode/bytes obj to UTF-8 encoded bytestring, while
`u(obj)` converts str/unicode/bytes obj to unicode string. The conversion in
both encoding and decoding never fails and never looses information:
`b(u(·))` and `u(b(·))` are always identity for bytes and unicode
correspondingly, even if bytes input is not valid UTF-8.
(`commit 1`__, 2__, 3__, 4__, 5__, 6__, 7__).
__ https://lab.nexedi.com/kirr/pygolang/commit/bcb95cd5
__ https://lab.nexedi.com/kirr/pygolang/commit/073d81a8
__ https://lab.nexedi.com/kirr/pygolang/commit/5cc679ac
__ https://lab.nexedi.com/kirr/pygolang/commit/0561926a
__ https://lab.nexedi.com/kirr/pygolang/commit/8c459a99
__ https://lab.nexedi.com/kirr/pygolang/commit/3073ac98
__ https://lab.nexedi.com/kirr/pygolang/commit/e028cf28
- Provide `sync.RWMutex` (`commit 1`__, 2__).
__ https://lab.nexedi.com/kirr/pygolang/commit/1ad3c2d5
__ https://lab.nexedi.com/kirr/pygolang/commit/a9345a98
- Provide `nil` as alias for `nullptr` and NULL (`commit 1`__, 2__, 3__, 4__).
__ https://lab.nexedi.com/kirr/pygolang/commit/60f6db6f
__ https://lab.nexedi.com/kirr/pygolang/commit/fc1c3e24
__ https://lab.nexedi.com/kirr/pygolang/commit/01ade7ac
__ https://lab.nexedi.com/kirr/pygolang/commit/230c81c4
- Add `io` package with `io.EOF` and `io.ErrUnexpectedEOF` (commit__).
__ https://lab.nexedi.com/kirr/pygolang/commit/36ab859c
- Correct `cxx.dict` API to follow libgolang comma-ok style (commit__).
__ https://lab.nexedi.com/kirr/pygolang/commit/58fcdd87
- Provide `pyx.build.DSO` for projects to build dynamic libraries that
use/link-to libgolang (`commit 1`__, 2__).
__ https://lab.nexedi.com/kirr/pygolang/commit/64765688
__ https://lab.nexedi.com/kirr/pygolang/commit/cd67996e
- Fix `pyx.build.build_ext` to allow customization (commit__).
__ https://lab.nexedi.com/kirr/pygolang/commit/8af78fc5
| |_| |_| |_| |_| |_| |_| |_| |_| *This release is driven by* |wendelin.core|_ *v2 needs*.
0.0.5 (2019-11-27) 0.0.5 (2019-11-27)
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
......
...@@ -33,7 +33,7 @@ See also package golang.pyx which provides similar functionality for Cython nogi ...@@ -33,7 +33,7 @@ See also package golang.pyx which provides similar functionality for Cython nogi
from __future__ import print_function, absolute_import from __future__ import print_function, absolute_import
__version__ = "0.0.5" __version__ = "0.0.6"
__all__ = ['go', 'chan', 'select', 'default', 'nilchan', 'defer', 'panic', __all__ = ['go', 'chan', 'select', 'default', 'nilchan', 'defer', 'panic',
'recover', 'func', 'error', 'b', 'u', 'gimport'] 'recover', 'func', 'error', 'b', 'u', 'gimport']
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
// //
// Additional packages // Additional packages
// //
// Libgolang, besides goroutines and channels, also provide additional packages // Libgolang, besides goroutines and channels, provides additional packages
// that mirror Go analogs. See for example golang/time.h, golang/sync.h, etc. // that mirror Go analogs. See for example golang/time.h, golang/sync.h, etc.
// //
// //
......
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