Andrew Godwin

Results 206 comments of Andrew Godwin

I can confirm this happens locally, but I have no idea why - something inside Twisted is not behaving as I would expect with endpoints (the fix from before is...

Python imports are notoriously slow, but yes, I'm not quite sure I want to do it quite as you describe - however, I can see a situation where the thing...

OK - note that it may be a few months before I can get to this, so if anyone else wants to take a look they're welcome. @devxplorer Have you...

You can turn off the Redis channel layer (set `CHANNEL_LAYERS` to empty), make sure none of your code uses it, and test again.

I totally agree that it's just going to happen, due to the async nature of the code in question, that you're going to send just after the socket is disconnected...

OK, then I think we're agreed. I think this belongs in the `www` spec rather than the core one - if we're agreed, I'll get it added in?

There's nothing easy right now, unfortunately. I'll transform this ticket into a feature request for such.

> Transactions don't seem to work in this async setting If you mean that test cases are not automatically wrapped in a transaction, then yes, that is correct (that functionality...

It can't mutate the scope, so it would have to be an argument to the constructor; probably just `user=`.

Well, first off, don't override the constructor to be async like that is my suggestion - that's just going to confuse a lot of people (as by and large, even...