Created
March 23, 2011 18:10
-
-
Save mikeyk/883615 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/ubuntu/src/redis/redis/client.py in _execute_command | |
return self.parse_response(command_name, **options) ... | |
▼ Local vars | |
Variable Value | |
self | |
u'<redis.client.Redis object at 0xabbb02c>' | |
command_name | |
u'MGET' | |
command | |
u'*159\r\n$4\r\nMGET\r\n$20\r\nabentity:09053472325\r\n$20\r\nabentity:09074166997\r\n$35\r\nabentity:h18b_57xn-d...@ezweb.ne.jp\r\n$32\r\nabentity:junk.i0305@docomo.ne.jp\r\n$20\r\nabentity:08043776822\r\n$29\r\nabentity:xljf616@...' | |
subscription_command | |
u'False' | |
options | |
{} | |
/home/ubuntu/src/redis/redis/client.py in parse_response | |
response = self.connection.read_response(command_name, catch_errors) ... | |
▼ Local vars | |
Variable Value | |
catch_errors | |
u'False' | |
self | |
u'<redis.client.Redis object at 0xabbb02c>' | |
options | |
{} | |
command_name | |
u'MGET' | |
/home/ubuntu/src/redis/redis/connection.py in read_response | |
if self._sock: | |
self._reader = None | |
super(HiredisConnection, self).disconnect() | |
def read_response(self, command_name, catch_errors): | |
response = self._reader.gets() | |
while response is False: | |
buffer = self._sock.recv(4096) ... | |
if not buffer: | |
self.disconnect() | |
raise ConnectionError("Socket closed on remote end") | |
self._reader.feed(buffer) | |
response = self._reader.gets() | |
▶ Local vars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment