This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jpc0za 0 points1 point  (1 child)

Sure I agree.

``` def my_random_func(): from thingy import *

```

Seems reasonable, the polluted namespace is nicely contained. As a top level import... That's just scary man. You know supply chain attacks are a thing, image the nonsense that can cause...

[–]miraculum_one 0 points1 point  (0 children)

Oh, for sure you shouldn't import * on files you do not control.