Did I find the right examples for you? yes no

All Samples(9)  |  Call(8)  |  Derive(0)  |  Import(1)

src/d/e/demisauce-HEAD/demos/djangodemo/blog/memcached_status.py   demisauce(Download)
        return HttpResponse("No Memcached Server 2")
 
    host = memcache._Host(m.group(1))
    host.connect()
    host.send_cmd("stats")

src/t/e/tendenci-5.1.333/tendenci/core/base/views.py   tendenci(Download)
        raise Http404
 
    host = memcache._Host(m.group(1))
    host.connect()
    host.send_cmd("stats")

src/k/o/kogakure-de-HEAD/kogakure/applications/lib/utils.py   kogakure-de(Download)
        raise http.Http404
 
    host = memcache._Host(m.group(1))
    host.connect()
    host.send_cmd("stats")

src/o/p/openparliament-HEAD/parliament/core/maint.py   openparliament(Download)
        raise http.Http404
 
    host = memcache._Host(m.group(1))
    host.connect()
    host.send_cmd("stats")

src/d/j/django-memcached-0.1.2/django_memcached/util.py   django-memcached(Download)
def get_memcached_stats(server):
    if not memcache_installed:
        return {}
    host = memcache._Host(server)
    host.connect()

src/d/j/django-yaba-0.2.7/django_yaba/views.py   django-yaba(Download)
        raise http.Http404
 
    host = memcache._Host(m.group(1))
    host.connect()
    host.send_cmd("stats")

src/d/j/django-memcached2-0.2/django_memcached/util.py   django-memcached2(Download)
def get_memcached_stats(server):
    if not memcache_installed:
        return {}
    host = memcache._Host(server)
    host.connect()

src/s/a/samuelclay-HEAD/memcached_status.py   samuelclay(Download)
    cache_host =  m.group(1)
 
    h = memcache._Host( cache_host )
    h.connect()
    h.send_cmd( 'stats' )

src/e/r/erp5-HEAD/product/ERP5Type/patches/memcache_client.py   erp5(Download)
# -*- coding: utf-8 -*-
# Code based on python-memcached-1.53
try:
    from memcache import _Host, Client, _Error
except ImportError: