Commit Graph

49917 Commits

Author SHA1 Message Date
Victor Stinner 62ec61fb6a test.support: can_symlink() removes the temporary symbolic link 2011-06-07 12:17:15 +02:00
Brett Cannon eb175c473d Remove a redundant assignment.
Found by LLVM/clang 2.9.
2011-06-06 20:24:11 -07:00
Brett Cannon 5fac8af22c Checking if an unsigned long is < 0 is pointless.
Found by LLVM/clang 2.9.
2011-06-06 20:22:56 -07:00
Brett Cannon a0b1ff5844 Remove some extraneous parentheses and swap the comparison order to
prevent accidental assignment.

Silences a warning from LLVM/clang 2.9.
2011-06-06 20:20:36 -07:00
Brett Cannon c5011fe227 When building sqlite3, the directory where sqlite.h was found was
always appended to the include directories regardless of whether it
was already in the list of directories. This could cause issue if
sqlite was installed in the same location as another install of
Python. Now a check is done to make sure the directory is not included
twice.
2011-06-06 20:09:10 -07:00
Victor Stinner 149b1c7797 Use a sleep for test_subprocess timeout test
instead of an active loop (while True: pass) to limit race conditions.
2011-06-06 23:43:02 +02:00
Éric Araujo 69cdf9294f Fix UnboundLocalError in a finally block of one packaging test 2011-06-06 22:24:19 +02:00
Éric Araujo 7373fccd50 Fix sdist to always include setup.cfg (#11092), to comply with the spec 2011-06-06 21:55:43 +02:00
Éric Araujo 078368fe4d Use strings instead of sets of lines in packaging.create tests.
Using sets in tests did not check whether the values were written in the right
section or with the right key.
2011-06-06 20:59:56 +02:00
Éric Araujo de7563bd3c Fix comment 2011-06-06 20:28:13 +02:00
Éric Araujo 9808dac192 Update comments in sysconfig.cfg 2011-06-06 20:07:04 +02:00
Éric Araujo fdeb8bf292 Fix documentation of requires-python field in setup.cfg (#11041) 2011-06-06 19:57:02 +02:00
Charles-François Natali 368f34bb4b Issue #12196: Make os.pipe2() flags argument mandatory. 2011-06-06 19:49:47 +02:00
Antoine Pitrou 34b312e33d Whitespace normalization 2011-06-06 19:36:01 +02:00
Antoine Pitrou 176f07dadf Issue #12040: Expose a new attribute `sentinel` on instances of
:class:`multiprocessing.Process`.  Also, fix Process.join() to not use
polling anymore, when given a timeout.
2011-06-06 19:35:31 +02:00
Antoine Pitrou f068ab8304 Issue #11893: Remove obsolete internal wrapper class `SSLFakeFile` in the smtplib module.
Patch by Catalin Iacob.
2011-06-06 19:17:09 +02:00
Éric Araujo e67b1eab32 Merge 3.2 2011-06-06 17:13:08 +02:00
Éric Araujo e77535c90b Branch merge 2011-06-06 17:12:29 +02:00
Éric Araujo 5b52f95797 Branch merge 2011-06-06 17:11:47 +02:00
Éric Araujo 9f0df8bdb8 Remove wsgiref.egg-info from msi.py (follow-up to d615eb7bce33, #12218) 2011-06-06 17:08:41 +02:00
Victor Stinner 883456833c Issue #12250: regrtest --timeout displays a warning instead of failing with an
error if faulthandler.dump_tracebacks_later() is missing (e.g. if Python is
compiled without threads).
2011-06-06 12:14:23 +02:00
Victor Stinner 9e586c2b35 Issue #12250: modify "make buildbottest" command line instead of TESTOPTS
Add TESTTIMEOUT variable (default: 3600 seconds). Use TESTTIMEOUT=0 to disable
the timeout.
***
fix
2011-06-06 12:04:36 +02:00
Martin v. Löwis 8480bc65bc Drop claim about nasty problem.
It's unclear what this was referring to; most likely, it was about sockets
that the application had already closed, in which case it's not a sockets
problem, but an application problem.
2011-06-06 10:27:56 +02:00
Martin v. Löwis 2d449aa004 Drop unfounded claims about performance. 2011-06-06 10:25:55 +02:00
Benjamin Peterson f0cdbad1b3 always clear parser error 2011-06-05 22:14:05 -05:00
Benjamin Peterson b58359cca8 merge heads 2011-06-05 22:05:22 -05:00
Benjamin Peterson b204a42383 greatly improve argument parsing error messages (closes #12265) 2011-06-05 22:04:07 -05:00
Éric Araujo a69ade81be Rephrase the section about spec versioning 2011-06-06 02:02:34 +02:00
Éric Araujo 60533e03e9 Fix a few typos 2011-06-06 02:00:54 +02:00
Éric Araujo 1cf8a3203d Minor rework of the extensibility and acks sections 2011-06-06 02:00:03 +02:00
Éric Araujo 8a4e7a9e2c Move a non-PEP 345 field at the end of the metadata fields list 2011-06-06 01:58:54 +02:00
Éric Araujo 1389008022 Make example of file inclusion in setupcfg more obvious 2011-06-06 01:58:25 +02:00
Éric Araujo ed4fd704aa Rephrase and update intro and syntax sections of setupcfg 2011-06-06 02:07:24 +02:00
Éric Araujo 0300b5c9e6 Change reST targets in setup.cfg spec.
I chose “setupcfg” as prefix instead of “packaging-setupcfg” because the scope
of the spec is not limited to packaging: it’s intended as a language-agnostic
document for packaging tools developers as well as Python authors.
2011-06-06 01:54:54 +02:00
Éric Araujo f0f9b22459 Add a short table of contents to the setup.cfg spec.
I tried shortening the sidebar ToC with the tocdepth option instead, but it has
a bug which caused all headings with a level deeper than the tocdepth value to
all have the same section number, which was a usability regression rather than
in improvement.
2011-06-06 01:52:37 +02:00
Éric Araujo d5d831b74d Update doctring now that Python has real booleans 2011-06-06 01:13:48 +02:00
Martin v. Löwis e8583e94e6 Drop old UUIDs. 2011-06-05 20:43:30 +02:00
Martin v. Löwis 40b408d455 merge:Do not add txt files twice 2011-06-05 19:43:56 +02:00
Martin v. Löwis b8c60130f1 null merge 2011-06-05 19:43:03 +02:00
Martin v. Löwis 63660ce214 merge:Do not add txt files twice 2011-06-05 19:42:21 +02:00
Martin v. Löwis 721bb33e3b Add 3.1.4 UUIDs. 2011-06-05 10:56:44 +02:00
Martin v. Löwis 4c226dac02 Do not add txt files twice. 2011-06-05 10:55:57 +02:00
Vinay Sajip 5056c8c718 Closes issue #11557: removal of non-idiomatic code in test_logging. 2011-06-05 09:31:34 +01:00
Gregory P. Smith d64b2bae9b merge heads. 2011-06-04 23:05:19 -07:00
Benjamin Peterson e13e662244 merge heads 2011-06-04 22:09:08 -05:00
Benjamin Peterson f719957d7a only clear the parser error if it's set (closes #12264) 2011-06-04 22:06:42 -05:00
Éric Araujo 4559383664 Improve consistency in questions asked by packaging.create.
I reworded “wizard” because it is a Windows-specific term.
2011-06-04 22:37:57 +02:00
Éric Araujo 8f66f61e55 Clean up packaging.create and add TODO notes for future cleanups 2011-06-04 22:36:40 +02:00
Éric Araujo 18efecf30a Make help messages in packaging.run more consistent 2011-06-04 22:33:59 +02:00
Éric Araujo 2ef747cb77 Cleanup in packaging: don’t unnecessarily instantiate exceptions 2011-06-04 22:33:16 +02:00