Posted on May 30, 2008 by Lennart Regebro
Andy Buckley wrote a blog about why Python indentation was bad. He has two arguments, and one example. Fortunately, he is mostly wrong. He is right about his first argument: Invisible syntax isn’t really a good idea. A really good example of invisible code was old to me by a friend in Sweden [...]
Filed under: python | Tagged: indentation, langauges, programming | 19 Comments »
Posted on May 20, 2008 by Lennart Regebro
I’m not going to EuroPython this year, which is a shame, because I know exactly what I should talk about: Not being scared of Python 3.0, and that the incompatibilities aren’t so big and scary that has been said.
So if you want to talk at EuroPython, but don’t know what to talk about, I’m giving [...]
Filed under: europython, plone, python, zope | Leave a Comment »
Posted on May 15, 2008 by Lennart Regebro
Since PyCon I have been working on a set of tests to demonstrate incompatibilities between Python 2.5, 2.6 and 3.0, with the aim of not only documenting the incompatibilities, but also testing if you avoid them, and write code that runs under both Python 2.6 and 3.0, thereby providing a transitional path from 2.x to [...]
Filed under: plone, python, python 3000, zope | Tagged: python-incompatibility | 4 Comments »
Posted on May 13, 2008 by Lennart Regebro
Last friday I asked you all for help with testing a thing. I got over 60 answers, thanks a lot for that! I have been able to draw a good set of conclusions. What was it all about? Well, the test was to see if it is possible to figure out what time zone you [...]
Filed under: calendaring, plone, python, zope | Tagged: python, time zones, windows, zoneinfo, zope | 5 Comments »
Posted on May 10, 2008 by Lennart Regebro
Updated: I’ve added step 3 ½ and 3 ¾.
Updated: More on MS Windows.
In my previous post on Python and time zones. I explained five problems with time zones in general and Python support for them in particular, and how I succeeded in solving four of them, and ignoring the fifth. But I also mentioned [...]
Filed under: calendaring, plone, python, zope | Tagged: calendaring, cross-platform, microsoft, morons, osx, python, stupid developers, stupidity, time zones, unix, windows | 7 Comments »
Posted on May 9, 2008 by Lennart Regebro
I don’t need more testing of this. Thanks to everyone who help me out with this! Great to see so many helpful people! Read my conclusion!
In my post on Python and time zones I mentioned that I hadn’t tried this on Windows yet. But now I have, and I have painstakingly and with help [...]
Filed under: calendaring, plone, python, zope | Tagged: cross-platform, python, time zones | 73 Comments »