| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
|
|/ /
| |
| |
| | |
a string.
|
| |
| |
| |
| | |
some functions like file.write().
|
| | |
|
| |
| |
| |
| | |
greater than FD_SETSIZE.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.
Fix by Richard M. Tew.
|
| |
| |
| |
| | |
them being inherited by other subprocesses.
|
| |
| |
| |
| |
| |
| |
| | |
interpreter shutdown.
This bug doesn't seem to exist on 3.2, where daemon threads are killed
before Py_Finalize() is entered.
|
| |
| |
| |
| | |
Also added some tests.
|
| | |
|
| |
| |
| |
| | |
Patch by Jeremy Kloth.
|
| |
| |
| |
| | |
could appear on io.BufferedRandom streams.
|
| |
| |
| |
| | |
Even if Python is compiled on Linux 3.
|
| |
| |
| |
| |
| | |
Backporting two lines from the 3.x tests was enough to trigger the bug.
I also took the opportunity of making the logging call lazy.
|
| |
| |
| |
| | |
resources (FD/zombie) when killed at the wrong time.
|
| | |
|
| |
| |
| |
| | |
cased non-letter characters.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a regression introduced in 9211a5d7d0b4, when uses of ST_MTIME
constants were changed to uses of st_mtime attributes. As diagnosed in
the bug report, this change is not merely stylistic: st_mtime is a
float but ST_MTIME’s resolution is rounded to the seconds, so there was
a mismatch between the values seen by file_util and dep_util which
caused an sdist to be unnecessarily created a second time on an ext4
filesystem.
This patch has been tested by John S. Gruber, who reported the bug.
As this is a simple code revert, I think it’s okay to commit without a
unit test.
|
| |
| |
| |
| |
| | |
This prevents tests from failing when run from a Python installed in a
read-only directory.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The changed behavior of sdist in 2.7 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (d29399100973 by Tarek and
f7639dcdffc3 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested with Mercurial, which suffered from
this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using. I also removed a stanza in the docs that
was forgotten in Tarek’s first changeset.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Backport of changeset 070dc6e359fb, reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
|
| | |
|
| |
| |
| |
| | |
given as a low fd, it gets overwritten.
|
| |
| |
| |
| | |
when opening a long file. With Tk 8.5, the first line was hidden.
|
| |
| |
| |
| | |
with mmap. Patch by Steffen Daode Nurpmeso.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
|
|/ /
| |
| |
| | |
so that "import DLFCN" and other similar imports work on Linux 3.0.
|
| |
| |
| |
| |
| |
| | |
The RFC doesn't say that they are allowed; apparently many mailers accept
them, but not postfix. Contributions to this patch were made by Felipe Cruz
and Catalin Iacob.
|
| | |
|
| |
| |
| |
| | |
Patch by Andreas Stührk.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
as the processor type on some Mac systems. Also fix NameError in fallback
_mac_ver_gestalt function. And remove out-of-date URL in docs.
|
| |
| |
| |
| | |
the parent structure. Patch by Vlad Riscutia.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cleared by the garbage collector. This fixes a segfault when an instance
and its type get caught in a reference cycle, and the instance's
deallocator calls one of the methods on the type (e.g. when subclassing
IOBase).
Diagnosis and patch by Davide Rizzo.
|
| |
| |
| |
| |
| |
| | |
failure in name resolution.
Should fix a buildbot failure.
|
| |
| |
| |
| |
| | |
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.
|
| |
| |
| |
| |
| | |
DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test
is now skipped instead.
|
| |
| |
| |
| | |
Python 3.1. callable() is again supported in Python 3.2.
|