Commit Graph

32164 Commits

Author SHA1 Message Date
Thomas Wouters
c47bfb0874 Backport Ka-Ping Yee's trunk checkin r41400:
Fix SF bug #417833 (pydoc HTTP reload failure) by removing from
sys.modules all submodules of a the given module/package path
when trying to reload a module.
2006-03-27 12:50:42 +00:00
Neal Norwitz
a8de08daef Backport:
Handle sys.getfilesystemencoding() returning None.
ascii seems like the safest bet, it should exist.  I wonder if utf-8
would be a better choice?  This should get test_fileinput passing on OpenBSD.
2006-03-26 04:10:42 +00:00
Raymond Hettinger
d9578f96ef Fix mark-up. 2006-03-26 01:43:15 +00:00
Raymond Hettinger
ee43b6c0d1 Guarantee evaluation order for izip(). Document its creative uses and its limitations. 2006-03-26 01:33:11 +00:00
Neal Norwitz
af7bb8e95a Backport of rev 43312:
SF bug # 1457358 and patch # 1458419, floor division not documented.  Patch by Andy.
2006-03-25 21:27:08 +00:00
Neal Norwitz
1fcf87f138 Backport:
SF bug #1457411, fix errors using variables that don't exist.

Rename file -> filename to be clear.
2006-03-24 05:41:48 +00:00
Martin v. Löwis
692b4a1ee3 Add 2.4.3 UUIDs. 2006-03-23 19:16:48 +00:00
Tim Peters
a6c0c202f5 Mechanical whitespace normalization. 2006-03-23 19:07:46 +00:00
Anthony Baxter
e5fc774835 2.4.3c1 2006-03-23 02:50:34 +00:00
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