Resolves Issue #343

This commit is contained in:
BJ Dierkes 2016-02-24 22:21:39 -06:00
parent bf93c40f29
commit 8d43da80dd
6 changed files with 5 additions and 8 deletions

View File

@ -49,6 +49,7 @@ Features:
* :issue:`336` - Added Support for ``CementApp.reload()`` (SIGHUP)
* :issue:`337` - Added ``app.run_forever()`` alternative run method.
* :issue:`342` - Added Alarm/Timeout Support
* :issue:`343` - Memcached Extension/Pylibmc Now Supports Python 3
Refactoring:

View File

@ -115,7 +115,7 @@ class IController(interface.Interface):
arguments (I.e. self.app.args.parse()).
:returns: Returns the result of the executed controller function,
or ``None`` if no controller function is called.
or ``None`` if no controller function is called.
"""

View File

@ -6,7 +6,6 @@ Requirements
------------
* pylibmc (``pip install pylibmc``)
* Python < 3
Configuration

View File

@ -48,6 +48,7 @@ Extensions
* :ref:`Alarm <cement.ext.ext_alarm>` - Provides quick access to
setting an application alarm to easily handling timing out long running
operations.
* :ref:`Memcached <cement.ext.ext_memcached>` - Now supported on Python 3.
Misc Enhancements

View File

@ -12,3 +12,4 @@ pystache
pyYaml
colorlog
tabulate
pylibmc

View File

@ -1,18 +1,13 @@
"""Tests for cement.ext.ext_memcached."""
import sys
import pylibmc
from time import sleep
from random import random
from cement.core import handler
from cement.utils import test
from cement.utils.misc import init_defaults
if sys.version_info[0] < 3:
import pylibmc
else:
raise test.SkipTest(
'pylibmc does not support Python 3') # pragma: no cover
class MemcachedExtTestCase(test.CementTestCase):