On Thu, Nov 4, 2010 at 9:16 PM, Victor Stinner <victor.stinner at haypocalc.com> wrote: > So do you still think that I should patch the os module to use a global import > or not? I'm actually more inclined to suggest we avoid triggering the warning under -bb in the first place by iterating over the environment in that case instead of using the mapping interface. (I was going to suggest a smarter version that used a SafeKey class instead, but it turns out os.environ only works with real string objects). Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4