Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicate gevent version in documentation #340

skytreader opened this issue Nov 27, 2013 · 1 comment


Copy link

commented Nov 27, 2013

Seeing that gevent has reached version 1.0.0 only recently, I'm not sure how applicable this is. However, I've detected a discrepancy between the docs and the actual lib, as installed via pip.

See the docs for locking indicates that Semaphore is in gevent.lock. But not so from my local gevent installation:

(gevent)$ pip freeze
(gevent)$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gevent.lock import Semaphore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named lock
>>> from gevent.coros import Semaphore

I take it that in v1.0.0, Semaphore is in gevent.lock? It'd be less confusing if the docs clearly indicated the gevent version it is documenting.


This comment has been minimized.

Copy link

commented Nov 27, 2013

Yes, gevent 1.0 renames coros to lock (coros being deprecated), gevent 0.13 does not have this alias. I'd presume the docs document the latest version which is now 1.0. It should be less buggy than 0.13 branch now.

pip install -U gevent to upgrade.

@jamadden jamadden closed this in 845c5df Jul 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.