[Python-ideas] async/await in Python

Andrew Svetlov andrew.svetlov at gmail.com
Sun Apr 19 21:00:43 CEST 2015


I think the PEP is not useful for ORMs but for low-level database
drivers. They are may get benefits from `async with` and `async for`
at least.

On Sun, Apr 19, 2015 at 2:52 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Sun, 19 Apr 2015 14:44:00 -0400
> Yury Selivanov <yselivanov.ml at gmail.com>
> wrote:
>> Queries in __getattr__
>> are bad because of many reasons.
>
> If you think they are bad, it means you probably don't like ORMs, since
> that's a primary feature of theirs.
>
> Or perhaps you are confusing "ORM" with "database abstraction layer".
> They are not the same thing.
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/



-- 
Thanks,
Andrew Svetlov


More information about the Python-ideas mailing list