summaryrefslogtreecommitdiff
path: root/redis/connection.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'master' into pubsubAndy McCurdy2014-03-131-55/+125
|\ \ \ | | |/ | |/| | | | | | | Conflicts: redis/connection.py
| * | make sure hiredis parser raises connection errorsAndy McCurdy2014-03-101-0/+5
| |/
| * pep8, version bump to 2.9.12.9.1Andy McCurdy2014-01-231-5/+7
| |
| * Added timeout.Adam Mashinchi2014-01-231-1/+1
| |
| * Add IPv6 support to 2.6+.Adam Mashinchi2014-01-221-0/+3
| |
| * ConnectionPools in forked and multi-threaded environments play nicer.Andy McCurdy2014-01-021-13/+20
| | | | | | | | Thanks Christian Joergensen. Fixes #412
| * Add extra info to exceptions raised in pipelines. Fixes #407Andy McCurdy2013-12-081-14/+18
| | | | | | | | | | | | | | | | | | ResponseErrors generated by commands executed in a pipeline now includes the command position in the pipeline and the actual command sent to the Redis server. For example: Command # 3 (LPUSH c 3) of pipeline caused error: <actual error message from Redis server>
| * Merge branch 'pr/391'Andy McCurdy2013-11-261-1/+10
| |\
| | * double quotes rather than singlesAndy McCurdy2013-11-261-5/+6
| | |
| | * remove TODO, it is implemented by BlockingConnectionPool without a timeoutEric Urban2013-10-211-1/+0
| | |
| | * Update documentation on __init__ of ConnectionPool to explain usage and behaviorEric Urban2013-10-211-0/+9
| | |
| * | Merge branch 'pr/399'Andy McCurdy2013-11-261-0/+28
| |\ \
| | * | Move repr to Connection and UnixDomainConnection. Add repr support to Redis, ↵Mark Roberts2013-11-051-0/+28
| | |/ | | | | | | | | | ConnectionPool, and BlockingConnectionPool
| * | stylisticAndy McCurdy2013-11-261-2/+2
| | |
| * | Making fix PEP8 compliantAnshul Ranjan2013-11-121-1/+2
| | |
| * | Fixed indentation to 4 spacesAnshul Ranjan2013-10-251-1/+1
| | |
| * | Patch for better error message on protocol error.Anshul Ranjan2013-10-251-1/+1
| |/ | | | | | | Recently I got lot of these errors in my logs and had no clue what it meant until I printed byte and response and it showed out of memory.
| * Errors during auth or DB select now close the socketAndy McCurdy2013-09-081-1/+6
| | | | | | | | Fixes #368
| * Merge branch 'master' of git://github.com/gviot/redis-py into gviot-masterAndy McCurdy2013-08-241-11/+7
| |\
| | * Make the pack_command optimization compatible across python versionsGuillaume Viot2013-08-241-4/+6
| | |
| | * Changed the way commands are packed to increase performanceGuillaume Viot2013-08-211-11/+5
| | |
| * | call socket.shutdown() before socket.close()Andy McCurdy2013-08-231-0/+1
| |/
| * redis._compat has a BytesIO declaration, which works in both 2.x and 3.xroot2013-07-031-2/+2
| |
| * Use io.BytesIO in Redis.pack_command -- makes it a little bit fasterroot2013-07-031-7/+11
| |
| * can catch any type of exception here since we re-raise the exception anywayandy2013-06-261-2/+2
| |
| * fix for #358 and #351andy2013-06-141-3/+10
| |
| * encoding testsandy2013-06-061-7/+4
| |
| * Add BusyLoadingError exception to differentiate -LOADING errors from connect ↵Yossi Gottlieb2013-06-041-1/+2
| | | | | | | | errors.
* | refactored pubsub. needs testsandy2013-05-251-2/+28
|/
* can reuse the already existing parse_error routine to deal with LOADING errors.andy2013-05-061-6/+3
|
* pep8andy2013-04-271-54/+51
|
* pep8andy2013-04-221-3/+2
|
* connection: fix py3 syntax bug.James Arthur2013-04-191-2/+2
|
* connection: remove stray print statement.James Arthur2013-04-191-1/+0
|
* compat: extract queue imports to _compat module.James Arthur2013-04-191-6/+2
| | | | Adds python 2.5 support for the LifoQueue structure.
* connection: add an optional `BlockingConnectionPool` class.James Arthur2013-04-181-0/+167
| | | | | | * implements the same api as the default `ConnectionPool` * blocks for a specified timeout when getting a connection if no connections are available
* Catch exception, not anything (which could be KeyboardInterrupt).Lucian Branescu Mihaila2013-04-101-5/+5
|
* always raise parse error exceptions in multi/exec pipelines as a result of thisandy2012-11-161-0/+2
| | | | server change: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/redis-db/VUiEFT8U8U0
* High precision floating point values are now properly sent to the Redis server.andy2012-10-071-2/+4
| | | | Fixes #227
* fixed a Python3 incompatibiltiy in the previous commitandy2012-08-231-1/+2
|
* implementing LUA scripting, still need tests.andy2012-08-231-6/+17
|
* Raise an exception if there's any kind of error. Fix for #251.andy2012-08-141-4/+7
|
* Optimized code by caching certain bytestring literalsAlex Grönholm2012-08-071-11/+14
|
* Fixed PEP 8 violations introduced in previous commitsAlex Grönholm2012-08-071-1/+2
|
* Fixed Python 3.2+ compatibilityAlex Grönholm2012-08-071-23/+36
|
* Cleaned up code for PEP 8 complianceAlex Grönholm2012-08-061-10/+16
|
* Merge remote-tracking branch 'encoding/2.4.11-fix' into encodingandy2012-06-101-10/+25
|\ | | | | | | | | Conflicts: redis/connection.py
| * Have PythonParser handle result encoding similarly to hiredis.Reader.Frankie Dintino2012-02-081-5/+11
| | | | | | | | | | If the connection encoding is set to utf-8, pass the socket read results through decode()
| * Pass the connection encoding to hiredis.ReaderFrankie Dintino2012-02-081-1/+2
| | | | | | | | | | | | HiredisParser was not previously passing the character encoding to the hiredis.Reader constructor from redis.connection.Connection (the default there is 'utf-8').
* | Made redis-py work with IronPythonGil Tayar2012-05-161-1/+1
| | | | | | | | | | Open socket connection with mode='rb' instead of 'r'. From Python documentation: ...when opening a binary file, you should append 'b' to the mode value to open the file in binary mode, which will improve portability. (Appending 'b' is useful even on systems that don’t treat binary and text files differently, where it serves as documentation.)