TildAlice Dev Weekly logo

TildAlice Dev Weekly

Archives
February 27, 2026

import * in Functions: UnboundLocalError & Namespace Fix

Learn why import * inside functions causes UnboundLocalError and discover the namespace mechanics behind this Python gotcha with practical fixes.

Read the full article: import * in Functions: UnboundLocalError & Namespace Fix


You're receiving this because you subscribed to TildAlice newsletter. | #Python, #import, #namespace, #debugging, #best-practices

Don't miss what's next. Subscribe to TildAlice Dev Weekly:
tildalice.io
GitHub
Powered by Buttondown, the easiest way to start and grow your newsletter.