summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adding link to pymemcacheHEADmasterSean Reifschneider2023-04-191-0/+5
|
* Allow keys to be encoded before use.Sean Reifschneider2023-04-182-18/+54
| | | | | | | | | | Ported patch in #52 from @harlowja to current branch. Added tests. For the cases where the user wants to transparently encode keys (say using urllib) before they are used further allow a encoding function to be passed in that will perform these types of activities (by default it is the identity function).
* Merge pull request #146 from tbobm/masterSean Reifschneider2023-04-172-6/+7
|\ | | | | Allow to use a datetime.timedelta parameter for Client.set
| * Merge branch 'master' into masterSean Reifschneider2023-04-179-84/+117
| |\ | |/ |/|
* | Adding test for quit_allSean Reifschneider2023-04-162-3/+5
| |
* | Merge pull request #15 from userrl/masterSean Reifschneider2023-04-161-0/+22
|\ \ | | | | | | Added quit() method. This method sends the 'quit' command to the servers and then closes the connections, reducing the number of TIME_WAIT sockets hanging around the OS.
| * | Added docstring/comments to _Host.quit(), renamed Client.quit() to ↵Russell2013-09-031-1/+13
| | | | | | | | | | | | Client.quit_all().
| * | Added quit() method.Russell2013-08-291-0/+10
| | |
* | | Removing "time" from delete and making expiry mandatory in touch.Sean Reifschneider2023-04-162-18/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port of erankor's PR #30 to the latest code. In that PR, the "time" argument to delete() is removed because it is not supported by the protocol: https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L330 And touch requires the expiry parameter due to protocol: https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L399
* | | Adding license file to package manifestSean Reifschneider2023-04-151-0/+1
| | |
* | | Adding SECURITY.md, changing my e-mail addressesSean Reifschneider2023-04-154-3/+4
| | |
* | | Removing six.PY2/3 conditionalsSean Reifschneider2023-04-151-29/+8
| | |
* | | Merge pull request #152 from hyperair/fix-crc-0-hashSean Reifschneider2023-04-151-1/+1
|\ \ \ | | | | | | | | Fix cmemcahe_hash 0 values being translated to 1. For example "ob" would hash to 0 and then get converted to 1. Looks like this dated back to 2009, the original code we imported for that hash function.
| * \ \ Merge branch 'master' into fix-crc-0-hashSean Reifschneider2023-04-155-34/+58
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #155 from sergiimk/fix_multi_with_tuple_keysSean Reifschneider2023-04-151-2/+0
|\ \ \ \ | | | | | | | | | | Fix tuple key support in multi methods (regression in 1.55).
| * | | | Fix tuple key support in multi methodsSergii Mikhtoniuk2018-11-301-2/+0
| | | | | | | | | | | | | | | | | | | | Fixes: #154
* | | | | Merge pull request #158 from samupl/support_defaultSean Reifschneider2023-04-152-4/+18
|\ \ \ \ \ | | | | | | | | | | | | Add support for default value in get()
| * \ \ \ \ Merge branch 'master' into support_defaultSean Reifschneider2023-04-155-32/+40
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Cleaning up some flake8 warnings.Sean Reifschneider2023-04-151-10/+11
| | | | | |
* | | | | | Removing Py 2.7, adding 3.8-3.11Sean Reifschneider2023-04-153-8/+9
| | | | | |
* | | | | | Merge pull request #160 from hmpf/py37Sean Reifschneider2023-04-153-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add testing for Python 3.7
| * | | | | | Add testing for Python 3.7Hanne Moa2019-02-213-1/+3
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #172 from moto-timo/try-import-unittest-mockSean Reifschneider2023-04-151-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | test_memcache.py: try import unittest.mock
| * | | | | | test_memcache.py: try import unittest.mockTim Orling2019-12-151-1/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than always require the separate mock module, try to use unittest.mock if it is available Signed-off-by: Tim Orling <ticotimo@gmail.com>
* | | | | | Merge pull request #168 from MartinThoma/pypi-readmeSean Reifschneider2023-04-151-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Tell PyPI to parse README as markdown
| * | | | | | Tell PyPI to parse README as markdownMartin Thoma2019-09-291-0/+1
| |/ / / / /
* | | | | | Fixing flake8 error about long line in setup.pySean Reifschneider2023-04-151-1/+1
| | | | | |
* | | | | | Decoding in slab funcs, replacing "1" with "True" in while.Sean Reifschneider2023-04-151-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The slab functions needed a decode (as noted in https://github.com/linsomniac/python-memcached/pull/175), adapted that patch. Also converted "while 1" to "while True" while I was in there.
* | | | | | Removing a spurious backslash in a docstring, re PR #178Sean Reifschneider2023-04-151-1/+1
| | | | | |
* | | | | | Merge pull request #184 from za/py38-syntax-warningSean Reifschneider2023-04-151-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Python 3.8 syntax warning fix: use == as suggested by Python 3.8
| * | | | | Use == as suggested by Python 3.8za2022-09-191-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` <snap>/python_memcached-1.59-py3.8.egg/memcache.py:1303: SyntaxWarning: "is" with a literal. Did you mean "=="? if key is '': <snap>/python_memcached-1.59-py3.8.egg/memcache.py:1304: SyntaxWarning: "is" with a literal. Did you mean "=="? if key_extra_len is 0: ```
| * | | | Fix linter errorsJakub Szafrański2019-02-122-2/+6
| | | | |
| * | | | Add support for default value in getJakub Szafrański2019-02-122-4/+18
|/ / / /
| * | | Fix cmemcahe_hash 0 values being translated to 1Chow Loong Jin2018-11-121-1/+1
|/ / /
| | * minor flake8 errorsTheo Massard2018-06-262-2/+6
| | |
| | * Allow to use a datetime.timedelta parameter for Client.setTheo Massard2018-06-261-1/+4
| |/ |/| | | | | Closes #145
* | Fixing download URLs, release scriptSean Reifschneider2017-12-152-4/+6
| |
* | Updating version in .py fileSean Reifschneider2017-12-151-1/+1
| |
* | Updating version in .py fileSean Reifschneider2017-12-151-1/+1
| |
* | Adding release Changelog lineSean Reifschneider2017-12-151-0/+2
| |
* | Version update for release.1.59Sean Reifschneider2017-12-141-1/+1
| |
* | Fix touch(..., time=0) sending invalid command to memcacheNicolas Noé2017-11-213-1/+10
| | | | | | | | Without the trailing '0', the command is invalid.
* | Add test isolation by clearing memcache between each testTim Graham2017-11-211-1/+3
| |
* | Fix delete_multi() argument in a testKris Maglione2017-11-141-1/+1
| |
* | Removed unnecessary six usage in testsTim Graham2017-11-141-2/+1
| |
* | Fix #79, #80 -- Fix storing non-ASCII values on Python 2 and binary values ↵Nicolas Noé2017-11-143-9/+44
| | | | | | | | on Python 3
* | Fix crash on Python 3 in touch() loggingMatt Davis2017-11-143-2/+15
| |
* | Capture and verify logging in testsTim Graham2017-11-145-7/+59
| |
* | Fix flake8 indentation warning in setup.pyTim Graham2017-11-041-28/+30
| |
* | Add doctests to TravisTim Graham2017-11-011-0/+1
| |