summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Version changes for release.1.58Sean Reifschneider2016-05-272-2/+1
|
* Adding changelog entries.Sean Reifschneider2016-05-271-0/+19
|
* Merge branch 'oremj-fix_delete_defaults'Sean Reifschneider2016-05-272-3/+7
|\
| * Readme changes for delete() time=None changeSean Reifschneider2016-05-272-3/+7
|/
* Merge pull request #81 from ↵Sean Reifschneider2016-05-271-1/+1
|\ | | | | | | | | pipermerriam/piper/pin-six-at-version-with-PY2-property Pin six at version with PY2 property
| * Pin six at version with PY2 propertyPiper Merriam2015-09-151-1/+1
| |
* | Merge pull request #82 from dieselmachine/72-version-discrepanciesSean Reifschneider2016-05-272-2/+3
|\ \ | | | | | | (#72) setup.py will now pull the version number directly from memcach…
| * | (#72) setup.py will now pull the version number directly from memcache.py ↵JT2015-10-012-2/+3
| |/ | | | | | | (using setuptools.depends.get_module_constant) in order to prevent discrepancies
* | Merge pull request #91 from bartTC/masterSean Reifschneider2016-05-271-2/+2
|\ \ | | | | | | Python3: `get_stats` function fails due to Bytestring encoding errors
| * | Fixed Python3 Bytestring decoding error in get_stats.Martin Mahner2016-03-191-2/+2
| |/
* | Merge pull request #93 from grg350/masterSean Reifschneider2016-05-271-0/+31
|\ \ | | | | | | Adding support for "stats slabs" statistics
| * | fixing indentation 2grg3502016-05-091-1/+1
| | |
| * | fixing indentationgrg3502016-05-091-1/+1
| | |
| * | Adding support for "stats slabs" statisticsraj.gurung2016-05-091-0/+31
| |/
* | Merge pull request #86 from edmorley/python2-pickle-perfSean Reifschneider2016-05-261-1/+6
|\ \ | |/ |/| Use cPickle with Python 2 again, to fix v1.54 performance regression
| * Use cPickle with Python 2 again, to fix v1.54 performance regressionEd Morley2016-01-071-1/+6
|/ | | | | | | | | | | | | | | Some Python 3 compatibility changes made python-memcached import pickle rather than cPickle, since the latter isn't available on Python 3: https://github.com/linsomniac/python-memcached/commit/45403325e0249ff0f61d6ae449a7daeeb7e852e5 This is fine on Python 3, since importing pickle will automatically use the faster C implementation if available, however with Python 2 this caused a 400% slowdown in memcache gets between python-memcached v1.53 and v1.54, when dealing with objects other than bytes. This mostly fixes #71, though there is still a 10-20% performance drop using current master plus this change compared to v1.53 (using Python 2.7.10).
* Changing assertIs from last patch to assertTrue.Sean Reifschneider2015-08-021-1/+1
|
* Fixing tests for PEP8.Sean Reifschneider2015-08-021-2/+0
|
* Adding unittest backport to 2.6.Sean Reifschneider2015-08-021-1/+1
|
* Merge branch 'haypo-py3'Sean Reifschneider2015-08-024-326/+96
|\
| * Merge branch 'py3' of ssh://github.com/haypo/python-memcached into haypo-py3Sean Reifschneider2015-08-024-326/+96
| |\ |/ / | | | | | | Conflicts: tests/test_memcache.py
| * More Python 3 fixesVictor Stinner2015-07-274-324/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | * Port set_multi() to Python 3 * Port delete_multi() to Python 3 * Fix _get_server() on Python 3 when the connection to the first server fails: encode to ASCII before calling serverHashFunction. * Fix expect(): don't decode line on Python 3, return the raw line * Add more unit tests * tox now also runs unit tests * Explicit the encoding when calling str.encode(): use 'utf-8' * test_memcache: close sockets in tearDown() * test_get_unknown_value(): delete the key to ensure that it doesn't exist
* | Merge pull request #78 from nicholasserra/nicholasserra-boolean-testSean Reifschneider2015-07-311-0/+3
|\ \ | | | | | | Test for set/get boolean values.
| * | Test for set/get boolean values.Nicholas Serra2015-07-311-0/+3
| | |
* | | Release automation.Sean Reifschneider2015-07-313-14/+35
|/ /
* | Fix for value being boolean in set().release-1.57Sean Reifschneider2015-07-312-2/+9
|/
* For 1.56 release.release-1.56Sean Reifschneider2015-07-261-1/+1
|
* Updating version in memcache.pySean Reifschneider2015-07-261-1/+1
|
* Updating changelog.release-1.55Sean Reifschneider2015-07-261-0/+6
|
* Merge pull request #67 from haypo/py3Sean Reifschneider2015-07-265-101/+158
|\ | | | | Port memcache to Python 3
| * Port memcache to Python 3Victor Stinner2015-04-235-101/+158
|/ | | | | | | | | | | | | | | | | | * travis: make python 3 tests voting (cannot fail anymore) * setup.py: add Python 3 classifiers * Encode unicode key to UTF-8: add _encode_key() method * Add _encode_cmd() helper method to format a memcache command as a byte string (bytes%args will only be supported in Python 3.5) * Rewrite _map_and_prefix_keys() code converting keys * _val_to_store_info() now accepts Unicode: Unicode is encoded to UTF-8 * _set('cas') doesn't call _val_to_store_info() anymore when it's not needed: begin by checking if the key is in the cas_ids dictionary * Process server reply as bytes * _recv_value() now clears the _FLAG_COMPRESSED flag after decompressing to simplify the code * On Python 3, _recv_value() now decodes byte strings from UTF-8 * Simplify check_key(), _encode_key() now encodes Unicode to UTF-8 * Replace u'...' with six.u('...') in tests for Python 3.2
* Adding Changelog entry.Sean Reifschneider2015-03-191-0/+3
|
* Merge pull request #60 from jerith/split-out-testsSean Reifschneider2015-03-192-1/+203
|\ | | | | Better test structure
| * Allow 3.x builds to fail for now.Jeremy Thurgood2014-10-141-1/+5
| |
| * Add memcached to Travis builds.Jeremy Thurgood2014-10-141-0/+2
| |
| * Copy memcache.py tests into a proper test case.Jeremy Thurgood2014-10-141-0/+196
| |
* | Merge pull request #59 from tylerdave/masterSean Reifschneider2015-03-181-3/+4
|\ \ | |/ |/| Updating comment to account for -I option
| * updating comment to account for -I optionDave Forgac2014-10-111-3/+4
|/
* Adding changelog entry for pluggable compressors.Sean Reifschneider2014-09-271-0/+2
|
* Merge pull request #50 from cactus/support-alternate-compressionSean Reifschneider2014-09-271-20/+10
|\ | | | | add support for pluggable compressor/decompressor
| * add support for pluggable compressor/decompressorelij2014-08-241-20/+10
| | | | | | | | | | | | | | | | Add support for pluggable compressors. zlib is a fine choice for a default compressor, but in some environments alternatives (lz4/lzf/snappy) that offer differet tradeoffs for size/time, may be preferred.
* | Adding changelog entry.Sean Reifschneider2014-09-271-0/+2
| |
* | Merge pull request #49 from cactus/noreplySean Reifschneider2014-09-271-43/+110
|\ \ | | | | | | add support for noreply
| * | CAS supports noreply tooelij2014-08-251-2/+2
| | |
| * | add support for noreplyelij2014-08-241-41/+108
| |/ | | | | | | | | | | the memcache protocol defines a 'noreply' optional parameter, which instructs the server to not send a reply. In heavy usage environments this can lead to significant performance improvements.
* | Fixes for empty/None keys.Sean Reifschneider2014-09-242-1/+14
| | | | | | | | | | Empty keys with a prefix are ok (for _multi() mostly). _multi() was silently converting None key to a string.
* | Ready for release.release-1.54Sean Reifschneider2014-09-212-4/+12
| |
* | MemcachedKeyCharacterError better describes errorSean Reifschneider2014-09-212-1/+4
|/
* Merge pull request #47 from msabramo/pep8Sean Reifschneider2014-06-093-52/+62
|\ | | | | pep8 cleanup
| * pep8: H201 no 'except:' at least use 'except Exception:'Marc Abramowitz2014-06-091-1/+1
| |