[issue7968] __dict__ Exception using class attributes

2010-02-19 Thread Andrew Shuiu
Andrew Shuiu added the comment: Hello Murray, That seems a little strange to me, because if an object is instance of a class, it should inherit all of it attributes. Is it an optimization issue? because I observed that all instances of a class that has such "static" attributes, s

[issue7968] __dict__ Exception using class attributes

2010-02-19 Thread Andrew Shuiu
New submission from Andrew Shuiu : Interpreter do not fill in __dict__ attribute of a class which has atributes. dir() shows them, but not __dict__. It works only when attributes are created dynamically at runtime, such as class.attribute = value, not in class definition. Behaviour is the

[issue3924] cookielib chokes on non-integer cookie version, should ignore it instead

2009-11-24 Thread Andrew Shuiu
Changes by Andrew Shuiu : -- versions: +Python 3.1 ___ Python tracker <http://bugs.python.org/issue3924> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7174] modeule: queue class: PriorityQueue

2009-10-20 Thread Andrew Shuiu
New submission from Andrew Shuiu : Puting 2 tuples like (100, data1), (100, data2) in a PriorityQueue generates an builtins.TypeError: unorderable types: data1 < data2 Code which generates error: theQueue.put((100, object1()),True) theQueue.put((100, object1()),True) Snippet from er