On 12-Sep-2001 Patrick K. O'Brien wrote: > You need to explicitly import __builtins__. It is imported by default in the > shell, which is why your code worked interactively. You need to add an > import statement somewhere, like this: > odd, importing builtins triggers an exception for me under both 1.5.x and 2.x.