Accepting request 102956 from home:aledr:branches

Update to 2.4.11.

OBS-URL: https://build.opensuse.org/request/show/102956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=9
This commit is contained in:
Sascha Peilicke 2012-02-07 08:59:29 +00:00 committed by Git OBS Bridge
parent 3afb975b0f
commit de9d4b6eb7
4 changed files with 39 additions and 7 deletions

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Tue Feb 7 01:15:02 UTC 2012 - alexandre@exatati.com.br
- Update to 2.4.11:
* AuthenticationError will now be correctly raised if an invalid password
is supplied.
* If Hiredis is unavailable, the HiredisParser will raise a RedisError
if selected manually.
* Made the INFO command more tolerant of Redis changes formatting. Fix
for #217.
- Aditional changes from 2.4.10:
* Buffer reads from socket in the PythonParser. Fix for a Windows-specific
bug (#205).
* Added the OBJECT and DEBUG OBJECT commands.
* Added __del__ methods for classes that hold on to resources that need to
be cleaned up. This should prevent resource leakage when these objects
leave scope due to misuse or unhandled exceptions. Thanks David Wolever
for the suggestion.
* Added the ECHO command for completeness.
* Fixed a bug where attempting to subscribe to a PubSub channel of a Redis
server that's down would blow out the stack. Fixes #179 and #195. Thanks
Ovidiu Predescu for the test case.
* StrictRedis's TTL command now returns a -1 when querying a key with no
expiration. The Redis class continues to return None.
* ZADD and SADD now return integer values indicating the number of items
added. Thanks Homer Strong.
* Renamed the base client class to StrictRedis, replacing ZADD and LREM in
favor of their official argument order. The Redis class is now a subclass
of StrictRedis, implementing the legacy redis-py implementations of ZADD
and LREM. Docs have been updated to suggesting the use of StrictRedis.
* SETEX in StrictRedis is now compliant with official Redis SETEX command.
the name, value, time implementation moved to "Redis" for backwards
compatability.
-------------------------------------------------------------------
Fri Sep 23 12:12:39 UTC 2011 - saschpe@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-redis
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,10 +15,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-redis
Version: 2.4.9
Version: 2.4.11
Release: 0
Url: http://github.com/andymccurdy/redis-py
Summary: Python client for Redis key-value store

3
redis-2.4.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e000a10464e5cbd4814987c130b897fd2a34ff2cef40b2584ea7f8d73473d1c
size 28824

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4ea85767e037d1aa471272840db2af512fe86043324621f883de7c9ccebfaf1
size 26373