which Python version as a prerequisite?
Steven Armstrong <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all Blake Winton and Robert Wall commented on the checkins I made lately. Blake pointed out that he would prefer if the Request/Response classes would inherit from object. I had previously removed that to solve problems with making the Request class iterable. These problems have meanwhile been solved (thanks to Blake) so my code is now happy inheriting from object and still doing the iterable stuff. Robert Wall pointed out that inheriting from object means that you need at least Python 2.2+ while the INSTALL docs for Pyblosxom say you only need Python 2.1. So, which way to go? As of my understanding the "inherit from object" stuff is cool cause you can use super() to call superclass methods and therefor can change their names as you like without having to update 127 references throughout the code. Are there any other reasons why this is considered to be better? Is it a problem if Pyblosxom depends on Python 2.2+? As I run my own server and can install whatever Python I need/like I have no idea how it looks like out in the wild. What Python version has sourceforge got for example? Anyway, just wanted to ask before comitting a patch that breaks stuff. regards Steven ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click