Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removing debug print that slipped in.cabrera-py33_fixes | Sean Reifschneider | 2014-03-25 | 1 | -1/+0 |
| | |||||
* | Merge branch 'py33_fixes' of https://github.com/cabrera/python-memcached ↵ | Sean Reifschneider | 2014-03-25 | 9 | -458/+578 |
|\ | | | | | | | | | | | | | | | | | into cabrera-py33_fixes Conflicts: README.md memcache.py tests/test_setmulti.py | ||||
| * | Merge pull request #1 from msabramo/py33_fixes | Alejandro Cabrera | 2014-03-25 | 2 | -11/+7 |
| |\ | | | | | | | Py33 fixes | ||||
| | * | setup.py: Duplicate version so we don't have to import memcache | Marc Abramowitz | 2014-03-24 | 1 | -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 3 | Marc Abramowitz | 2014-03-24 | 1 | -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.iteritems | Marc Abramowitz | 2014-03-24 | 1 | -1/+1 |
| | | | |||||
| | * | cmemcache_hash: Encode key to bytes | Marc Abramowitz | 2014-03-24 | 1 | -1/+1 |
| |/ | |||||
| * | fix(ignores): .coverage | Alejandro Cabrera | 2014-01-15 | 1 | -0/+1 |
| | | |||||
| * | fix(memcache): import print function | Alejandro Cabrera | 2014-01-15 | 1 | -0/+1 |
| | | |||||
| * | memcache: get closer to py33 compat, style fixes | Alejandro Cabrera | 2014-01-15 | 1 | -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 py3 | Alejandro Cabrera | 2014-01-15 | 1 | -6/+6 |
| | | |||||
| * | fix(setup): use new reqs files | Alejandro Cabrera | 2014-01-15 | 1 | -11/+13 |
| | | |||||
| * | refactor(reqs): separate deps in req files | Alejandro Cabrera | 2014-01-15 | 3 | -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 tox | Alejandro Cabrera | 2014-01-15 | 5 | -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 Reifschneider | 2014-03-25 | 1 | -6/+6 |
| | | |||||
* | | Wrapping the unit-test main in if __name__. | Sean Reifschneider | 2014-03-25 | 1 | -0/+3 |
| | | | | | | | | a Please enter the commit message for your changes. Lines starting | ||||
* | | Merge pull request #33 from msabramo/travis | Sean Reifschneider | 2014-03-25 | 3 | -2/+11 |
|\ \ | | | | | | | Add support for Travis CI | ||||
| * | | README.md: Add Travis CI build badge | Marc Abramowitz | 2014-03-25 | 1 | -0/+3 |
| | | | |||||
| * | | Add .travis.yml for Travis CI | Marc Abramowitz | 2014-03-25 | 1 | -0/+8 |
| | | | |||||
| * | | tests/test_setmulti.py: Remove `unittest.main()` | Marc Abramowitz | 2014-03-25 | 1 | -2/+0 |
|/ / | |||||
* | | Adding Changelog for touch() | Sean Reifschneider | 2014-02-08 | 2 | -1/+3 |
| | | |||||
* | | Merge pull request #28 from erankor/master | Sean Reifschneider | 2014-02-08 | 1 | -6/+22 |
|\ \ | | | | | | | add support for touch command | ||||
| * | | add support for touch command | eran.kornblau | 2014-01-28 | 1 | -6/+22 |
| |/ | |||||
* | | Changelog entry for zewt patch. | Sean Reifschneider | 2014-02-08 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #29 from zewt/allow-empty-server-list | Sean Reifschneider | 2014-02-08 | 1 | -0/+3 |
|\ \ | |/ |/| | Allow specifying an empty server list. | ||||
| * | Allow specifying an empty server list. | Glenn Maynard | 2014-02-06 | 1 | -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 Reifschneider | 2013-08-25 | 2 | -0/+4 |
| | |||||
* | Adding new .gitignore entries. | Sean Reifschneider | 2013-08-19 | 1 | -0/+2 |
| | |||||
* | Reverting an accidental key-space change. | Sean Reifschneider | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | Alowing SERVER_MAX* to be set after import. | Sean Reifschneider | 2013-08-12 | 2 | -3/+9 |
| | |||||
* | For 1.53 release.release-1.53 | Sean Reifschneider | 2013-06-07 | 2 | -1/+5 |
| | |||||
* | Marking connection dead in readline(). | Sean Reifschneider | 2013-06-03 | 2 | -9/+15 |
| | | | | Also fixing a docstring test. | ||||
* | Fixing AttributeError raised during set_multi. | Sean Reifschneider | 2013-06-02 | 2 | -5/+11 |
| | |||||
* | Fixing readability of set_multi docstrings. | Sean Reifschneider | 2013-06-02 | 1 | -21/+34 |
| | |||||
* | Adding call to tests Makefile in main Makefile. | Sean Reifschneider | 2013-06-02 | 1 | -0/+1 |
| | |||||
* | Adding a test for set_multi submitted by Ben Hoyt. | Sean Reifschneider | 2013-06-02 | 2 | -0/+74 |
| | |||||
* | Updating version number.release-1.52 | Sean Reifschneider | 2013-06-02 | 1 | -1/+1 |
| | |||||
* | Reverting back to re.match for key checking. | Sean Reifschneider | 2013-06-02 | 2 | -15/+12 |
| | |||||
* | If Python <2.6, use regex to test keys. | Sean Reifschneider | 2013-06-02 | 1 | -6/+17 |
| | |||||
* | For 1.51 release.release-1.51 | Sean Reifschneider | 2013-05-06 | 2 | -1/+7 |
| | |||||
* | Merge pull request #7 from saily/master | Sean Reifschneider | 2013-05-06 | 1 | -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 Widerin | 2013-05-06 | 1 | -0/+10 |
|/ | | | | packages. | ||||
* | Making cleanup "rm" do "-rf". | Sean Reifschneider | 2013-05-06 | 1 | -1/+1 |
| | |||||
* | Fixing reference to README in setup.pyrelease-1.50 | Sean Reifschneider | 2013-05-06 | 2 | -2/+2 |
| | |||||
* | Changing check_key to check_keys.release-1.49 | Sean Reifschneider | 2013-05-06 | 2 | -4/+8 |
| | |||||
* | check_key disabling and performance improvements. | Sean Reifschneider | 2013-05-04 | 2 | -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 Reifschneider | 2013-04-17 | 2 | -3/+6 |
| | |||||
* | Updating ChangingLog. | Sean Reifschneider | 2013-04-16 | 2 | -0/+2 |
| | |||||
* | Merge pull request #1 from pombredanne/license | Sean Reifschneider | 2013-04-16 | 1 | -0/+556 |
|\ | | | | | Adding missing text for PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | ||||
| * | Adding missing text for PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 | pombredanne | 2013-04-16 | 1 | -0/+556 |
|/ |