Oct. 15, 2012
12:23 a.m.
Guido van Rossum wrote:
The thing that worries me most is reimplementing httplib, urllib and so on to use all this new machinery *and* keep the old synchronous APIs working *even* if some code is written using the old style and some other code wants to use the new style.
I think this could be handled the same way you alluded to before when talking about the App Engine. The base implementation is asynchronous, and you provide a synchronous API that sets up an async operation and then runs a nested event loop until it completes. -- Greg