Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove docs from being run when you're running testsfix-tox-docs | Nicholas Charriere | 2017-04-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #148 from pinterest/release-143 | Nicholas Charriere | 2017-04-04 | 3 | -4/+8 |
|\ | | | | | Release 143 | ||||
| * | Bump version to 1.4.3release-143 | Nicholas Charriere | 2017-04-04 | 2 | -4/+2 |
| | | |||||
| * | Changelog changes for 1.4.3v1.4.3 | Nicholas Charriere | 2017-04-04 | 1 | -0/+6 |
|/ | |||||
* | Merge pull request #147 from gabelev/pooled_client_typo | Joe Gordon | 2017-04-04 | 1 | -1/+1 |
|\ | | | | | Fixed a small typo in the doc string of the pooled client | ||||
| * | Fixed a small typo in the doc string of the pooled client | Gabe Levine | 2017-04-04 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #146 from jogo/cachedump | Joe Gordon | 2017-03-29 | 2 | -2/+20 |
|\ | | | | | Add support for stats cachedump | ||||
| * | Add support for stats cachedump | Joe Gordon | 2017-03-29 | 2 | -2/+20 |
|/ | | | | | | | 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 | ||||
* | Merge pull request #145 from ↵ | Nicholas Charriere | 2017-03-16 | 2 | -2/+4 |
|\ | | | | | | | | | renstrom/return-default-value-instead-of-false-when-only-failed-clients Return default value instead of False when all clients are down | ||||
| * | Return default value instead of False when all clients are down | Peter Renström | 2017-03-14 | 2 | -2/+4 |
|/ | | | | | | | | | | | | | | | | | | | | | | | 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`). | ||||
* | Merge pull request #143 from pinterest/release-142 | Nicholas Charriere | 2017-02-23 | 3 | -2/+6 |
|\ | | | | | Release 142 | ||||
| * | Bump version to 1.4.2 | Nicholas Charriere | 2017-02-23 | 2 | -2/+2 |
| | | |||||
| * | Changelog for 1.4.2v1.4.2 | Nicholas Charriere | 2017-02-23 | 1 | -0/+4 |
| | | |||||
* | | Merge pull request #142 from pinterest/kill-26 | Nicholas Charriere | 2017-02-22 | 2 | -2/+1 |
|\ \ | |/ | | | Kill python 2.6 | ||||
| * | Kill python 2.6kill-26 | Nicholas Charriere | 2017-02-22 | 2 | -2/+1 |
|/ | |||||
* | Merge pull request #141 from pinterest/prelease-141 | Nicholas Charriere | 2017-02-18 | 3 | -2/+10 |
|\ | | | | | Release 1.4.1 | ||||
| * | Bump version to 1.4.1prelease-141 | Nicholas Charriere | 2017-02-18 | 2 | -2/+2 |
| | | |||||
| * | Add changelog for 1.4.1v1.4.1 | Nicholas Charriere | 2017-02-18 | 1 | -0/+8 |
|/ | |||||
* | Merge pull request #138 from bwalks/master | Nicholas Charriere | 2017-02-18 | 2 | -5/+56 |
|\ | | | | | Raising MemcacheIllegalInputError when key contains null byte, newline, or carriage return | ||||
| * | Merge pull request #1 from pinterest/master | Brendan Walker | 2017-02-17 | 3 | -3/+33 |
| |\ | |/ |/| | Merging latest commits | ||||
* | | Merge pull request #137 from njason/master | Nicholas Charriere | 2017-02-17 | 2 | -2/+32 |
|\ \ | | | | | | | Add gets_many to HashClient. | ||||
| * | | Add gets_many to HashClient. | Jason Biegel | 2017-02-17 | 2 | -2/+32 |
|/ / | |||||
* | | Merge pull request #140 from pinterest/fix-gevent | Nicholas Charriere | 2017-02-17 | 1 | -1/+1 |
|\ \ | | | | | | | Fix an issue in Travis where the build breaks because of a gevent bump | ||||
| * | | Fix an issue in Travis where the build breaks because of a gevent bumpfix-gevent | Nicholas Charriere | 2017-02-17 | 1 | -1/+1 |
|/ / | |||||
| * | Using bytearray | Brendan Walker | 2017-02-15 | 1 | -3/+1 |
| | | |||||
| * | Comparing ord(character) so its compatible with python 2 and 3 | Brendan Walker | 2017-02-14 | 1 | -4/+6 |
| | | |||||
| * | Adding test case for null character | Brendan Walker | 2017-02-14 | 1 | -0/+9 |
| | | |||||
| * | Renaming byte to character | Brendan Walker | 2017-02-14 | 1 | -2/+2 |
| | | |||||
| * | Merging commits | Brendan Walker | 2017-02-14 | 1 | -1/+1 |
| |\ | |||||
| | * | Updating exception message | Brendan Walker | 2017-02-14 | 1 | -1/+1 |
| | | | | | | | | | Changing byte -> character | ||||
| * | | Iterating over characters in key once | Brendan Walker | 2017-02-14 | 2 | -13/+20 |
| |/ | |||||
| * | Moving test cases | Brendan Walker | 2017-02-13 | 1 | -27/+27 |
| | | |||||
| * | Raising MemcacheIllegalInputError when a key contains null byte, new line, ↵ | Brendan Walker | 2017-02-13 | 2 | -1/+36 |
|/ | | | | or carriage return | ||||
* | Merge pull request #135 from viraptor/gets_docstring | Nicholas Charriere | 2016-12-11 | 1 | -1/+1 |
|\ | | | | | DocString: `gets` returns values, not keys | ||||
| * | DocString: `gets` returns values, not keys | Stanisław Pitucha | 2016-12-11 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #134 from ewdurbin/incompat | Nicholas Charriere | 2016-12-08 | 1 | -5/+0 |
|\ | | | | | remove suggestion to use python-clandestined | ||||
| * | remove suggestion to use python-clandestined | Ernest W. Durbin III | 2016-12-08 | 1 | -5/+0 |
|/ | | | | | | | | | this note is misleading, as the hasher is expected to expose a get_node method. clandestined's RendezvousHash does not implement this method. when clandestined's implementation was copied into pymemcached in commit cff5abfad59baa593996fe7e240fd3944e2c4af2, the method was renamed from find_node, breaking compatibility. | ||||
* | Merge pull request #131 from tomkins/serde-serialization | Nicholas Charriere | 2016-12-05 | 3 | -14/+103 |
|\ | | | | | Python 3 serialization fixes, serialization improvements | ||||
| * | Ensure serde integration tests return the same type | Alex Tomkins | 2016-12-04 | 1 | -0/+1 |
| | | |||||
| * | Add FLAG_BYTES | Alex Tomkins | 2016-12-04 | 2 | -5/+6 |
| | | | | | | | | Unused in serde itself (it's a default), but used for testing comparisons | ||||
| * | Add more serde unit tests for bytes/unicode | Alex Tomkins | 2016-12-04 | 1 | -0/+3 |
| | | | | | | | | Use some common characters | ||||
| * | Add a few more serde integration tests | Alex Tomkins | 2016-12-04 | 1 | -0/+8 |
| | | | | | | | | | | | | | | - A string (will vary on Python version) - Another unicode string - A list (pickled) - A defaultdict (pickled) | ||||
| * | Switch to is bytes for bytes comparision | Alex Tomkins | 2016-12-04 | 1 | -1/+1 |
| | | | | | | | | Works across all versions of Python, no need to use six for it | ||||
| * | Use is type for type comparisons | Alex Tomkins | 2016-12-04 | 1 | -4/+4 |
| | | | | | | | | More pythonic | ||||
| * | Add test for subclasses of builtin types | Alex Tomkins | 2016-12-04 | 1 | -0/+14 |
| | | |||||
| * | Test for expected flags with serde tests | Alex Tomkins | 2016-12-04 | 1 | -6/+14 |
| | | |||||
| * | Improve serde | Alex Tomkins | 2016-12-04 | 1 | -7/+26 |
| | | | | | | | | | | - Add text serializer/deserializer - Now more strict with serializing a type | ||||
| * | Use byte strings after serializing with serde | Alex Tomkins | 2016-12-04 | 1 | -2/+14 |
| | | | | | | | | | | | | The pymemcache client will return a byte string, so we'll do the same to test that the deserializer works as expected. This currently fails with Python 3. | ||||
| * | Add integration test for serde serialization | Alex Tomkins | 2016-12-04 | 1 | -0/+23 |
|/ | | | | Currently this will fail with unicode strings on Python 3, as the pymemcache client will return a byte string - but the deserializer doesn't change it back to a unicode string. | ||||
* | Merge pull request #133 from pinterest/drop-pypy3-travis-ci-support | Nicholas Charriere | 2016-12-02 | 2 | -2/+4 |
|\ | | | | | Drop support for pypy3 |