nest / nest-simulator

The NEST simulator
http://www.nest-simulator.org
GNU General Public License v2.0
544 stars 370 forks source link

Import of `ll_api` takes on initialization responsibilities #2123

Open Helveg opened 3 years ago

Helveg commented 3 years ago

The end of pynest/nest/ll_api.py calls an init function whose docstring says it "Initializes NEST". Idiomatically this belongs in __init__.py. Following that idiom can prevent surprising consequences or changes in the sequences of events when ll_api needs to be imported somewhere. It also helps devs trace the sequence of events when import nest occurs.

stinebuu commented 3 years ago

@Helveg Would you be willing to fix this and create a PR?

Helveg commented 3 years ago

It's being worked on in the scope of (attempts at) a larger rework of PyNEST module initialisation :)

github-actions[bot] commented 2 years ago

Issue automatically marked stale!