Never mind, think I found the issue in the script I was digging into instead of in the run time.
I am digging a bit into an issue I am having with a script that works fine when I run it under cygwin and python 2.7.3 but fails with a BadZipFile error when used as a plugin in calibre. The zip file in question passes an InfoZip unzip -t just fine and is readable on my eink device. Doing a bit of searching I think the problem in zipfile.py was fixed in this patch (
http://hg.python.org/cpython/rev/cc3255a707c7/ ) and indeed I see that patch is applied to my cygwin installation of 2.7.3.
I ran calibre in debug mode and it also seems to say it is running with 2.7.3, however when I look into the pylib.zip , the size of zipfile.pyo is 32220, while the version that works is 38423. What source version is used to make the pylib.zip file and how often is it updated?