Re: Class-level variables - a scoping issue

2010-10-11 Thread Ixokai
eans you can forget that "explicitly tell it" and run into other problems. But its still a feature, and basically part of the core, fundamental object model of Python. -- Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/ signature.asc Description: OpenPGP digital signature -- http://mail.python.org/mailman/listinfo/python-list

Re: Python dynamic attribute creation

2010-06-25 Thread Ixokai
On Fri, Jun 25, 2010 at 8:24 PM, WANG Cong wrote: > > Here's the thing: Python doesn't consider creating dynamic attributes > > to be questionable. Python doesn't merely allow for dynamicism, it > > encourages it. And encouraging something means to make it simple. > > > > Understand, but please

Re: deprecated string module issue

2010-06-24 Thread Ixokai
On Thu, Jun 24, 2010 at 10:39 AM, GrayShark wrote: > Sorry, I meant "from string import lowercase, uppercase" > > As I was joining these two, I just changed the import to 'letters' > > So if the constants are not deprecated, why is the module? Is some > other > state then deprecated needed to des