Éric Araujo
df8ef02488
Style change in packaging: use “not in” over “not x in”.
...
Such tests are IMO easier to read if both operators are grouped.
2011-06-08 04:47:13 +02:00
Éric Araujo
46bdcf7d4b
Packaging: always use repr to display project names.
...
This helps debugging in case of trailing blanks and such things.
2011-06-08 04:40:13 +02:00
Éric Araujo
ea888e038b
Fix misunderstanding of how booleans work
2011-06-08 04:31:18 +02:00
Éric Araujo
3cab2f150c
Packaging cleanup: normalize print calls.
...
Namely: use default arguments instead of explicit empty string; use multiple
arguments instead of building strings.
2011-06-08 04:10:57 +02:00
Éric Araujo
04fc999c05
Packaging cleanup: remove use of script_name where obsolete
2011-06-08 04:06:50 +02:00
Éric Araujo
ef3062f7af
Kill dead code in importlib.test.__main__ ( #12019 , reviewed by Brett Cannon)
2011-06-07 17:58:50 +02:00
Éric Araujo
313570a185
Branch merge: packaging fixes
2011-06-07 17:31:39 +02:00
Łukasz Langa
1752468d39
#12274 : use proper escaping for % in IDLE config (merged from 3.2).
2011-06-07 15:20:51 +02:00
Łukasz Langa
41c1910bb3
#12274 : use proper escaping for % in IDLE config.
2011-06-07 15:19:44 +02:00
Victor Stinner
3adba1ff81
(Merge 3.2) test.support: don't catch OSError when can_symlink() removes the
...
temporary symbolic link.
2011-06-07 12:19:34 +02:00
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