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
Johan Bergström
725134931b
Fix off-by-one in key length check
...
Fixes #18
2010-08-30 13:41:34 +02:00
Noah Silas
314562c437
Override clone on Client so that you can call str() on client instances from a ThreadMappedPool
2010-06-22 00:17:18 +08:00
lericson
3cb953aee9
Add changelog for 1.1.1
2010-06-07 16:06:00 +02:00
lericson
d642a792d2
Prepare pylibmc 1.1.1 release
1.1.1
2010-06-07 15:23:41 +02:00
lericson
2bbccb6a36
Add future import so Python 2.5 can handle doctests
2010-06-07 15:23:15 +02:00
lericson
b2cc46a67a
Add --binary argument
2010-06-04 19:03:02 +02:00
lericson
1336dc164d
Improve string representations
2010-06-04 19:02:25 +02:00
lericson
190a548ab3
Prepare release of pylibmc 1.1
1.1
2010-06-03 21:13:46 +02:00
lericson
91c7b3fd56
Fix libmemcached 0.32 support
2010-06-03 21:13:45 +02:00
lericson
25396a64bd
Use proper indent level for lists in README
2010-06-03 16:42:59 +02:00
lericson
f357c00f2b
Remove deprecated space-based behavior names
2010-06-03 16:36:21 +02:00
lericson
74d5f9ac0b
Properly manage GIL in RunSetCommand
2010-05-27 21:54:51 +02:00
lericson
86f6256d3a
Fix backward compatibility for set_multi timeout.
...
Fixes #13 HOH
2010-05-27 21:54:24 +02:00
lericson
02c7681ff2
Handle NUL-byte keys in get_multi
...
Thanks to Ormod for finding, reporting and drilling down the bug.
2010-05-27 14:26:24 +02:00
lericson
212a69e09f
Fix valgrind warnings
2010-05-12 01:20:20 +02:00
lericson
21b49defee
Sometime in the future, maybe...
2010-05-12 01:20:05 +02:00
lericson
374ceed11f
Simplify get_multi control flow and syntax nits
2010-05-12 01:19:55 +02:00
lericson
66f4bcfc41
Second pass of syntax nitpicks
2010-05-12 01:18:29 +02:00
lericson
2e83a68ed9
Test 127.0.0.1 rather than localhost (IPv6)
2010-05-12 01:15:12 +02:00
lericson
b4a1e6ab6b
Support new-style stats & server iteration
2010-05-11 12:32:07 +02:00
lericson
53879eb8a9
First pass of syntax & indent nitpick
2010-05-11 11:47:14 +02:00
lericson
e8593ba7c7
Always terminate Py_*_ALLOW_THREADS with semicolon
2010-05-10 13:52:51 +02:00
lericson
2f09c230a3
Fix what appears to be an obvious test failure
2010-05-10 13:24:39 +02:00
lericson
76d422cc0f
Fix what seems to be merge-related issues
2010-05-10 13:24:07 +02:00
lericson
2ff9e471c2
Zero out mset memory in one fell swoop
2010-05-10 13:23:20 +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
6687cc0464
Add some function names to arg parsing lines
2010-05-10 12:44:15 +02:00
lericson
f88c8c3afe
Stop accepting time argument for delete. Fixes #1
2010-05-10 12:42:46 +02:00
lericson
5c059a0ccd
Use snprintf to avoid nonsensical Clang warnings
2010-05-10 12:20:14 +02:00
lericson
2b39ddf9ec
Add a more useful command-line interface
2010-04-22 00:08:03 +02:00
lericson
fcfe08f3c3
Merge remote branch 'ketralnis/master'
2010-03-27 20:07:55 +01:00
ketralnis
84875a0c6a
First pass at freeing the GIL during blocking calls
2010-03-22 21:15:38 -07:00
lericson
0987c37160
Prepare 1.0 release
1.0
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.
1.0-beta
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