Charly Coste

Results 811 comments of Charly Coste

Adding translations to an already-published message would also be problematic in that the message's date would no longer be accurate.

A simple variable was my original idea too (https://github.com/liberapay/liberapay.com/issues/116), but that wouldn't alert the developer if they type the name wrong. The simplest solution to that would be to do:...

:D I meant the name of the variable, not the HTTP methods.

Another question just came to me: do we want this to be in Pando, or in Aspen? I guess it would be better in Aspen because then the Django and...

> Is there a way that Aspen can delegate to the framework/plugin, so that it doesn't _need_ to know the method? I suppose Aspen could provide an algorithm function that...

Does anyone have objections? I'd like to do this before Pando 1.0.

I'm not looking to prevent the raising of response objects, I'm only proposing that we use a single response object per request instead of creating new ones when raising.

Also, ideally the developer should be able to replace the `Response` class with a subclass, and that's not possible if we're creating new instances of the base class all over...

To clarify further, this is what I'm trying of get rid of: https://github.com/liberapay/liberapay.com/blob/134/liberapay/main.py#L139-L183

Yes, however subclassing `Response` isn't the primary reason why I want a single instance. The first issue is that the `Response` class currently doesn't have access to the `website` and...