Tagged Questions
4
votes
1answer
54 views
Oauth 2.0 handler functions for Tornado
With Tornado 3.2 they made some updates to auth module and have updated the code. Earlier I was using open id for Google login, since it will be deprecated in the future I am switching the code to ...
3
votes
0answers
93 views
Semi-synchronous Programming in Python
I just took a stab at creating a library for something I'm dubbing semi-synchronous programming (async + dependencies). It's rather dense, but I'd really appreciate a quick code review to ensure I'm ...
2
votes
1answer
52 views
Views Counter made in Python, Gevent and MongoDB
I've created a Views Counter in Python, Gevent and MongoDB (Flask is also included in the full stack as you can see from the context issue in the code).
My gut still tells me that it can be still ...
2
votes
1answer
540 views
Is this a safe/correct way to make a python LogHandler asynchronous?
I'm using some slow-ish emit() methods in Python (2.7) logging (email, http POST, etc.) and having them done synchronously in the calling thread is delaying web requests. I put together this function ...
1
vote
0answers
58 views
Questions regarding the use of Requests Futures for accessing REST URLs
This is a much simplified version of the real code focusing just on the handling of Futures from Requests Futures.
I have a few questions:
I had to implement my own version of ...