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
Jérome Perrin
pygolang
Commits
fa9dd0d0
Commit
fa9dd0d0
authored
Aug 23, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: Docstring cosmetics (slight)
parent
21525a8d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
golang/__init__.py
golang/__init__.py
+2
-2
golang/gcompat.py
golang/gcompat.py
+1
-1
golang/strconv.py
golang/strconv.py
+1
-1
golang/testing.py
golang/testing.py
+1
-1
golang/testprog/golang_test_goleaked.py
golang/testprog/golang_test_goleaked.py
+1
-1
golang/x/perf/benchlib.py
golang/x/perf/benchlib.py
+1
-1
gpython/__init__.py
gpython/__init__.py
+1
-1
No files found.
golang/__init__.py
View file @
fa9dd0d0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""Package golang provides Go-like features for Python
"""Package golang provides Go-like features for Python
.
- `go` spawns lightweight thread.
- `go` spawns lightweight thread.
- `chan` and `select` provide channels with Go semantic.
- `chan` and `select` provide channels with Go semantic.
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
- `defer` allows to schedule a cleanup from the main control flow.
- `defer` allows to schedule a cleanup from the main control flow.
- `gimport` allows to import python modules by full path in a Go workspace.
- `gimport` allows to import python modules by full path in a Go workspace.
..
.
See README for thorough overview
.
"""
"""
from
__future__
import
print_function
,
absolute_import
from
__future__
import
print_function
,
absolute_import
...
...
golang/gcompat.py
View file @
fa9dd0d0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""Package gcompat provides Go-compatibility layer for Python"""
"""Package gcompat provides Go-compatibility layer for Python
.
"""
from
__future__
import
print_function
,
absolute_import
from
__future__
import
print_function
,
absolute_import
...
...
golang/strconv.py
View file @
fa9dd0d0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""Package strconv provides Go-compatible string conversions"""
"""Package strconv provides Go-compatible string conversions
.
"""
from
__future__
import
print_function
,
absolute_import
from
__future__
import
print_function
,
absolute_import
...
...
golang/testing.py
View file @
fa9dd0d0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""Package testing mirrors Go testing package for things missed in Python"""
"""Package testing mirrors Go testing package for things missed in Python
.
"""
from
__future__
import
print_function
,
absolute_import
from
__future__
import
print_function
,
absolute_import
...
...
golang/testprog/golang_test_goleaked.py
View file @
fa9dd0d0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""This program tests that leaked goroutines don't prevent program to exit"""
"""This program tests that leaked goroutines don't prevent program to exit
.
"""
from
__future__
import
print_function
,
absolute_import
from
__future__
import
print_function
,
absolute_import
...
...
golang/x/perf/benchlib.py
View file @
fa9dd0d0
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""benchlib - module to load & work with data in Go benchmark format
"""benchlib - module to load & work with data in Go benchmark format
.
https://github.com/golang/proposal/blob/master/design/14313-benchmark-format.md
https://github.com/golang/proposal/blob/master/design/14313-benchmark-format.md
"""
"""
...
...
gpython/__init__.py
View file @
fa9dd0d0
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
#
#
# See COPYING file for full licensing terms.
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
# See https://www.nexedi.com/licensing for rationale and options.
"""gpython ... - run python ... with gevent & golang activated
"""gpython ... - run python ... with gevent & golang activated
.
gpython is substitute for standard python interpreter with the following
gpython is substitute for standard python interpreter with the following
differences:
differences:
...
...
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