I don't like that. It's too much magic. What I proposed is:
- try in examples
- otherwise in home and print a warning
- otherwise fail with an informative message

imagine the code runs in a remote machine you end up with a "while True" running forever