Drekin added the comment: Yes, I've done it similarily using a class method. Thank you for help. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19040> _______________________________________