Marko Rauhamaa <ma...@pacujo.net> writes: > "Frank Millman" <fr...@chagford.com>: >> I would love to drive the database asynchronously, but of the three >> databases I use, only psycopg2 seems to have asyncio support. > Yes, asyncio is at its infancy. There needs to be a moratorium on > blocking I/O.
Unfortunately there appears to be no way to open a file in Linux without at least potentially blocking (slow disk or whatever). You need separate threads or processes to do the right thing. -- https://mail.python.org/mailman/listinfo/python-list