29 Commits

Author SHA1 Message Date
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
lericson
2b39ddf9ec Add a more useful command-line interface 2010-04-22 00:08:03 +02:00
lericson
ee47d6ab7b Nitpick syntax to go below 80 chars 2010-03-22 22:25:09 +01:00
lericson
92c1fbb585 Fix up docstrings for pylibmc module 2010-03-22 21:52:09 +01:00
lericson
956355ee27 Expand pylibmc.ClientPool.reserve documentation. 2010-03-16 23:44:18 +01:00
lericson
b3b36b3acb Make pylibmc.ClientPool signature backwards-compatible. 2010-03-16 23:43:54 +01:00
ketralnis
0e383d7289 Change ClientPool to properly block when a client isn't available 2010-03-16 15:21:59 -07: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
3e254545a9 Map behavior 'ketama hash' to hasher names. 2009-12-05 21:45:35 +01:00
lericson
c5590258fb Implement zlib compression. 2009-11-30 10:29:36 +01:00
lericson
a4e7e2cd75 Fix weird with Client.behaviors.update.
This would manifest itself in pylibmc setting seemingly random (but
consistently so) values for the updated behaviors.

Not sure how or why this works when the previous code didn't.
2009-11-25 12:00:04 +01:00
lericson
f96dbc740c Use thread.get_ident instead of more convoluted way.
This also has the nice side-effect of not making pylibmc unusable on
lte py25.
2009-11-18 20:25:03 +01:00
lericson
40dcb628c6 Expose all per-error exception objects. 2009-11-17 17:52:39 +01:00
lericson
0984a270db Added get_stats function.
Thanks to M0shTH8 for inspiration.
2009-10-19 14:09:08 +02:00
lericson
75f3c5d803 Fix tests for pooling helpers. 2009-09-22 00:17:23 +02:00
lericson
db1aff8129 Add tests for using the binary protocol. 2009-09-21 17:20:53 +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
a0dcf907c2 Add new behavior names to doctest. 2009-09-21 16:47:42 +02:00
lericson
f203dd1c02 Add pooling helpers. 2009-09-20 16:23:24 +02:00
lericson
e8817b6617 Set version in one file and one file alone. 2009-09-19 21:42:37 +02:00
lericson
1dda3f5522 Prepare release 0.7.4. 2009-09-19 20:03:28 +02:00
lericson
5b8db2b0eb Fix an issue with mc.behaviors[x] = y failing weirdly.
Not entirely sure what the reason was, but updating the behaviors with a
dict that is self from __setitem__ fails. I'm willing to attribute this
to CPython weirdness, and so am going to call this fixed.
2009-09-18 11:27:03 +02:00
lericson
ce9359fac7 Prepare release 0.7.3. 2009-09-07 22:01:21 +02:00
lericson
0c8636650e Prepare release 0.7.2. 2009-09-07 20:59:17 +02:00
lericson
2d0eb9bb7d Move version string to pylibmc module. 2009-09-07 20:58:55 +02:00
lericson
4172411d53 Don't override defaults from libmemcached. 2009-09-07 12:58:01 +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
bffe887cc2 Add lots of informative text (known as documentation). 2009-07-31 22:04:49 +02:00
lericson
4e68248105 Initial import into git! 2009-07-27 16:10:43 +02:00