[Python-Dev] API design: where to add async variants of existing stdlib APIs? (original) (raw)
Ethan Furman ethan at stoneleaf.us
Tue Mar 7 13:15:07 EST 2017
- Previous message (by thread): [Python-Dev] API design: where to add async variants of existing stdlib APIs?
- Next message (by thread): [Python-Dev] API design: where to add async variants of existing stdlib APIs?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/07/2017 09:41 AM, Brett Cannon wrote:
I don't think a common practice has bubbled up yet for when there's both synchronous and asynchronous versions of an API (closest I have seen is appending an "a" to the async version but that just looks like a spelling mistake to me most of the time). This is why the question of whether separate modules are a better idea is coming up.
I'm undoubtedly going to show my ignorance with this question, but is it feasible to have both sync and async support in the same object?
--
Ethan
- Previous message (by thread): [Python-Dev] API design: where to add async variants of existing stdlib APIs?
- Next message (by thread): [Python-Dev] API design: where to add async variants of existing stdlib APIs?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]