I see that you can set the overall timeout with cnxn.timeout = n --
but as I understood it SQL_ATTR_CONNECTION_TIMEOUT is supposed to set
the timeout on opening the connection... Looking in the source it
seems like the timeout attribute is used for the connection timeout
and query timeout (SQL_ATTR_QUERY_TIMEOUT). There's no way to set the
connection timeout before creating a Connection object.
I liked the idea being kicked around before that would let us pass
arbitrary SQL_ATTR_*
You were wondering previously about how everyone would like these to
be passed, I think keyword args would be best, and if someone prefers
setting up a dict, they can always use **dict..
Hopefully I'm not overlooking some other way to set this attribute.
Thanks..
- Michael