|
|
|
|
|
by masklinn
451 days ago
|
|
There’s absolutely no need for async http here. The script does one http request at the top of main. And a trivial one too (just a simple GET). response = urlopen(url)
return json.load(response)
is what they’re saving themselves from. |
|
For as much as Python is embracing async / coroutines, I'm surprised that their http functions do not support it yet.