Éric Araujo
29f6297605
Fix wrong use of root logger in packaging (also a NameError)
2011-08-04 17:17:07 +02:00
Ned Deily
2ef905d449
Issue #12540 : Prevent zombie IDLE processes on Windows due to changes
...
in os.kill(). Original patch by Eli Bendersky.
2011-08-04 23:38:19 -07:00
Brett Cannon
252365bab8
Silence the altered state warning about threadgs when running test_httplib.
2011-08-04 22:43:11 -07:00
Brett Cannon
40ccea7e1e
Silence altered execution state warnings from test_telnetlib involving threads.
2011-08-04 22:37:55 -07:00
Brett Cannon
a4265546f9
Explicitly close a file to stop raising a ResourceWarning.
2011-08-04 21:34:52 -07:00
Senthil Kumaran
12fe95351b
merge from 3.2 - change the extra svn to svn+ssh
2011-08-03 22:09:51 +08:00
Senthil Kumaran
7ce71f6496
change the redundant svn scheme urljoin test case to svn+ssh scheme.
2011-08-03 22:08:46 +08:00
Senthil Kumaran
56ee6d1820
merged heads
2011-08-03 18:46:24 +08:00
Senthil Kumaran
8283a622fc
merge heads
2011-08-03 18:45:02 +08:00
Senthil Kumaran
8a984b58b7
merge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn scheme.
2011-08-03 18:44:10 +08:00
Senthil Kumaran
2a157d2a3d
Fix closes issue12683 - urljoin to work with relative join of svn scheme.
2011-08-03 18:37:22 +08:00
Georg Brandl
83fad3e2ce
Merge with 3.2.
2011-08-03 08:29:12 +02:00
Georg Brandl
25e2cd1388
Fix spacing in string literal.
2011-08-03 08:27:00 +02:00
Benjamin Peterson
43234ab685
handle sched_rr_get_interval not working on current
2011-08-02 22:19:14 -05:00
Benjamin Peterson
50ba271dbb
fix punctuation
2011-08-02 22:15:40 -05:00
Benjamin Peterson
c158158086
fix indentation
2011-08-02 22:10:55 -05:00
Benjamin Peterson
b0fc9c4d0a
merge heads
2011-08-02 22:09:56 -05:00
Benjamin Peterson
539b6c41ff
OSX doesn't check sched_get_priority_(min/max) argument
2011-08-02 22:09:37 -05:00
Eli Bendersky
2b6ee28630
Issue #11049 : fix test_forget on installed Python - add os.curdir to sys.path
2011-08-03 05:18:33 +03:00
Ned Deily
e5cad23a92
Issue #12540 : Prevent zombie IDLE processes on Windows due to changes
...
in os.kill(). Original patch by Eli Bendersky.
2011-08-02 18:47:13 -07:00
Benjamin Peterson
18592ca589
bsd doesn't like letting normal processes set the scheduler
2011-08-02 18:48:59 -05:00
Benjamin Peterson
c5fce4ded2
check individually for some for sched_ functions
2011-08-02 18:07:32 -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
7761b951db
add ThreadError to threading.__all__ ( closes #12679 )
2011-08-02 13:05:47 -05: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
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
É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
7dfdac0b5a
Branch merge
2011-08-01 14:44:17 +02:00
Éric Araujo
2ffea0e8d7
Branch merge
2011-08-01 14:43:45 +02: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
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
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
Senthil Kumaran
b351a48eee
Addressing the review comments by Antoine Pitrou for smtplib.py and test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst
2011-07-31 09:14:17 +08:00
Nadeem Vawda
3fc5868a1d
test_smtpnet: Skip STARTTLS test if the server doesn't support it.
...
This issue can arise with ISPs that redirect all connections on port 25 to
their own (crappy) mail servers.
2011-07-30 23:46:54 +02:00
Senthil Kumaran
193cd2fb26
merge heads.
2011-07-30 10:57:28 +08:00
Senthil Kumaran
3d23fd6493
Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
2011-07-30 10:56:50 +08:00
Benjamin Peterson
18d7d7a217
also make NotImplementedType callable
2011-07-29 18:27:44 -05:00
Benjamin Peterson
d83be998fc
merge heads
2011-07-29 18:20:35 -05:00
Benjamin Peterson
c4607aeedd
make the types of None and Ellipsis callable
2011-07-29 18:19:43 -05:00
Antoine Pitrou
f83e4acbae
Issue #12626 : In regrtest, allow to filter tests using a glob filter
...
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.
2011-07-29 23:57:10 +02:00