129 Commits

Author SHA1 Message Date
lericson
0f8c1e442c Correctly check the exception raised on empty server list. 2009-11-22 14:33:00 +01:00
lericson
0c7fcee690 Bump version to 0.9.2. 0.9.2 2009-11-18 20:25:51 +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
43729b93a8 Raise exception when no servers are given. 2009-11-18 20:25:03 +01:00
lericson
7fea129abd Bump version to 0.9.1. 0.9.1 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
0e1c0b8204 Comment out MEMCACHED_E2BIG return code, as it is fairly new. 0.9 2009-11-05 19:54:54 +01:00
lericson
6a9ad740c7 Add note about per-rc exceptions to changelog. 2009-11-05 19:54:19 +01:00
lericson
e61aaac393 Bump version to 0.9. 2009-11-05 19:10:06 +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
529adbe6bb Add note about empty values as empty strings. 2009-11-05 17:01:30 +01:00
lericson
343286a34b Fix empty memcached value exception bug.
pylibmc would produce non-error exceptions because the memcached value
pointer would be NULL, while the return code would be zero.
2009-10-31 11:22:18 +01:00
lericson
f5b756deb8 Add 0.9 changes. 2009-10-31 11:21:55 +01:00
lericson
0984a270db Added get_stats function.
Thanks to M0shTH8 for inspiration.
2009-10-19 14:09:08 +02:00
lericson
9df4f749fb Prepare release 0.8.2. 0.8.2 2009-09-22 00:31:33 +02:00
lericson
75f3c5d803 Fix tests for pooling helpers. 2009-09-22 00:17:23 +02:00
lericson
213e503ba5 Move cmemcache tests to main test module.
This also adds support for unittests, yay.
2009-09-22 00:16:59 +02:00
lericson
d46bf8760a Add missing `pylibmc-versio.h` to manifest. 2009-09-21 22:46:36 +02:00
lericson
d50c606ec2 Add notes about pooling to the readme. 2009-09-21 17:31:25 +02:00
lericson
8f456cab10 Add notes about the binary protocol to readme. 2009-09-21 17:31:10 +02:00
lericson
c62284ccce Prepare release 0.8.1. 0.8.1 2009-09-21 17:24:53 +02:00
lericson
1a6947828d Add `pooling.rst` to the manifest. 2009-09-21 17:24:19 +02:00
lericson
018a46d80c Add news on the binary support. 2009-09-21 17:22:50 +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
279544a468 Report pylibmc version in tester. 2009-09-21 16:47:57 +02:00
lericson
a0dcf907c2 Add new behavior names to doctest. 2009-09-21 16:47:42 +02:00
lericson
7b2f9f88dd Simplify behavior setting method. 2009-09-21 16:47:16 +02:00
lericson
7b06340885 Add lots of new behaviors. 2009-09-21 16:43:36 +02:00
lericson
a14a2d7de9 Improve error checking for adding servers. 2009-09-21 16:43:00 +02:00
lericson
aa74c13d84 Improve error checking for increment and decrement. 2009-09-21 16:42:37 +02:00
lericson
91d9e035e9 Bump version to 0.8-dev. 2009-09-21 16:02:07 +02:00
lericson
fb878fe457 Add some URL references. 2009-09-21 15:54:21 +02:00
lericson
eb2ac8744c Increase timeout for timed test a little.
This test could fail on some very slow machines (my server), where
rerunning it would be fine. Hope this brings some predictability to the
test in question.
2009-09-21 15:49:06 +02:00
lericson
a634ed7140 Cast keys to const in get_multi.
This is because libmemcached 0.32 wants it that way.
2009-09-21 15:46:06 +02:00
lericson
5d69f8985b Note UDP/binary in todo. 2009-09-21 15:41:09 +02:00
lericson
e88e96b752 Add more references for comparison.
Also anonymous references in ReST is nice.
2009-09-21 15:40:42 +02:00
lericson
d0db0492c7 Remove notes on Snow Leopard compilation.
Not sure what this was for since it works out of the box for me.
2009-09-21 15:37:57 +02:00
lericson
7773d83b69 Add what is new in 0.8 section. 2009-09-21 15:37:35 +02:00
lericson
444c600520 Add pooling documentation. 2009-09-20 16:23:41 +02:00
lericson
f203dd1c02 Add pooling helpers. 2009-09-20 16:23:24 +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
lericson
1dda3f5522 Prepare release 0.7.4. 0.7.4 2009-09-19 20:03:28 +02:00
lericson
97597d0bb5 Add more to the list of changes in 0.7.x 2009-09-19 20:02:54 +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
2af5ca0e40 Include main tests in doctests, testing behaviors better. 2009-09-18 11:26:41 +02:00
lericson
9fb94c12c0 Properly cast types in get_behaviors. 2009-09-18 11:23:25 +02:00
lericson
391878b095 Simplify set_behaviors. 2009-09-18 11:22:54 +02:00
lericson
732f181cb7 Add tests for pickling. 2009-09-08 21:43:56 +02:00