summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removing debug print that slipped in.cabrera-py33_fixesSean Reifschneider2014-03-251-1/+0
|
* Merge branch 'py33_fixes' of https://github.com/cabrera/python-memcached ↵Sean Reifschneider2014-03-259-458/+578
|\ | | | | | | | | | | | | | | | | into cabrera-py33_fixes Conflicts: README.md memcache.py tests/test_setmulti.py
| * Merge pull request #1 from msabramo/py33_fixesAlejandro Cabrera2014-03-252-11/+7
| |\ | | | | | | Py33 fixes
| | * setup.py: Duplicate version so we don't have to import memcacheMarc Abramowitz2014-03-241-3/+1
| | | | | | | | | | | | | | | This will fail if memcache imports dependencies that are not installed yet, like `six`.
| | * check_key: Auto-convert unicode keys to bytes for better Python 3Marc Abramowitz2014-03-241-6/+4
| | | | | | | | | | | | | | | | | | | | | compat It would be a bit of a pain (and ugly) in Python 3 to have to prefix all literal keys with the "b" literal notation for bytes.
| | * Use six.iteritemsMarc Abramowitz2014-03-241-1/+1
| | |
| | * cmemcache_hash: Encode key to bytesMarc Abramowitz2014-03-241-1/+1
| |/
| * fix(ignores): .coverageAlejandro Cabrera2014-01-151-0/+1
| |
| * fix(memcache): import print functionAlejandro Cabrera2014-01-151-0/+1
| |
| * memcache: get closer to py33 compat, style fixesAlejandro Cabrera2014-01-151-430/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes were systematically applied throughtout: * print 'thing' -> print('thing') * except Exception, msg -> except Exception as msg: * pep8 fixes: * lines too long (>79 characters) * imports out of order * importing functions from a module: zlib, threading * comparison to None, e.g., x == None vs. x is None * spaces between/after/before operators * dict.iterkeys -> six.iterkeys(dict) The following are BREAKING changes: * zlib is required now * minimum Python version is 2.6 (io module, exception syntax)
| * fix(tests): use print() for py3Alejandro Cabrera2014-01-151-6/+6
| |
| * fix(setup): use new reqs filesAlejandro Cabrera2014-01-151-11/+13
| |
| * refactor(reqs): separate deps in req filesAlejandro Cabrera2014-01-153-4/+6
| | | | | | | | | | | | | | | | | | To facilitate managing dependencies, they are now listed in requirements files. This also simplifies the tox.ini file. A dependency on six was added to aid with porting to python 3.
| * 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.
* | Re-flowing README.Sean Reifschneider2014-03-251-6/+6
| |
* | Wrapping the unit-test main in if __name__.Sean Reifschneider2014-03-251-0/+3
| | | | | | | | a Please enter the commit message for your changes. Lines starting
* | Merge pull request #33 from msabramo/travisSean Reifschneider2014-03-253-2/+11
|\ \ | | | | | | Add support for Travis CI
| * | README.md: Add Travis CI build badgeMarc Abramowitz2014-03-251-0/+3
| | |
| * | Add .travis.yml for Travis CIMarc Abramowitz2014-03-251-0/+8
| | |
| * | tests/test_setmulti.py: Remove `unittest.main()`Marc Abramowitz2014-03-251-2/+0
|/ /
* | Adding Changelog for touch()Sean Reifschneider2014-02-082-1/+3
| |
* | Merge pull request #28 from erankor/masterSean Reifschneider2014-02-081-6/+22
|\ \ | | | | | | add support for touch command
| * | add support for touch commanderan.kornblau2014-01-281-6/+22
| |/
* | Changelog entry for zewt patch.Sean Reifschneider2014-02-081-0/+2
| |
* | Merge pull request #29 from zewt/allow-empty-server-listSean Reifschneider2014-02-081-0/+3
|\ \ | |/ |/| Allow specifying an empty server list.
| * Allow specifying an empty server list.Glenn Maynard2014-02-061-0/+3
|/ | | | | | | | | | | | | | | | | | If the server list is empty, behave the same as if all servers are down. This allows clients to not care whether memcache is actually in use: mc = memcache.Client(get_my_memcache_servers()) mc.get('cache') If you're not using memcache at all, get_my_memcache_servers() just returns [], and the client code doesn't need to know the difference. Previously, it would fail: >>> mc = memcache.Client([]) >>> mc.get('x') File "memcache.py", line 353, in _get_server server = self.buckets[serverhash % len(self.buckets)] ZeroDivisionError: integer division or modulo by zero
* Changing unknown flags on GET to raise ValueError.Sean Reifschneider2013-08-252-0/+4
|
* Adding new .gitignore entries.Sean Reifschneider2013-08-191-0/+2
|
* Reverting an accidental key-space change.Sean Reifschneider2013-08-191-1/+1
|
* Alowing SERVER_MAX* to be set after import.Sean Reifschneider2013-08-122-3/+9
|
* For 1.53 release.release-1.53Sean Reifschneider2013-06-072-1/+5
|
* Marking connection dead in readline().Sean Reifschneider2013-06-032-9/+15
| | | | Also fixing a docstring test.
* Fixing AttributeError raised during set_multi.Sean Reifschneider2013-06-022-5/+11
|
* Fixing readability of set_multi docstrings.Sean Reifschneider2013-06-021-21/+34
|
* Adding call to tests Makefile in main Makefile.Sean Reifschneider2013-06-021-0/+1
|
* Adding a test for set_multi submitted by Ben Hoyt.Sean Reifschneider2013-06-022-0/+74
|
* Updating version number.release-1.52Sean Reifschneider2013-06-021-1/+1
|
* Reverting back to re.match for key checking.Sean Reifschneider2013-06-022-15/+12
|
* If Python <2.6, use regex to test keys.Sean Reifschneider2013-06-021-6/+17
|
* For 1.51 release.release-1.51Sean Reifschneider2013-05-062-1/+7
|
* Merge pull request #7 from saily/masterSean Reifschneider2013-05-061-0/+10
|\ | | | | Add a MANIFEST.in file to include *.rst, *.md and *.txt files into sdist package
| * Add a MANIFEST.in file to include *.rst, *.txt and *.md files into sdist ↵Daniel Widerin2013-05-061-0/+10
|/ | | | packages.
* Making cleanup "rm" do "-rf".Sean Reifschneider2013-05-061-1/+1
|
* Fixing reference to README in setup.pyrelease-1.50Sean Reifschneider2013-05-062-2/+2
|
* Changing check_key to check_keys.release-1.49Sean Reifschneider2013-05-062-4/+8
|
* check_key disabling and performance improvements.Sean Reifschneider2013-05-042-11/+28
| | | | | | | | | | * Client() now takes a "check_key" option, which defaults to True. If False, it disables the checking of keys to ensure they have acceptable size and are composed of non-control characters. Suggested by Ben Hoyt. * Converting control character checking of keys based on performance testing of alternatives by Ben Hoyt.
* Converting unicode test from using u''.Sean Reifschneider2013-04-172-3/+6
|
* Updating ChangingLog.Sean Reifschneider2013-04-162-0/+2
|
* Merge pull request #1 from pombredanne/licenseSean Reifschneider2013-04-161-0/+556
|\ | | | | Adding missing text for PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
| * Adding missing text for PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2pombredanne2013-04-161-0/+556
|/