Python gets a "Developer-in-Residence"
Python gets a "Developer-in-Residence"
Posted Jul 30, 2021 7:37 UTC (Fri) by hynek (subscriber, #55397)In reply to: Python gets a "Developer-in-Residence" by NYKevin
Parent article: Python gets a "Developer-in-Residence"
Since PEP 8 asks you to sort your import into blocks of standard library, 3rd party packages, and app packages, a non-trivial insight into the packaging situation of the current app/package is required. Thus it makes sense to punt on it, since it would open a completely new can of worms and the code is already present in isort.
Posted Jul 31, 2021 21:57 UTC (Sat)
by NYKevin (subscriber, #129325)
[Link]
(As mentioned before, there is no good reason for import-reordering to change runtime behavior. It's just that Python doesn't have any hard limits which prevent you from shooting yourself in the foot like that.)
[1]: https://black.readthedocs.io/en/stable/the_black_code_sty...
Python gets a "Developer-in-Residence"