Commit Graph

23 Commits (master)

Author SHA1 Message Date
Ray Slakinski f7bae96d11 reorder vars 2010-11-23 19:54:22 -05:00
Ray Slakinski b201a84ba1 making the custom_flag bit customizable instead of fixed 2010-11-22 20:05:37 -05:00
Ray Slakinski 5549b58553 define a use_custom_flag option which will add the PYLIBMC_FLAG_CUSTOM define to flags if true 2010-11-22 16:42:41 -05:00
ketralnis 0c49d98fb4 Add CAS support (client.gets, client.cas). Note that this is not
compatible with python-memcached's implementation
2010-09-28 20:27:53 -07:00
lericson 66f4bcfc41 Second pass of syntax nitpicks 2010-05-12 01:18:29 +02:00
lericson b4a1e6ab6b Support new-style stats & server iteration 2010-05-11 12:32:07 +02:00
ketralnis eb21e83e2c Acquire/release the GIL only once for set_multi operations, and add add_multi/incr_multi operations 2010-05-10 13:11:13 +02:00
ketralnis 4674638327 A second pass at releasing the GIL during blocking operations: only release/reaquire once for a get_multi operation 2010-05-10 13:11:10 +02:00
lericson 77c2478298 Clean up behaviors and their names.
Among other things, all behaviors are now named with underscores
*always*. Some esoteric behaviors have been removed or masked as well.
2009-12-30 13:54:25 +01:00
lericson 02e73a416e Make the more esoteric behaviors be private. 2009-12-05 21:45:03 +01:00
lericson c5590258fb Implement zlib compression. 2009-11-30 10:29:36 +01:00
lericson 9fec8f59f6 Fix crashes in client allocation and deallocation routines. 2009-11-30 09:15:27 +01:00
lericson 0e1c0b8204 Comment out MEMCACHED_E2BIG return code, as it is fairly new. 2009-11-05 19:54:54 +01:00
lericson 1c83ad0de2 Add specialized exception classes.
Useful when you need to catch certain errors like when a key isn't found
during an increment/decrement operation.
2009-11-05 19:09:09 +01:00
lericson 0984a270db Added get_stats function.
Thanks to M0shTH8 for inspiration.
2009-10-19 14:09:08 +02:00
lericson 16e964e571 Add support for the binary protocol.
Also removed two behaviors from public exposure as they're better off
controlled by `_pylibmc`. (USE_UDP and BINARY_PROTOCOL.)
2009-09-21 17:16:43 +02:00
lericson 7b06340885 Add lots of new behaviors. 2009-09-21 16:43:36 +02:00
lericson bc40569572 Add memcached_clone support. 2009-09-19 22:45:42 +02:00
lericson e8817b6617 Set version in one file and one file alone. 2009-09-19 21:42:37 +02:00
Ruda Moura a3b31a5dbb Partial support for Python 2.4. 2009-09-08 03:32:37 +02:00
lericson f567323f04 Use Py_ssize_t as much as possible.
This fixes issues with x86_64 builds, which would cause very strange
errors to occur.
2009-09-07 23:55:37 +02:00
lericson 5fd68b34c7 Merge patch from amix
Add support for bool values, use ssize_t in some places (not sure about
this) and some other stuff.
2009-09-05 02:08:04 +02:00
lericson 4e68248105 Initial import into git! 2009-07-27 16:10:43 +02:00