Senthil Kumaran
90ceb4772b
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
2011-08-03 07:43:01 +08:00
Senthil Kumaran
86a1a8974d
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
2011-08-03 07:42:18 +08:00
Benjamin Peterson
bad9c2f13a
avoid warning when SchedParamType is not used
2011-08-02 18:42:14 -05:00
Benjamin Peterson
e3298dda6d
only add sched_param if it is initialized
2011-08-02 18:40:46 -05:00
Benjamin Peterson
8f7bdd3208
I have been spoiled by chained comparisons in python
2011-08-02 18:34:30 -05:00
Benjamin Peterson
9b374bfa03
comparing on number of cpus makes more sense
2011-08-02 18:22:30 -05:00
Benjamin Peterson
0163c9aa0c
fix sched defines
2011-08-02 18:11:38 -05:00
Benjamin Peterson
c5fce4ded2
check individually for some for sched_ functions
2011-08-02 18:07:32 -05:00
Benjamin Peterson
28da7b8bea
move news note to correct section
2011-08-02 17:45:00 -05:00
Benjamin Peterson
e870fe601a
make_new_cpu_set takes the number of cpus
2011-08-02 17:44:26 -05:00
Benjamin Peterson
2740af8cc4
sched.h can exist without sched affinity support
2011-08-02 17:41:34 -05:00
Benjamin Peterson
94b580d423
expose sched.h functions ( closes #12655 )
2011-08-02 17:30:04 -05:00
Benjamin Peterson
4e4d5d2a73
NEWS note for bbeda42ea6a8
2011-08-02 17:29:30 -05:00
Benjamin Peterson
9c46480063
merge heads
2011-08-02 13:06:19 -05:00
Benjamin Peterson
7761b951db
add ThreadError to threading.__all__ ( closes #12679 )
2011-08-02 13:05:47 -05:00
Sandro Tosi
e4f9e2ff21
#12665 : merge with 3.2
2011-08-02 18:43:49 +02:00
Sandro Tosi
2a8d195328
#12665 : Dictionary view example has error in set operation
2011-08-02 18:42:04 +02:00
Sandro Tosi
b1290a5295
#12670 : merge with 3.2
2011-08-02 16:44:31 +02:00
Ezio Melotti
3083c88898
#12183 : merge with 3.2.
2011-08-02 17:42:24 +03:00
Sandro Tosi
692dba244b
#12670 : Fix struct code after forward declaration on ctypes doc
2011-08-02 16:17:14 +02:00
Jason R. Coombs
88bf51baff
Corrected attribute docstring per pep-257 (reference #10639 )
2011-08-02 08:19:31 -04:00
Senthil Kumaran
ef5c716176
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
2011-08-02 18:52:28 +08:00
Senthil Kumaran
d61535d50b
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
...
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:34:53 +08:00
Senthil Kumaran
eb71ad4c71
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
...
Reported by Popa Claudiu and Patch by Santoso Wijaya.
2011-08-02 18:33:41 +08:00
Nadeem Vawda
328b5015a2
Clean up description of Tools/scripts/run_tests.py.
...
Also, add an entry for the script in Tools/scripts/README.
2011-08-02 10:16:45 +02:00
Eli Bendersky
8db645f722
Issue #11049 : fix test_forget to work on installed Python, by using a temporary module for import/forget
2011-08-02 06:24:31 +03:00
Stefan Krah
d9c665b60e
Merge 68b5f87566fb
2011-08-02 01:12:16 +02:00
Stefan Krah
f187a0230b
Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
...
See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
2011-08-02 01:06:16 +02:00
Nadeem Vawda
3c01d16ed9
Issue #11651 : Move options for running tests into a Python script.
...
This will be particularly useful to Windows users.
run_tests.py originally written by Brett Cannon.
2011-08-01 23:48:26 +02:00
Georg Brandl
b0fa4b8433
Merge with 3.2
2011-08-01 22:59:40 +02:00
Georg Brandl
aa71583f09
Use attribute access instead of index access for namedtuple.
2011-08-01 22:58:53 +02:00
Éric Araujo
eec1ed8119
Merge #12295 fix from 3.2
2011-08-01 17:31:12 +02:00
Éric Araujo
ccf03a1cdc
Fix resource warning when looking at turtledemo’s help ( #12295 )
2011-08-01 17:29:36 +02:00
Éric Araujo
cee6bb5499
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
2011-08-01 15:29:07 +02:00
Éric Araujo
23457f1812
Merge 3.2
2011-08-01 14:45:01 +02:00
Éric Araujo
7dfdac0b5a
Branch merge
2011-08-01 14:44:17 +02:00
Éric Araujo
2ffea0e8d7
Branch merge
2011-08-01 14:43:45 +02:00
Vinay Sajip
b07df00bce
Closes #12667 : Merged fix from 3.2.
2011-08-01 11:32:49 +01:00
Vinay Sajip
952595696a
Closes #12667 : Added documentation for SMTPHandler secure argument.
2011-08-01 11:31:52 +01:00
Ezio Melotti
e906c13da4
Merge typo fix.
2011-07-31 22:50:01 +03:00
Ezio Melotti
222e61e444
Fix typo reported by Sandro Tosi.
2011-07-31 22:49:18 +03:00
Éric Araujo
b85b966de6
Stop trying to write into the stdlib during packaging tests ( #12331 ).
...
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.
2011-07-31 20:47:47 +02:00
Éric Araujo
56ec5fe950
Small cleanup
2011-07-31 18:41:25 +02:00
Éric Araujo
ad548b8534
Merge fixes for #9860 , #11104/#8688 and #12331 from 3.2
2011-07-31 18:33:00 +02:00
Éric Araujo
548c054fb7
Stop trying to write into the stdlib during lib2to3 tests ( #12331 ).
...
This prevents tests from failing when run from a Python installed in a
read-only directory.
2011-07-31 17:58:46 +02:00
Nadeem Vawda
9e2e99097c
Fix build error in _curses module when not using libncursesw.
...
Code extracted from Victor Stinner's patch for issue #12567 .
2011-07-31 15:01:11 +02:00
Nadeem Vawda
4fbff6c631
Oops, "make buildbottest" isn't supposed to use -j0.
2011-07-31 13:58:05 +02:00
Senthil Kumaran
2f7c695b97
using support.transient_internet helper method in the urllib2net test.
2011-07-31 11:46:24 +08:00
Senthil Kumaran
e324c57367
using support.transient_internet helper method in the urllib2net test.
2011-07-31 11:45:14 +08:00
Éric Araujo
ab7c1b3f11
Fix regression with distutils MANIFEST handing ( #11104 , #8688 ).
...
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.
2011-07-31 04:06:12 +02:00