Commit Graph

49808 Commits

Author SHA1 Message Date
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
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
Éric Araujo
35a4d01a92 Improve a few docstrings in packaging.
Also beautify import lists.  Having them grouped by lenght makes it slightly
easier to look for a module.
2011-06-04 22:24:59 +02:00
Éric Araujo
459b452b98 Merge ABC and distutils touch-ups from 3.2.
I have removed the reST target I added in 38cdca2cc253: it is not necessary, as
people can link to the glossary entry or the abc module without it.

Two indentation fixes from 3.2 collections.rst have been ported to 3.3
collections.abc.rst.
2011-06-04 21:16:42 +02:00
Éric Araujo
70798be6f6 Remove unneeded executable bit on two distutils files 2011-06-04 20:47:26 +02:00
Éric Araujo
b4ef8f299f Branch merge 2011-06-04 20:37:16 +02:00
Mark Dickinson
7ce0fa8775 Issue #12080: Fix a performance issue in Decimal._power_exact that causes some corner-case Decimal.__pow__ calls to take an unreasonably long time. 2011-06-04 18:14:23 +01:00
Éric Araujo
823759e767 Add reST target for Doc/packaging/setupcfg 2011-06-04 18:46:25 +02:00
Éric Araujo
088025fc5b Use list constructor or built-in method instead of copy module 2011-06-04 18:45:40 +02:00
Éric Araujo
fa088dbd0c Improve glossary entry for ABCs.
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
  linked)
- Link to glossary entry from numbers module doc (other modules already do it)
2011-06-04 18:42:38 +02:00
Éric Araujo
ba661a9c39 Add missing section of doc file lost among repositories and conversions 2011-06-04 02:31:14 +02:00