Re: Python scope

From: Steven Kurylo <sk_at_no.spam.please>
Date: Thu Jul 19 2007 - 19:10:35 CST

> You've also accidentally done something else that scares the crap out
> of me about python. You've gone ahead and redefined the builtin type
> "list" to be something else :)

Its just an illustration :-) I figured that issue out pretty quick...

Thats another thing which really annoys me. My first python program I
called ldap.py, because I was going to do ldap work. Guess what
happened when I imported the ldap module?

I couldn't figure for ten minutes why the tutorial code worked in the
interpreter, but then I pasted it into a file and it stopped working.
Then I tried the interpreter again and it stopped working too!

That just shouldn't be.
Received on Thu Jul 19 19:10:43 2007

This archive was generated by hypermail 2.1.8 : Thu Jul 19 2007 - 19:10:46 CST