-
Notifications
You must be signed in to change notification settings - Fork 935
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
gevent 1.1b4 breaks gevent.signal #648
Comments
Due to the way monkey-patching works, stdlib module |
It seems like some ugliness with magic proxy objects inserted directly into |
Thanks! I can move our package to use I just wanted to make you aware of the potential compatibility break, probably not wanted for a 1.1 release. If nobody else was relying on this behaviour, why bother indeed! However that does not seem to be the case: Maybe a sensible solution would be to add a short-term hack to make gevent.signal callable as you described, with a deprecation warning for a future 2.0? I'll let you be the judge on that! |
Thanks for the heads up! It would have been embarrassing indeed to release like that! I'm exploring the possibilities and hope to have something committed within a few days. |
Thanks for the report. I have updated master with a test case for this scenario, and a proxy object that solves it. If you're able to test a checkout with your application I would appreciate any feedback. |
Thanks @jamadden! Can confirm it fixes the issue. |
My app is breaking after an update from 1.1b3 to 1.1b4 because of an API change for
gevent.signal
, previously a class, now a module.See usage here:
https://github.com/pricingassistant/mrq/blob/master/mrq/worker.py#L618
I probably won't be the only one depending on this behaviour, so I'd recommend making sure backward compatibility is kept!
Thanks!
The text was updated successfully, but these errors were encountered: