[Python-Dev] New functionality in micro releases (was:Documenting branch policy) (original) (raw)

Alex Martelli aleaxit at yahoo.com
Tue Sep 9 08:20:37 EDT 2003


On Tuesday 09 September 2003 02:02 am, Phillip J. Eby wrote: ...

Of course, the sad bit is that even if there were a sys.requireversion(), it wouldn't be in the versions where it was actually needed: the older ones!

Actually this would "fail-RIGHT": on older versions the program would die right there with an AttributeException and a traceback about a line such as sys.requireversion('2.3.2'), which is already a clear enough indication of exactly what is wrong -- on newer ones with an even clearer exception, of course. In any case, one could dress up the sys.requireversion call in a try/except to make its absence no problem.

Alex



More information about the Python-Dev mailing list