[Image-SIG] Get PIL version number?

Fredrik Lundh fredrik at pythonware.com
Wed Dec 19 23:56:23 CET 2007


Christopher Barker wrote:

> Image.VERSION
> 
> It's too bad it doesn't follow the now-common convention of __version__. 

PIL is older than most Python conventions, and PIL's programming API 
tends to be *extremely* stable (on purpose).

(Note that the style guide says that "__version__" should contain the 
VCS revision number, which isn't that helpful.  It also says that the 
__name__ form is for magic stuff.  And for completeness, Python's own 
version number is of course found in "sys.version".  Consistency...)

</F>



More information about the Image-SIG mailing list