Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pygolang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
pygolang
Commits
5e1cb5ea
Commit
5e1cb5ea
authored
Feb 27, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pygolang v0.0.6
parent
0561926a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
2 deletions
+70
-2
CHANGELOG.rst
CHANGELOG.rst
+68
-0
golang/__init__.py
golang/__init__.py
+1
-1
golang/libgolang.h
golang/libgolang.h
+1
-1
No files found.
CHANGELOG.rst
View file @
5e1cb5ea
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
/
78
d0c76f
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
337
de0d7
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
03f88
c0b
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
80
ab5863
__
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
/
073
d81a8
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
5
cc679ac
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
0561926
a
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
8
c459a99
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
3073
ac98
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
e028cf28
-
Provide
`
sync
.
RWMutex
`
(`
commit
1
`
__
,
2
__
).
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
1
ad3c2d5
__
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
/
60f6
db6f
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
fc1c3e24
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
01
ade7ac
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
230
c81c4
-
Add
`
io
`
package
with
`
io
.
EOF
`
and
`
io
.
ErrUnexpectedEOF
`
(
commit__
).
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
36
ab859c
-
Correct
`
cxx
.
dict
`
API
to
follow
libgolang
comma
-
ok
style
(
commit__
).
__
https
://
lab
.
nexedi
.
com
/
kirr
/
pygolang
/
commit
/
58f
cdd87
-
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
/
8
af78fc5
|
|
_
|
|
_
|
|
_
|
|
_
|
|
_
|
|
_
|
|
_
|
|
_
|
*
This
release
is
driven
by
*
|
wendelin
.
core
|
_
*
v2
needs
*.
0.0.5
(
2019
-
11
-
27
)
0.0.5
(
2019
-
11
-
27
)
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
...
...
golang/__init__.py
View file @
5e1cb5ea
...
@@ -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'
]
...
...
golang/libgolang.h
View file @
5e1cb5ea
...
@@ -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.
//
//
//
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment