-
Notifications
You must be signed in to change notification settings - Fork 321
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
unsupported operand type in eventlet\semaphore.py (greenpool) #364
Comments
Can you share code to reproduce issue? |
I think you have something like |
did a bit of further debugging. It's because my call to establish the pool was GreenPool(size=cfg.get('GLOBAL','Max_AWS_Connections')) where cfg is an object of type ConfigParser.RawConfigParser(). So, it's sending it in as a string. So, chalk this up to (mostly) end-user error. However, I recommend the following check in semaphore.py:
|
(note, this blocks the behavior of a GreenPool of size 0) |
|
- export Event, *Semaphore in `eventlet.` top level namespace #364
Thanks. Hopefully it should be Pagel-proof now :P
|
- export Event, *Semaphore in `eventlet.` top level namespace #364
The fix is merged in master 79292bd so it will be included in emergency bugfix release 0.20.1 soon. Thanks and have great time. |
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32
The text was updated successfully, but these errors were encountered: