Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | call socket.shutdown() before socket.close() | Andy McCurdy | 2013-08-23 | 1 | -0/+1 | |
| |/ | ||||||
| * | redis._compat has a BytesIO declaration, which works in both 2.x and 3.x | root | 2013-07-03 | 1 | -2/+2 | |
| | | ||||||
| * | Use io.BytesIO in Redis.pack_command -- makes it a little bit faster | root | 2013-07-03 | 1 | -7/+11 | |
| | | ||||||
| * | can catch any type of exception here since we re-raise the exception anyway | andy | 2013-06-26 | 1 | -2/+2 | |
| | | ||||||
| * | fix for #358 and #351 | andy | 2013-06-14 | 1 | -3/+10 | |
| | | ||||||
| * | encoding tests | andy | 2013-06-06 | 1 | -7/+4 | |
| | | ||||||
| * | Add BusyLoadingError exception to differentiate -LOADING errors from connect ↵ | Yossi Gottlieb | 2013-06-04 | 1 | -1/+2 | |
| | | | | | | | | errors. | |||||
* | | refactored pubsub. needs tests | andy | 2013-05-25 | 1 | -2/+28 | |
|/ | ||||||
* | can reuse the already existing parse_error routine to deal with LOADING errors. | andy | 2013-05-06 | 1 | -6/+3 | |
| | ||||||
* | pep8 | andy | 2013-04-27 | 1 | -54/+51 | |
| | ||||||
* | pep8 | andy | 2013-04-22 | 1 | -3/+2 | |
| | ||||||
* | connection: fix py3 syntax bug. | James Arthur | 2013-04-19 | 1 | -2/+2 | |
| | ||||||
* | connection: remove stray print statement. | James Arthur | 2013-04-19 | 1 | -1/+0 | |
| | ||||||
* | compat: extract queue imports to _compat module. | James Arthur | 2013-04-19 | 1 | -6/+2 | |
| | | | | Adds python 2.5 support for the LifoQueue structure. | |||||
* | connection: add an optional `BlockingConnectionPool` class. | James Arthur | 2013-04-18 | 1 | -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 Mihaila | 2013-04-10 | 1 | -5/+5 | |
| | ||||||
* | always raise parse error exceptions in multi/exec pipelines as a result of this | andy | 2012-11-16 | 1 | -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. | andy | 2012-10-07 | 1 | -2/+4 | |
| | | | | Fixes #227 | |||||
* | fixed a Python3 incompatibiltiy in the previous commit | andy | 2012-08-23 | 1 | -1/+2 | |
| | ||||||
* | implementing LUA scripting, still need tests. | andy | 2012-08-23 | 1 | -6/+17 | |
| | ||||||
* | Raise an exception if there's any kind of error. Fix for #251. | andy | 2012-08-14 | 1 | -4/+7 | |
| | ||||||
* | Optimized code by caching certain bytestring literals | Alex Grönholm | 2012-08-07 | 1 | -11/+14 | |
| | ||||||
* | Fixed PEP 8 violations introduced in previous commits | Alex Grönholm | 2012-08-07 | 1 | -1/+2 | |
| | ||||||
* | Fixed Python 3.2+ compatibility | Alex Grönholm | 2012-08-07 | 1 | -23/+36 | |
| | ||||||
* | Cleaned up code for PEP 8 compliance | Alex Grönholm | 2012-08-06 | 1 | -10/+16 | |
| | ||||||
* | Merge remote-tracking branch 'encoding/2.4.11-fix' into encoding | andy | 2012-06-10 | 1 | -10/+25 | |
|\ | | | | | | | | | Conflicts: redis/connection.py | |||||
| * | Have PythonParser handle result encoding similarly to hiredis.Reader. | Frankie Dintino | 2012-02-08 | 1 | -5/+11 | |
| | | | | | | | | | | If the connection encoding is set to utf-8, pass the socket read results through decode() | |||||
| * | Pass the connection encoding to hiredis.Reader | Frankie Dintino | 2012-02-08 | 1 | -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 IronPython | Gil Tayar | 2012-05-16 | 1 | -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.) | |||||
* | | Fix re-used connection errors after fork(). | Josiah Carlson | 2012-04-11 | 1 | -2/+14 | |
|/ | ||||||
* | Raise an authentication error if an invalid password is supplied | andy | 2011-11-07 | 1 | -2/+3 | |
| | ||||||
* | HiredisParser raises a RedisError if Hiredis is unavailable | andy | 2011-11-07 | 1 | -4/+19 | |
| | ||||||
* | pep8 | andy | 2011-10-25 | 1 | -1/+0 | |
| | ||||||
* | should .close() the buffer | andy | 2011-10-24 | 1 | -7/+10 | |
| | ||||||
* | Limit the maximum bytes read from the PythonParser. Fix for #205. | andy | 2011-10-24 | 1 | -2/+24 | |
| | ||||||
* | Added __del__ methods for classes that hold on to resources that need to be ↵ | andy | 2011-10-14 | 1 | -1/+20 | |
| | | | | cleaned up. This should prevent resource leakage when these objects leave scope due to misuse or unhandled exceptions. | |||||
* | Raise ConnectionError if the reader has been closed under us. This | Ovidiu Predescu | 2011-08-30 | 1 | -0/+2 | |
| | | | | | happens if someone calls the disconnect method. This matches the same behavior as in PythonParser. | |||||
* | Ensure connections get disconnected if there's a protocol error | andy | 2011-07-22 | 1 | -3/+9 | |
| | ||||||
* | Removed socket retry logic in Connection. This is the responsbility of the ↵ | andy | 2011-07-22 | 1 | -13/+2 | |
| | | | | caller to determine if the command is safe and can be retried. | |||||
* | Fix for #153, can only reliably check the last byte of the response | Andy McCurdy | 2011-07-10 | 1 | -3/+3 | |
| | ||||||
* | fix for PythonParser when reading empty strings | Andy McCurdy | 2011-06-10 | 1 | -1/+1 | |
| | ||||||
* | fix a typo introduced in last commit. thanks Ask Solem for finding. | Andy McCurdy | 2011-06-07 | 1 | -1/+1 | |
| | ||||||
* | fix UnixDomainSocketConnection to report error messages based on it's ↵ | Andy McCurdy | 2011-06-07 | 1 | -9/+23 | |
| | | | | attributes rather than the TCP socket attributes. fixes #140 | |||||
* | make sure the class instance always has an ._fp attribute in case disconnect ↵ | Andy McCurdy | 2011-06-01 | 1 | -3/+6 | |
| | | | | gets called before connect | |||||
* | ConnectionPool's get_connection() now can take optional kwargs | Andy McCurdy | 2011-05-25 | 1 | -1/+1 | |
| | ||||||
* | new pubsub tests | Andy McCurdy | 2011-05-23 | 1 | -1/+1 | |
| | ||||||
* | more error checking for socket errors | Andy McCurdy | 2011-05-22 | 1 | -5/+7 | |
| | ||||||
* | connection pool is now a real pool. we no longer rely on threading.local for ↵ | Andy McCurdy | 2011-05-17 | 1 | -24/+30 | |
| | | | | anything in redis-py. yaa! | |||||
* | all tests pass now except pub/sub. connection_pool's get_connection now ↵ | Andy McCurdy | 2011-05-17 | 1 | -2/+11 | |
| | | | | always received the command name for the next command. still need to pass keys. | |||||
* | all tests passing with new connection pool | Andy McCurdy | 2011-05-16 | 1 | -25/+53 | |
| |