32155 Commits

Author SHA1 Message Date
Anthony Baxter
73cdff47b2 take 3 v2.4.3c1 2006-03-23 02:49:35 +00:00
Anthony Baxter
e311fdce97 aarrrrghhh 2006-03-23 02:49:17 +00:00
Anthony Baxter
65fa3a0fbb 2.4.3c1 2006-03-23 02:26:32 +00:00
Anthony Baxter
022a55c0d9 update - still some old .cvsignore files lying around 2006-03-23 02:26:07 +00:00
Anthony Baxter
49cbb50623 take2... 2006-03-23 02:25:51 +00:00
Anthony Baxter
0e433a7ad1 Tagging for 2.4.3c1 2006-03-23 02:22:32 +00:00
Anthony Baxter
c52b4ada4b update svn:ignore across the board 2006-03-23 02:21:49 +00:00
Anthony Baxter
e33da3b310 2.4.3c1 2006-03-23 02:20:57 +00:00
Anthony Baxter
a87b5493ac 2.4.3c1 2006-03-23 02:13:43 +00:00
Martin v. Löwis
73c8c2c3dd Change SystemError into SyntaxError, when a Unicode string
containing an encoding declaration is compile()d. Fixes
#1115379.
2006-03-22 13:55:50 +00:00
Anthony Baxter
88fd50038b 2.4.3c1 preparations 2006-03-22 04:00:19 +00:00
Armin Rigo
2f58855af4 Backport of r41629: hotshot generated half-meaningless numbers since the
introduction of C calls profiling events.
2006-03-20 09:37:16 +00:00
Vinay Sajip
2c20676e51 Catch situations where currentframe() returns None. See SF patch #1447410, this is a different implementation. 2006-03-20 09:22:40 +00:00
Tim Peters
099e7932cf The new fetch_data_files.py downloads all the input data files
used by encoding tests.  Fiddled the Windows buildbot helper
scripts to invoke this if needed.  Note that this isn't needed
on the trunk (the encoding tests download input files automatically
in 2.5).
2006-03-20 06:06:07 +00:00
Tim Peters
0ca22126ce Merge revs 42842, 42844, and part of a whitespace normalization
patch from the trunk.

This stops test_socket_ssl from dying with:

    TypeError: 'NoneType' object is not callable

in urlparsre.py's urljoin() when the tests are run in this order:

    test_???
    test_importhooks
    test_socket_ssl

"test_???" can be various things, but must be there.  For
example, test_urllibnet "works" to provoke the failure.

Alas, nobody actually understands _why_ test_socket_ssl fails
then, or why this hack makes the problem go away.

Amazingly, the tests just happened to run in the right order on
the 2.4 branch on two Windows buildbot slaves today, causing them
both to fail their most recent test runs before this patch.
2006-03-20 02:12:05 +00:00
Neal Norwitz
5a8605ec1c Backport 43147:
Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace()
returns a non-string when converting %Z.
2006-03-20 02:05:58 +00:00
Kurt B. Kaiser
210256e9ba Source file f.flush() after writing; trying to avoid lossage if user
kills GUI.  Report from Bruce Sherwood.
2006-03-19 22:12:03 +00:00
Tim Peters
c612a5dbca Merge rev 43091 from the trunk.
"""
Try to find a host that responds slower from python.org so this test
does not fail on macteagle (G4 OSX.4 in buildbot)
"""

Since testConnectTimeout() frequently fails in the same way in 2.4
branch, and this patch seems to have fixed it on the trunk, it
should fix it on the 2.4 branch too.
2006-03-18 02:47:38 +00:00
Georg Brandl
d9ca66f2b2 Backport: Fix missing NULL checks after PyTuple_New, PyList_New, PyDict_New 2006-03-17 19:04:15 +00:00
Tim Peters
d1442b4d0e Merge rev 43081 from trunk.
Set eol-style to native.
2006-03-16 18:56:35 +00:00
Tim Peters
d82f391974 Merge rev 43079 from the trunk. This should allow test_winsound to pass
on a box without a sound card.

Update test_winsound to check for a configured sound card (using a VBScript
helper written by Roger Upole and Mark Hammond) and adjust the expected
PlaySoundTest case results accordingly.
2006-03-16 18:52:17 +00:00
Tim Peters
03de6fd89f Merge rev 43063 from trunk.
Oops!  Use python_d.exe _before_ it's destroyed :-)
2006-03-16 02:33:55 +00:00
Tim Peters
b6b7a3ac47 Merge rev 43061 from the trunk.
Change the Windows buildbot "clean" step to remove
stale .pyc files.
2006-03-16 01:56:34 +00:00
Neal Norwitz
854e91889f Backport 43037:
Move test code out of xxmodule and into _testcapimodule.c where it belongs.
2006-03-15 05:44:35 +00:00
Neal Norwitz
8a2bffc235 Backport 42932:
Try to be a bit more consistent on all platforms:
 python .
 python < .

both print a message, return non-zero and do not core dump.
This hopefully fixes the failure on Solaris.
2006-03-14 06:47:07 +00:00