Keryn Knight

Results 59 comments of Keryn Knight

Chiming in to point out, in case it hasn't been noted already: the cached copy for "Django Tutorial Admin" in Indonesian (with the English link) has `` (which is set...

@smithdc1 get pinged. As you unintentionally reminded me about this, it might be of interest to you. It might not. It's on your radar now though either way :)

> Were there any alternate ideas you considered? Well, yes and no. The worst kind of answer :) There was the similar initial idea of just pulling from sys.modules in...

Well, YMMV (between Python version differences and machine differences I can't guarantee this) but AFAI can tell, this is faster: ``` @staticmethod def get_sync_classes(): if not Local.launch_map_classes: from .sync import...

> How about a `cached_import` variant that lets you have a list of items to import rather than a single item? Seems to be a bit slower than doing 2...

I'm fairly certain the problem, at least as @sspross has shown it, is my doing, as part of #933, because `pformat` was so slow, we (I) moved to using `force_text`...

I'll confess I hadn't thought about the compromised accounts part of it, though I think by the time a user has elevated themselves to staff and or superuser, things are...

> So, I've had some time to think -- 7 years(!) in fact. I've been there, for sure ;) Fair warning, I can barely remember the problem I was describing...

:wave: Hi, thanks for looking into this. As we're proposing (as per commentary on the ticket) busting the cache down in `_save_parents`, it _might_ be prudent[^1] to add a test...

Naturally, having _written_ it, I think the performance gains are worth the complexity -- at least in isolation[^1]. If we/you don't think we can pull off a satisfactory/comprehensive fix for...