Commit Graph

165 Commits (master)
 

Author SHA1 Message Date
lericson 0987c37160 Prepare 1.0 release 2010-03-22 22:33:26 +01:00
lericson 48e131b071 Nitpick PyPI documentation wording 2010-03-22 22:33:17 +01: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 61932d50b9 Check for minor version requirement 2010-03-22 21:06:37 +01:00
lericson 3702d07434 Add changelog for 1.0 2010-03-21 22:44:04 +01:00
lericson 87e7c15064 Prepare 1.0-beta release. 2010-03-19 20:12:28 +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
lericson 22f0cd6663 Merge remote branch 'ketralnis/master' 2010-03-16 23:31:40 +01:00
ketralnis 0e383d7289 Change ClientPool to properly block when a client isn't available 2010-03-16 15:21:59 -07:00
lericson a7b0c6e5da Allow using environment variables for package dirs 2010-03-16 23:06:18 +01:00
lericson c2b8573adf Fix up .gitignore 2010-03-16 23:00:50 +01:00
lericson 3331c59d77 Elusive is the one missing DECREF, conclusive is this commit.
Fixes #6 - the issue was that when PyTuple_Pack constructs a tuple, it
makes a reference of its own. This was not taken into account, so a
DECREF was missing.
2010-03-16 19:59:17 +01:00
lericson c3215866c5 Fix get_multi with an 0-sequence.
Used to give weird errors like NULL return w/o exception etc. Fixes #7.
2010-02-22 16:36:56 +01:00
lericson 8a1e5c752d Use distutils to generate path to pylibmc in tests. 2010-01-27 13:20:45 +01:00
lericson aff42d767b Check for mappings in delete_multi and err out.
Previously, this would cause internal trickery to go wrong and call an
inner function with too many arguments, then fail. The error wouldn't
bubble up either, and a SEGV would ensue.
2010-01-27 11:41:07 +01:00
lericson 587df7121c Add notes on installation options. 2010-01-18 15:19:46 +01:00
lericson 59025f48db Make documentation reference actual location.
See http://sendapatch.se/projects/pylibmc/.
2010-01-03 19:20:47 +01:00
lericson 9b4f66952c Typofix. 2009-12-30 18:39:37 +01:00
lericson 3dd7ad5fb6 Update cmemcache test to work with newer memcacheds. 2009-12-30 14:31:31 +01:00
lericson fc9c44d05f Update short description. 2009-12-30 14:28:32 +01:00
lericson 45f2c4ceec Streamline README documentation. 2009-12-30 14:26:27 +01:00
lericson 5114dfe786 Prepare 1.0 alpha release. 2009-12-30 13:54:31 +01:00
lericson 59cc691a0d Add support for building statically.
Using --gen-setup, one can create a Setup file which can then be
included in Modules/Setup.local.
2009-12-30 13:54:31 +01: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 b7d381a160 Make delete_multi return value compatible with python-memcached. 2009-12-13 21:00:39 +01:00
lericson 3e254545a9 Map behavior 'ketama hash' to hasher names. 2009-12-05 21:45:35 +01:00
lericson 02e73a416e Make the more esoteric behaviors be private. 2009-12-05 21:45:03 +01:00
lericson 69f53cb0c1 Remove accidentally left-over debug prints 2009-11-30 10:35:19 +01:00
lericson 1e4930aafe Specify deps via setup.py arguments. 2009-11-30 10:29:51 +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 78c3475e96 Prepare release 0.9.2. 2009-11-25 12:03:21 +01:00
lericson 7112d17399 Add notes about 0.9.3 fixes. 2009-11-25 12:02:20 +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 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. 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. 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. 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