Commit 049ba6ff authored by Kirill Smelkov's avatar Kirill Smelkov

golang: Remove outdated TODO

We provide gpython since 32a21d5b (gpython: Python interpreter with
support for lightweight threads), and golang module, since the
beginning, automatically uses gevent if it was installed via monkey
parent 7f2362dd
......@@ -41,19 +41,6 @@ import decorator
import six
from golang._pycompat import im_class
# TODO -> use gevent + fallback to !gevent implementation if gevent was not initialized.
# The following should automatically prefer to use gevent as golang backend:
# from gevent import monkey; monkey.patch_all()
# import golang ...
# But we should not use gevent by default - using it without its monkey patching
# does not make lots of sense and monkey patching has to be performed as the
# first step of a program (i.e. it is not good to put it under `import golang`).
# We can also provide `gpython` interpreter which does gevent monkey patching
# and puts everything from golang.__all__ to __builtins__.
# panic stops normal execution of current goroutine.
def panic(arg):
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