From: SourceForge.net <no...@so...> - 2011-10-19 12:26:56
|
Feature Requests item #3110077, was opened at 2010-11-16 13:10 Message generated for change (Comment added) made by ludov You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=957075&aid=3110077&group_id=196342 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface Improvements (example) Group: Next Release (example) >Status: Closed Priority: 5 Private: No Submitted By: chrysn () Assigned to: jean-daniel aussel (jdaussel) Summary: new style classes Initial Comment: since version 2.2, python has "new style classes", which unify types and classes. they provide more flexibility for getters and setters and better support for the super call, among other features. i suggest to change pyscard classes into new style classes by changing the definitions from "class Observer:" to "class Observer(object):". the classes this affects can be found using `grep '^class .*[^)]:' . -r`. (by the way, that list includes SWException, which i assume from the name should derive from Exception.) ---------------------------------------------------------------------- >Comment By: Ludovic Rousseau (ludov) Date: 2011-10-19 14:26 Message: This is now fixed in revision 571 http://pyscard.svn.sourceforge.net/viewvc/pyscard?view=revision&revision=571 Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=957075&aid=3110077&group_id=196342 |