lp:~estein/python-memcached/exceptional

Created by Eric Stein and last modified

Modifications to python-memcached to use exception style when dealing with failures rather than various return codes.

Get this branch:
bzr branch lp:~estein/python-memcached/exceptional
Only Eric Stein can upload to this branch. If you are Eric Stein please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Eric Stein
Project:
Python Memcached
Status:
Development

Recent revisions

36. By Eric Stein

on delete when not present, return False rather than a compatibility exception

35. By Eric Stein

function flush_cas on Client for flushing the cas id cache

34. By Eric Stein

rename module to memcache_exceptional to avoid namespace issues in production usage

33. By Eric Stein

don't allow cas without a gets; interpret a failed add() due to prexisting key as a False response ala cas().

32. By Eric Stein

new boolean Client option: immortal
* if a connection fails during operations, the server will not be removed from the pool for any length of time.
* however, the connection will be dropped and a reconnection will occur for future operations.

31. By Eric Stein

update to docstrings on return types

30. By Eric Stein

Rework functions get, gets, set, cas, delete and their helpers to use exceptions for handling abnormal cases and properly handle failed CAS operations.
Still need to work on this more and write tests for the changes, but for now these 5 core functions are more usable.

29. By Sean Reifschneider <email address hidden>

For 1.45 release.

28. By Sean Reifschneider <email address hidden>

Release script is adding document file.

27. By Sean Reifschneider <email address hidden>

Running tests and fixing issues found so far.
Adding overall test status message.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers