summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove docs from being run when you're running testsfix-tox-docsNicholas Charriere2017-04-231-1/+1
|
* Merge pull request #148 from pinterest/release-143Nicholas Charriere2017-04-043-4/+8
|\ | | | | Release 143
| * Bump version to 1.4.3release-143Nicholas Charriere2017-04-042-4/+2
| |
| * Changelog changes for 1.4.3v1.4.3Nicholas Charriere2017-04-041-0/+6
|/
* Merge pull request #147 from gabelev/pooled_client_typoJoe Gordon2017-04-041-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 clientGabe Levine2017-04-041-1/+1
|/
* Merge pull request #146 from jogo/cachedumpJoe Gordon2017-03-292-2/+20
|\ | | | | Add support for stats cachedump
| * Add support for stats cachedumpJoe Gordon2017-03-292-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 Charriere2017-03-162-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 downPeter Renström2017-03-142-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-142Nicholas Charriere2017-02-233-2/+6
|\ | | | | Release 142
| * Bump version to 1.4.2Nicholas Charriere2017-02-232-2/+2
| |
| * Changelog for 1.4.2v1.4.2Nicholas Charriere2017-02-231-0/+4
| |
* | Merge pull request #142 from pinterest/kill-26Nicholas Charriere2017-02-222-2/+1
|\ \ | |/ | | Kill python 2.6
| * Kill python 2.6kill-26Nicholas Charriere2017-02-222-2/+1
|/
* Merge pull request #141 from pinterest/prelease-141Nicholas Charriere2017-02-183-2/+10
|\ | | | | Release 1.4.1
| * Bump version to 1.4.1prelease-141Nicholas Charriere2017-02-182-2/+2
| |
| * Add changelog for 1.4.1v1.4.1Nicholas Charriere2017-02-181-0/+8
|/
* Merge pull request #138 from bwalks/masterNicholas Charriere2017-02-182-5/+56
|\ | | | | Raising MemcacheIllegalInputError when key contains null byte, newline, or carriage return
| * Merge pull request #1 from pinterest/masterBrendan Walker2017-02-173-3/+33
| |\ | |/ |/| Merging latest commits
* | Merge pull request #137 from njason/masterNicholas Charriere2017-02-172-2/+32
|\ \ | | | | | | Add gets_many to HashClient.
| * | Add gets_many to HashClient.Jason Biegel2017-02-172-2/+32
|/ /
* | Merge pull request #140 from pinterest/fix-geventNicholas Charriere2017-02-171-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-geventNicholas Charriere2017-02-171-1/+1
|/ /
| * Using bytearrayBrendan Walker2017-02-151-3/+1
| |
| * Comparing ord(character) so its compatible with python 2 and 3Brendan Walker2017-02-141-4/+6
| |
| * Adding test case for null characterBrendan Walker2017-02-141-0/+9
| |
| * Renaming byte to characterBrendan Walker2017-02-141-2/+2
| |
| * Merging commitsBrendan Walker2017-02-141-1/+1
| |\
| | * Updating exception messageBrendan Walker2017-02-141-1/+1
| | | | | | | | | Changing byte -> character
| * | Iterating over characters in key onceBrendan Walker2017-02-142-13/+20
| |/
| * Moving test casesBrendan Walker2017-02-131-27/+27
| |
| * Raising MemcacheIllegalInputError when a key contains null byte, new line, ↵Brendan Walker2017-02-132-1/+36
|/ | | | or carriage return
* Merge pull request #135 from viraptor/gets_docstringNicholas Charriere2016-12-111-1/+1
|\ | | | | DocString: `gets` returns values, not keys
| * DocString: `gets` returns values, not keysStanisław Pitucha2016-12-111-1/+1
|/
* Merge pull request #134 from ewdurbin/incompatNicholas Charriere2016-12-081-5/+0
|\ | | | | remove suggestion to use python-clandestined
| * remove suggestion to use python-clandestinedErnest W. Durbin III2016-12-081-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-serializationNicholas Charriere2016-12-053-14/+103
|\ | | | | Python 3 serialization fixes, serialization improvements
| * Ensure serde integration tests return the same typeAlex Tomkins2016-12-041-0/+1
| |
| * Add FLAG_BYTESAlex Tomkins2016-12-042-5/+6
| | | | | | | | Unused in serde itself (it's a default), but used for testing comparisons
| * Add more serde unit tests for bytes/unicodeAlex Tomkins2016-12-041-0/+3
| | | | | | | | Use some common characters
| * Add a few more serde integration testsAlex Tomkins2016-12-041-0/+8
| | | | | | | | | | | | | | - A string (will vary on Python version) - Another unicode string - A list (pickled) - A defaultdict (pickled)
| * Switch to is bytes for bytes comparisionAlex Tomkins2016-12-041-1/+1
| | | | | | | | Works across all versions of Python, no need to use six for it
| * Use is type for type comparisonsAlex Tomkins2016-12-041-4/+4
| | | | | | | | More pythonic
| * Add test for subclasses of builtin typesAlex Tomkins2016-12-041-0/+14
| |
| * Test for expected flags with serde testsAlex Tomkins2016-12-041-6/+14
| |
| * Improve serdeAlex Tomkins2016-12-041-7/+26
| | | | | | | | | | - Add text serializer/deserializer - Now more strict with serializing a type
| * Use byte strings after serializing with serdeAlex Tomkins2016-12-041-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 serializationAlex Tomkins2016-12-041-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-supportNicholas Charriere2016-12-022-2/+4
|\ | | | | Drop support for pypy3