lp:~estein/python-memcached/exceptional
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
Branch merges
Branch information
Recent revisions
- 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. - 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. - 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)