[PATCH] First HTTP functional test of the RPC interface
Frédéric Mangano-Tarumi
fmang at mg0.fr
Fri Apr 17 20:30:23 UTC 2020
Filipe Laíns [2020-04-16 22:58:47 +0100]
> On Sun, 2020-04-12 at 18:55 +0200, Frédéric Mangano-Tarumi wrote:
> > + assert parts.path in ("", "/")
>
> Why a tuple?
In Python, tuples are essentially immutable lists, and I think it’s a
good practice to use immutable structures when they fit. It makes the
intention clear and occasionally leads to significant optimizations.
More information about the aur-dev
mailing list