logoalt Hacker News

curiousgalyesterday at 6:32 PM3 repliesview on HN

Some folks at HRT[0] will probably be unhappy about that lol

0.https://www.hudsonrivertrading.com/hrtbeat/inside-hrts-pytho...


Replies

CorrectHorseBatyesterday at 7:33 PM

Look at the names in the PEP [1], this PEP is written by them

[1] https://peps.python.org/pep-0810/

seemazeyesterday at 6:44 PM

I'm confused, wouldn't HRT be happy about this? The article you linked specifically states "..we hope to propose a revised lazy imports PEP that introduces an explicit lazy keyword.."

Is that not exactly what PEP 810 proposes?

kccqzyyesterday at 6:42 PM

Why would they? The accepted PEP just has extra keywords to mark imports explicit. That's a source level find-and-replace. They already did most of the real work in their codebase, such as finding where the code depended on the side effect of importing a module.