| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This prevents tests from failing when run from a Python installed in a
read-only directory. The code is a bit uglier; shutil.copytree calls
copystat on directories behind our back, so I had to add an os.walk
with os.chmod (*and* os.path.join!) calls. shutil, I am disappoint.
This changeset is dedicated to the hundreds of neurons that were lost
while I was debugging this on an otherwise fine afternoon.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
This prevents tests from failing when run from a Python installed in a
read-only directory.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The changed behavior of sdist in 3.1 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 (76643c286b9f by Tarek and
d54da9248ed9 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 the 2.7 version 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.
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.
|
|\ \ \ |
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst
|
| |/
|/|
| |
| |
| | |
This issue can arise with ISPs that redirect all connections on port 25 to
their own (crappy) mail servers.
|
|\ \ |
|
| | | |
|
| |\ \ |
|
| | | | |
|
| |/ /
|/| |
| | |
| | | |
adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
|
|\ \ \
| |/ /
|/| /
| |/
| |
| | |
with the `-m` (or `--match`) option. This works with all test cases
using the unittest module. This is useful with long test suites
such as test_io or test_subprocess.
|
| |
| |
| |
| |
| |
| | |
with the `-m` (or `--match`) option. This works with all test cases
using the unittest module. This is useful with long test suites
such as test_io or test_subprocess.
|
| | |
|
|\ \
| |/
| |
| | |
fix it. Patch by Petri Lehtinen.
|
| |
| |
| |
| | |
fix it. Patch by Petri Lehtinen.
|
|\ \
| |/ |
|
| | |
|
| |\ |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Use shortcut dist.version instead of going through metadata;
- Use %r throughout to display project names and paths.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This will help scripts calling pysetup know if a command failed.
Printing/logging was also made more consistent, and a few things were
cleaned up. In particular, the error/Ctrl-C handling was moved from the
_run function up to the main function.
The run action is not fixed yet; it returns the dist.Distribution
instance, which is needed by test_uninstall and not trivial to fix.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
“pysetup list” or “pysetup list --all” will continue to return 0 if no
distribution is found (it’s not an error), but “pysetup list
some.project” will now exit with 1 if no matching installed distribution
is found. Based on a patch by Kelsey Hightower.
|
| |\ \ \
| | | |/
| | |/| |
|
| | |\ \ |
|
| | | |\ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also remove an extra docstring.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The tests don’t use an internal distutils function anymore, and use
regular assertEqual with sorted lists instead of a convoluted manual
diff.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The public names (Thread, Condition, etc.) used to be factory functions
returning instances of hidden classes (_Thread, _Condition, etc.),
because (if Guido recalls correctly) this code pre-dates the ability to
subclass extension types.
It is now possible to inherit from Thread and other classes, without
having to import the private underscored names like multiprocessing did.
A doc update will follow: a patch is under discussion on the issue.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This function used to live as pipes.quote, where it was undocumented but
used anyway. (An alias still exists for backward compatibility.) The
tests have been moved as is, but the code of the function was changed to
use a regex instead of a loop with string comparisons (at Ian Bicking’s
suggestion). I’m terrible at regexes, so any feedback is welcome.
|
|\ \ \ \ \ \
| | |_|_|_|/
| |/| | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As a side effect, this now allows the rjust, ljust and center methods of
bytes and bytearray to accept a bytearray argument.
Patch by Petri Lehtinen
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | | |
as it is no longer applicable in hg. Patch Contributed by Neil Muller.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
longer applicable in hg. Patch Contributed by Neil Muller.
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | | |
to avoid timing-dependent failures.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
to avoid timing-dependent failures.
|
|\ \ \ \ \ \
| |/ / / / / |
|
| | |_|/ /
| |/| | | |
|
| |/ / /
|/| | | |
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | | |
given as a low fd, it gets overwritten.
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
failures.
|