This way conn.connection is connection.connection - > self._revalidate_connection() wont be called when a connection is invalidated eg. "Can't reconnect until transaction is rolled back".
I don't entirely understand this, when would a connection be invalidated but not closed? Can you write a test to reproduce it (probably best to do it on the sqla-2.0 branch)?
This way conn.connection is connection.connection - > self._revalidate_connection() wont be called when a connection is invalidated eg. "Can't reconnect until transaction is rolled back".