question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Pymemcache

See original GitHub issue

Django with the version 3.2 supports Pymemcache, and MemcachedCache is deprecated:

The MemcachedCache backend is deprecated as python-memcached has some problems and seems to be unmaintained. Use PyMemcacheCache or PyLibMCCache instead. (source)

Are there any plans for implementing Pymemcache?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
krzysztofjeziornycommented, Aug 10, 2021

Setting PyMemcacheCache as a backend gives now:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/wagtail/core/models.py", line 1683, in _get_site_root_paths
    return cache_object._wagtail_cached_site_root_paths

Maybe it’s my site’s specific? MemcachedCache still works though. I’m on Django 3.2.6 and Wagtail 2.13.4.

0reactions
krzysztofjeziornycommented, Aug 10, 2021

You’re absolutely right, @RealOrangeOne. Thanks for pointing me in the right direction! I’m closing it here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started! — pymemcache 3.5.2 documentation
Memcached supports authentication and encryption via TLS since version 1.5.13. A Memcached server running with TLS enabled will only accept TLS connections. To ......
Read more >
pinterest/pymemcache: A comprehensive, fast, pure-Python ...
A comprehensive, fast, pure-Python memcached client. pymemcache supports the following features: Complete implementation of the memcached text protocol.
Read more >
pymemcache - PyPI
A comprehensive, fast, pure-Python memcached client. pymemcache supports the following features: Complete implementation of the memcached text protocol.
Read more >
pymemcache Documentation - Read the Docs
Memcached supports authentication and encryption via TLS since version 1.5.13. A Memcached server running with TLS enabled will only accept TLS ...
Read more >
29887 (Add support for pymemcache) - Django's bug tracker
Some API are different from python-memcache and pymemcache. So I override pymemcache.HashClient and override some method to support python-memcached's API ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found