Applications Google
Menu principal

Post a Comment On: Only Python

"A failed experiment"

3 Comments -

1 – 3 of 3
Anonymous Anonymous said...

Instead of a debug() function you might want to use the logging module.

11:19 PM

Blogger glyph said...

Did you read Guido's "Compatibility and Transition" blog post?

http://www.artima.com/weblogs/viewpost.jsp?thread=208549

You're not supposed to write source code that can work on python 2.5 and 3.0: it isn't supported and it isn't recommended.

1:16 AM

Blogger André Roberge said...

@glyph: yes, I had read the blog, I know it is not supported nor recommended. However, programming for me is a hobby, something I do just for the shear pleasure of it. This was a fun (if a bit tedious at times) thing to try.

I'm pretty sure that, if I had access to Py3k versions of all the 3rd party modules I use, I could have succeeded in making Crunchy cross-compatible in just one (long) evening. There seemed to be only one of my own modules that needed two different versions to make this possible. This would be a lot easier (for me) to maintain than having two completely different versions of Crunchy.

6:55 AM

Spammers: none shall pass.
You can use some HTML tags, such as <b>, <i>, <a>

Comments on this blog are restricted to team members.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot