Oh... I didn't think of that - now it makes sense.
Is that a different api? I mean, is the code there different then the one
in PYPi (pip)?



On Fri, Jan 17, 2014 at 7:22 PM, Massimo Di Pierro <
[email protected]> wrote:

> I believe gluon/contrib/memcache/memcache.py is the memcache API. Web2py
> does not rely on python memcache being installed on the system. We
> added gluon/contrib/memcache/__init__.py
>
>
> On Thursday, 16 January 2014 16:17:21 UTC-6, Arnon Marcus wrote:
>
>> I was going to, but couldn't find it...
>> In fact, I even ran a full text-search on the entire web2py stack, and
>> found no "import memcache" anywhere (nor "from memcache" for that matter...)
>> Which is extremely weird, as it actually does work with my memcached
>> server...
>>
>> Hmm...
>>
>> I guess I must have missed it, despite my due diligence, and probably my
>> Pycharm as well...
>>
>> Any pointers on where it is?
>>
>>
>> On Thu, Jan 16, 2014 at 11:06 PM, Niphlod <[email protected]> wrote:
>>
>>> no, you can't. But if you want to write your own and the api is
>>> compatible, just change the imports at the top and hope for the best.
>>>
>>> On Thursday, January 16, 2014 12:02:11 PM UTC+1, Arnon Marcus wrote:
>>>>
>>>> We are using gevent, and we want to use memcached (for now, before we
>>>> upgrade web2py to a version that supports redis...)
>>>> I've noticed that there is threading going on in the gluon.memcache
>>>> package - would this work with gevent?
>>>>
>>>> This package is specifically meant for using memcached from a gevent
>>>> process:
>>>> https://github.com/esnme/ultramemcache
>>>>
>>>> Can I make the existing gluon.memcache use this instead?
>>>> Has anybody tried it?
>>>>
>>>>
>>>>  --
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/web2py/-XCTWqTUJl0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/-XCTWqTUJl0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to