| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
method for windows file name sanitization. Splits the unittest up
into several based on platform.
|
| |\
| |
| |
| | |
Remove trailing dots on Windows.
|
| | |
| |
| |
| | |
Remove trailing dots on Windows.
|
| |\ \
| |/
| |
| | |
its destination path when extracting malicious zip files.
|
| | |
| |
| |
| | |
its destination path when extracting malicious zip files.
|
| |\ \
| |/
| |
| |
| | |
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
|
| | |
| |
| |
| |
| | |
incomplete "End of Central Directory" record. Original patch by Guilherme
Polo and Alan McIntyre.
|
| |\ \
| |/
| |
| | |
Python file. Patch by Ben Morgan.
|
| | |
| |
| |
| | |
Python file. Patch by Ben Morgan.
|
| |\ \
| |/
| |
| | |
Patch by Serhiy Storchaka.
|
| | |
| |
| |
| | |
Patch by Serhiy Storchaka.
|
| | |
| |
| |
| | |
unknown.
|
| |\ \
| |/ |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Patch by Serhiy Storchaka.
This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
|
| | |
| |
| |
| | |
Patch by Serhiy Storchaka.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Patch by Serhiy Storchaka.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Patch by Serhiy Storchaka.
This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
|
| |\ \
| |/
| |
| |
| |
| |
| | |
unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
|
| | |
| |
| |
| |
| |
| |
| | |
unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Original fix by 'rep', final patch (with tests) by Xuanji Li.
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
| |
filenames. Patch by MvL, test by Eli Bendersky.
|
| |
|
|
|
|
|
|
|
| |
Previously passing a string in as the password would fail either with
an assertion error or a TypeError with a confusing error message.
Note that a string can't be accepted since zipfile has no way to
guess what encoding should be used to turn it into bytes.
Patch by Victor Stinner.
|
| |
|
|
| |
and provide an interface to it in py_compile, compileall and PyZipFile.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
empty, archive.
|
| |
|
|
| |
ZipFile.open()) could return more bytes than requested.
|
| |
|
|
|
| |
BadZipfile error is raised if it doesn't match (as used to be the
case in Python 2.5 and earlier).
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines
Issue 6003: ZipFile.writestr "compression_type" argument
........
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines
Issue #7610: Reworked implementation of the internal
:class:`zipfile.ZipExtFile` class used to represent files stored inside
an archive. The new implementation is significantly faster and can
be wrapped in a :class:`io.BufferedReader` object for more speedups.
It also solves an issue where interleaved calls to `read()` and
`readline()` give wrong results. Patch by Nir Aides.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line
use assert[Not]IsInstance where appropriate
........
|
| |
|
|
| |
A patch from Dave Malcolm.
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77178 | ezio.melotti | 2009-12-31 15:00:43 +0200 (Thu, 31 Dec 2009) | 1 line
cleanup and refactoring
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77136 | ezio.melotti | 2009-12-30 08:14:51 +0200 (Wed, 30 Dec 2009) | 1 line
#5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74754 | ezio.melotti | 2009-09-12 17:43:43 +0300 (Sat, 12 Sep 2009) | 1 line
#6026 - fix tests that failed without zlib
........
|
| |
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74245 | amaury.forgeotdarc | 2009-07-29 00:15:30 +0200 (mer., 29 juil. 2009) | 3 lines
#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
like it does for larger invalid files.
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74011 | ezio.melotti | 2009-07-15 20:07:04 +0300 (Wed, 15 Jul 2009) | 1 line
methods' names pep8ification
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73931 | ezio.melotti | 2009-07-10 23:25:56 +0300 (Fri, 10 Jul 2009) | 1 line
more cleanups and if zlib -> skipUnless(zlib)
........
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73841 | ezio.melotti | 2009-07-04 17:58:27 +0300 (Sat, 04 Jul 2009) | 1 line
if zlib -> skipUnless(zlib) and minor cleanups
........
|