[Python-il] Code Review: Kakurasu Solver

Shlomi Fish shlomif at iglu.org.il
Mon Nov 8 23:51:12 IST 2010


On Tuesday 26 October 2010 00:26:53 cool-RR wrote:
> On Mon, Oct 25, 2010 at 6:49 PM, Shlomi Fish <shlomif at iglu.org.il> wrote:
> > > I have a few general notes:
> > >    1. Use new-style classes. (Inherit every class from `object`.)
> > 
> > What does that give me? Is it compatible with older versions of python?
> 
> Here's a piece by Guido:
> http://python-history.blogspot.com/2010/06/new-style-classes.html
> 
> And a StackOverflow question:
> http://stackoverflow.com/questions/54867/old-style-and-new-style-classes-in
> -python
> 
> Old-style classes are deprecated and you should never use them.
> 
> About compatibility: I think new-style classes go back to Python 2.2.
> 

Fair enough. I changed it now:

http://bitbucket.org/shlomif/lp-based-puzzle-solvers

Thanks!

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Humanity" - Parody of Modern Life - http://shlom.in/humanity

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


More information about the Python-il mailing list