New submission from Ian Stevens iancstev...@gmail.com:
The zipfile documentation (http://docs.python.org/library/zipfile.html) states:
If the file is created with mode 'a' or 'w' and then close()d without adding
any files to the archive, the appropriate ZIP structures for an empty archive
Georg Brandl ge...@python.org added the comment:
This has been fixed in Python 2.7.1 (which the online docs refer to). I assume
that you're using 2.6 or an earlier version.
As for the code in SVN, the trunk is currently not in use; development
happens in the release27-maint, release31-maint
Ian Stevens iancstev...@gmail.com added the comment:
Yes, I'm using 2.6.
If this is not the expected behaviour in 2.6, the doc should reflect that with
a New in version 2.7 note.
--
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
We usually don't do this for bugfixes, but here it makes sense I guess. r87414.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10748
___