Peter Bengtsson

Results 314 comments of Peter Bengtsson

Can you demonstrate that problem? If I have...: ```python @lock_decorator() @cache_memoize(100) def expensive_function(start, end): print("DOING FANCY WORK") return random.randint(start, end) ``` And run two threads/processes against this (with a timer),...

I read `examples/simple-example` to mean the same as `./examples/simple-example`. It'd basically be the same anyway if you `path.join()` with the current file's `__dirname`. The only one that is bothersome is...

Clearly, [the documentation](https://github.com/peterbe/django-cache-memoize#args_rewrite) is failing you. Sorry about that. I think you got "tricked" by the name "args". It would, perhaps, have been better to call this option `arguments_rewrite` or...

I didn't actually test my own code. If it doesn't work, we should definitely fix that. On Fri, Apr 5, 2019 at 1:09 PM Alejo Arias wrote: > Wait, does...

I'm not afraid of a breaking major version upgrade. :) Is there anything we can do to add deprecation notices to the current release first? Or, when we make this...

This project is not supported. Consider using django-pipeline instead.

**Both** SQL and MongoDB? No. They are too different. My first project, and much the reason I wrote django-mongokit relied heavily on nested structures. Since the class `django_mongokit.document.DjangoDocument` is a...

One caveat is that a list of contributors is NOT available in the Document JSON API. Since this was the new React MDN isn't using a list of contributors, it...

Actually, I wonder if it's all that different. The current scraper is pretty quick to parse and extract the stuff it needs and the current scraper isn't meant to be...

https://github.com/mdn/kumascript/pull/1247 has landed and pushed to prod. Pages, [like this one](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) that have been re-rendered now has `` and it's already in the API too: https://developer.mozilla.org/api/v1/doc/en-US/Web/HTML/Element/details To test this at...