Re:RethinkDB 1.4 is out: better protocol, drivers, data expl...
by gsibble on Monday March 18, 2013 @04:30PM
(#5396912)
Oh damn. Already halfway through refactoring. Can you update the change docs to note that?
https://github.com/rethinkdb/rethinkdb/wiki/ReQL-changes-in-...
I don't see it on there.
As for the changes to `connection.run` and `query.run` please note that in the Python driver you can call `.repl()` on any newly created connection to set that connection as a global default. This should replicate the old behavior.
We decided that doing this by default was unsafe as it relied on global state modified any time a new connection is opened. Even so, we appreciate the convenience and kept the behavior in the form of the `.repl()` for when you're trying out RethinkDB in a simple script (or the Python REPL) that only creates one connection and doesn't use threads.