Paul Pogonyshev added the comment:

set_default() is a static method to set 'default'.  Because of this:

>>> AbstractGCProtector.default = 42
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can't set attributes of built-in/extension type
'notify.gc.AbstractGCProtector'

About source code: go to  http://download.gna.org/py-notify/  download,
unpack and do './run-tests.py' at top level.  One test fails with Python
SVN precisely because of this problem.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1878>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to