Nicholas Charriere
a0f9030733
Merge pull request #158 from pinterest/revert
...
Reverse backwards compatible change
2017-06-02 12:09:54 -07:00
Nicholas Charriere
367640d22e
Reverse backwards compatible change
2017-06-02 11:56:43 -07:00
Nicholas Charriere
78afc60e16
Merge pull request #156 from akatrevorjay/pr/pickleableness
...
Use only the highest, premium quality pickler available at runtime.
2017-06-02 11:38:55 -07:00
Joe Gordon
2fa8395d76
Merge pull request #157 from morrme/issue-152
...
add apidoc to .gitignore and remove from repo
2017-06-02 09:59:47 -07:00
morrme
f21d548bd0
removed apidoc directory from repo
2017-06-02 00:15:21 -05:00
Trevor Joynson (trevorj)
6818eb6c8f
Use only the highest, premium quality picklers available at runtime.
...
Also include a forewarning note on Python "pickleableness".
2017-05-31 19:17:16 -07:00
morrme
0cf5b77a1a
add apidoc to .gitignore
2017-05-31 05:35:58 -05:00
Nicholas Charriere
4e4cc98433
Merge pull request #155 from jparise/flake8
...
Exclude well-known non-code paths from flake8
2017-05-05 12:15:57 -07:00
Nicholas Charriere
61d002f2c6
Merge pull request #154 from jparise/test-client-hash
...
Introduce some missing .set() assertions
2017-05-05 12:15:11 -07:00
Jon Parise
98426e831a
Exclude well-known non-code paths from flake8
...
Also fix a minor flake8 issue in setup.py.
2017-05-05 09:36:22 -07:00
Jon Parise
0417870325
Introduce some missing .set() assertions
...
Also wrap a line that exceeds 80 characters.
2017-05-05 09:35:25 -07:00
Jon Parise
e396725a90
Merge pull request #153 from jparise/connection-best-practices
...
Mention the `no_delay` connection flag
2017-05-05 09:24:59 -07:00
Jon Parise
9c59975e31
Mention the `no_delay` connection flag
...
Also, improve reST formatting a bit and remove a stray .DS_Store file.
2017-05-05 09:10:56 -07:00
Nicholas Charriere
80ca8d7620
Merge pull request #151 from pinterest/simple-documentation
...
Simplify README for running tests. Only tox
2017-04-23 19:38:41 -07:00
Nicholas Charriere
d98e4f3708
Simplify README for running tests. Only tox
2017-04-23 19:01:05 -07:00
Nicholas Charriere
a2c36f53b0
Merge pull request #150 from pinterest/fix-tox-docs
...
Remove docs from being run when you're running tests
2017-04-23 18:29:35 -07:00
Nicholas Charriere
cb85a59a66
Remove docs from being run when you're running tests
2017-04-23 10:29:35 -07:00
Nicholas Charriere
4efcfcd699
Merge pull request #148 from pinterest/release-143
...
Release 143
2017-04-04 13:30:28 -07:00
Nicholas Charriere
9022f6fdde
Bump version to 1.4.3
2017-04-04 13:09:03 -07:00
Nicholas Charriere
8154675806
Changelog changes for 1.4.3
2017-04-04 13:08:29 -07:00
Joe Gordon
cd3cdfdf2d
Merge pull request #147 from gabelev/pooled_client_typo
...
Fixed a small typo in the doc string of the pooled client
2017-04-04 13:03:33 -07:00
Gabe Levine
cd28339732
Fixed a small typo in the doc string of the pooled client
2017-04-04 15:43:53 -04:00
Joe Gordon
7bf9df8b78
Merge pull request #146 from jogo/cachedump
...
Add support for stats cachedump
2017-03-29 11:57:11 -07:00
Joe Gordon
7351bdb331
Add support for stats cachedump
...
Stats cachedump has a different input and output format compared to
most stats commands. Previously this would fail with a cryptic error.
Fixes issue #103
2017-03-29 11:04:31 -07:00
Nicholas Charriere
082f074542
Merge pull request #145 from renstrom/return-default-value-instead-of-false-when-only-failed-clients
...
Return default value instead of False when all clients are down
2017-03-16 12:54:44 -07:00
Peter Renström
4782f033ba
Return default value instead of False when all clients are down
...
The documentation for `ignore_exc` says it will treat memcache/network
errors as cache misses (i.e. `None` for reads and `False` for writes).
However the short-circuit path for when no client can be used (because
they're all marked as down/bad) always returns `False`. This change
change the behaviour to return each command's default value instead.
I actually stumbled upon this because I wanted to inspect some behaviour
in a system without cache so I stopped all memcached nodes. Our code
looked something like this:
data = memcached_client.get(key)
if data is None:
return fetch_from_database(key)
else:
return json.loads(data)
What happened was that every once in a while I would see a stacktrace
because the `json.loads(data)` call would fail with a `TypeError`
because it tries to deserialize a bool (`False`).
2017-03-14 14:40:31 +01:00
Nicholas Charriere
9b92bb726a
Merge pull request #143 from pinterest/release-142
...
Release 142
2017-02-23 09:59:44 -08:00
Nicholas Charriere
6b728cd731
Bump version to 1.4.2
2017-02-23 09:52:27 -08:00
Nicholas Charriere
231e0e2e5b
Changelog for 1.4.2
2017-02-23 09:51:49 -08:00
Nicholas Charriere
1db2d1e4fd
Merge pull request #142 from pinterest/kill-26
...
Kill python 2.6
2017-02-22 16:15:46 -08:00
Nicholas Charriere
e7edf8cbc0
Kill python 2.6
2017-02-22 15:24:55 -08:00
Nicholas Charriere
f8137fc4b0
Merge pull request #141 from pinterest/prelease-141
...
Release 1.4.1
2017-02-18 11:04:52 -08:00
Nicholas Charriere
19a728f0af
Bump version to 1.4.1
2017-02-18 10:56:13 -08:00
Nicholas Charriere
e9c38176d4
Add changelog for 1.4.1
2017-02-18 10:55:52 -08:00
Nicholas Charriere
dcdea28290
Merge pull request #138 from bwalks/master
...
Raising MemcacheIllegalInputError when key contains null byte, newline, or carriage return
2017-02-18 10:48:33 -08:00
Brendan Walker
71de18c79d
Merge pull request #1 from pinterest/master
...
Merging latest commits
2017-02-17 18:36:39 -05:00
Nicholas Charriere
ad5c251221
Merge pull request #137 from njason/master
...
Add gets_many to HashClient.
2017-02-17 12:52:14 -08:00
Jason Biegel
0b2ffffbd3
Add gets_many to HashClient.
2017-02-17 15:30:58 -05:00
Nicholas Charriere
0b3295798f
Merge pull request #140 from pinterest/fix-gevent
...
Fix an issue in Travis where the build breaks because of a gevent bump
2017-02-17 10:40:40 -08:00
Nicholas Charriere
5d9a6a6a41
Fix an issue in Travis where the build breaks because of a gevent bump
2017-02-17 09:56:01 -08:00
Brendan Walker
6ef4948e53
Using bytearray
2017-02-15 11:05:11 -05:00
Brendan Walker
8d37d612f3
Comparing ord(character) so its compatible with python 2 and 3
2017-02-14 22:59:06 -05:00
Brendan Walker
993420ab24
Adding test case for null character
2017-02-14 18:54:56 -05:00
Brendan Walker
0af52f46ea
Renaming byte to character
2017-02-14 18:52:53 -05:00
Brendan Walker
76b13ad4a9
Merging commits
2017-02-14 18:51:50 -05:00
Brendan Walker
eae693f317
Iterating over characters in key once
2017-02-14 18:47:09 -05:00
Brendan Walker
cbb32cecbb
Updating exception message
...
Changing byte -> character
2017-02-14 12:28:44 -05:00
Brendan Walker
a91f0b1087
Moving test cases
2017-02-13 16:01:47 -05:00
Brendan Walker
31be6ae6be
Raising MemcacheIllegalInputError when a key contains null byte, new line, or carriage return
2017-02-13 14:53:40 -05:00
Nicholas Charriere
14d7a0c0a0
Merge pull request #135 from viraptor/gets_docstring
...
DocString: `gets` returns values, not keys
2016-12-11 15:57:04 -08:00