Message383476
@eric.smith No benchmarks offhand, but I'd expect it to be a very minor improvement (if detectable).
If this gets accepted I'll probably do a bunch of little changes like this, to improve things, e.g., replace '%' with '.format' (or f-strings, whatever you prefer), ensure `.iterkeys()`/`.iteritems()` validity, and collapse some obvious `.append` cases with list comprehensions.
The idea I'm going off is that when one is debugging their Python code, and it goes across to the Python source, that that Python source code quality is better or equal to the one the higher-level Python developer is creating.
Constructing unnecessary lists is one such code quality issue. |
|
Date |
User |
Action |
Args |
2020-12-21 01:47:08 | samuelmarks | set | recipients:
+ samuelmarks, eric.smith |
2020-12-21 01:47:08 | samuelmarks | set | messageid: <1608515228.69.0.713239046107.issue42699@roundup.psfhosted.org> |
2020-12-21 01:47:08 | samuelmarks | link | issue42699 messages |
2020-12-21 01:47:08 | samuelmarks | create | |
|