summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * pep8: E227 missing whitespace around bitwise or shift operatorMarc Abramowitz2014-06-091-1/+1
| |
| * pep8: F402 import 'pickle' from line 52 shadowed by loop variableMarc Abramowitz2014-06-091-1/+0
| |
| * pep8: H405 multi line docstring summary not separated with an empty lineMarc Abramowitz2014-06-091-4/+13
| |
| * pep8: E711 comparison to None should be 'if cond is None:'Marc Abramowitz2014-06-091-4/+4
| |
| * pep8: E265 block comment should start with '# 'Marc Abramowitz2014-06-092-14/+14
| |
| * Clean up long lines for pep8Marc Abramowitz2014-06-092-23/+24
| |
| * Sort imports for pep8Marc Abramowitz2014-06-092-5/+6
|/
* Merge branch 'cabrera-py33_fixes'Sean Reifschneider2014-06-077-324/+425
|\
| * Resolving conflicts from cabrera-py33_fixes.Sean Reifschneider2014-06-077-324/+425
|/
* Merge pull request #43 from alex/finish-py3kSean Reifschneider2014-05-116-3/+17
|\ | | | | Complete the Python3 work!
| * Build wheels as wellAlex Gaynor2014-05-101-1/+1
| |
| * Complete the Python3 work!Alex Gaynor2014-05-105-2/+16
|/
* Merge pull request #42 from alex/iterkeysSean Reifschneider2014-05-101-5/+5
|\ | | | | Removed usage of iterkeys for python3
| * Removed usage of iterkeys for python3Alex Gaynor2014-05-101-5/+5
| |
* | Included Python3 changes from Dustin OpreaSean Reifschneider2014-05-101-5/+19
|/ | | | From #38.
* Merge pull request #41 from alex/stringio-py3kSean Reifschneider2014-05-101-7/+4
|\ | | | | Use io.BytesIO() in favor of StringIO to be python3 friendly
| * Use io.BytesIO() in favor of StringIO to be python3 friendlyAlex Gaynor2014-05-101-7/+4
| |
* | Fixing connection-dead subscript issue.Sean Reifschneider2014-05-101-1/+1
| | | | | | | | From Dustin Oprea, part of #38.
* | Doc fix from Dustin Oprea (part of #38).Sean Reifschneider2014-05-101-1/+1
|/
* Merge pull request #40 from alex/print-stmt-py3kSean Reifschneider2014-05-102-63/+85
|\ | | | | Converted print statements to use the Python3 compatible form
| * Merge branch 'master' into print-stmt-py3kAlex Gaynor2014-05-104-7/+40
| |\ | |/ |/|
* | Merge branch 'cabrera-tox_support'Sean Reifschneider2014-05-104-7/+40
|\ \
| * \ Merge branch 'tox_support' of https://github.com/cabrera/python-memcached ↵Sean Reifschneider2014-05-104-7/+40
| |\ \ |/ / / | | | | | | | | | | | | | | | | | | into cabrera-tox_support Conflicts: README.md tests/test_setmulti.py
| * | feat(tox): add support for testing with toxAlejandro Cabrera2014-01-155-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | This adds notes in the README and a tox.ini file for use with the tox test manager. This helps greatly towards migrating python-memcached towards python 3.3+ compatibility.
| | * Converted print statements to use the Python3 compatible formAlex Gaynor2014-05-102-63/+85
| |/ |/|
* | Merge pull request #39 from alex/patch-1Sean Reifschneider2014-05-101-20/+20
|\ \ | | | | | | Made the "except" syntax py3 friendly.