Commit Graph

35115 Commits

Author SHA1 Message Date
Guido van Rossum 1daf954dcf Add numbers.py. I suspect this is an old version, but Jeffrey is out
of town, and it will have to do for now.
2007-08-30 17:45:54 +00:00
Collin Winter 3cd6537beb Fix a lingering string exception. 2007-08-30 17:37:22 +00:00
Neal Norwitz bf2604c0cc Fix typo 2007-08-30 17:22:44 +00:00
Guido van Rossum b365c15fb8 Add 2.6 and 3.0 to the silly list. 2007-08-30 17:21:12 +00:00
Guido van Rossum 0cfc8bd87c Update patch level to 3.0a1. We're close enough. 2007-08-30 17:20:01 +00:00
Guido van Rossum 4405cf3c62 Update Misc/NEWS. Add RELNOTES. 2007-08-30 17:16:55 +00:00
Thomas Heller 6790d606ff Forbid an empty argument list in execv call.
Fixes issue 1039.
2007-08-30 17:15:14 +00:00
Martin v. Löwis 8a7c866e18 Move definition of TZNAME_ENCODING further up. 2007-08-30 15:40:24 +00:00
Walter Dörwald 2b65c75988 Set startinpos before calling the error handler. 2007-08-30 15:35:26 +00:00
Walter Dörwald a651d3de00 Rewrap line. 2007-08-30 15:29:21 +00:00
Martin v. Löwis 4c6c7caf83 Port to Python 3.0. 2007-08-30 15:23:04 +00:00
Martin v. Löwis 945362cf97 Implement PYTHONNOERRORWINDOW. 2007-08-30 14:57:25 +00:00
Guido van Rossum ef0f129133 Move the copyright and license stuff to the end. 2007-08-30 14:51:05 +00:00
Martin v. Löwis 3bb00703da Explicitly convert tzname to Unicode. Fixes #1040. 2007-08-30 14:37:48 +00:00
Barry Warsaw 2cc1f6d95b More email package related repairs. This fixes smtplib's import and use of
email.base64mime, but test_smtplib still has failures for me.  They are
timeout errors so think they're more related to my current wacky network setup
than bugs remaining in the code related to the email package.

This also r57693 that got clobbered with the sandbox sync, and fixes a couple
of other minor problems that cropped up.  I will kill the sandbox branch next.

The email package now has 11F/11E.
2007-08-30 14:28:55 +00:00
Guido van Rossum 5a23cc5a01 Two changes (not enough to make the test pass though) having to do with
the bytes() constructor when passing str.
2007-08-30 14:02:43 +00:00
Martin v. Löwis d24fdbcff3 Use s# instead of t# for nis_match. 2007-08-30 10:21:51 +00:00
Martin v. Löwis a79f1254ff Stop testing for encoded file names, as Python 3 does
not support them, anyway.
2007-08-30 10:08:57 +00:00
Neal Norwitz eaa16f9737 Try to fix test_plistlib so it uses bytes consistently in this call 2007-08-30 06:37:08 +00:00
Kurt B. Kaiser 152b3c2170 Use inspect.py and clean up. 2007-08-30 06:35:15 +00:00
Neal Norwitz f40080f247 Try to fix test_aepack by comparing bytes with bytes. 2007-08-30 06:32:09 +00:00
Neal Norwitz 9a92310f87 Write bytes instead of unicode 2007-08-30 06:20:05 +00:00
Neal Norwitz 78a70bd870 Try to get test_pep352 and maybe test_platform to work on a Windows buildbot 2007-08-30 06:16:26 +00:00
Neal Norwitz 09cff641b8 Since the filename is encoded, we must add bytes to it. The test
still fails, but gets a little further with this change.
2007-08-30 05:59:15 +00:00
Martin v. Löwis f73999165e Add uuids for 3.0. 2007-08-30 05:45:17 +00:00
Neal Norwitz 16596ddb61 Try to fix the problem on the Windows buildbot where this code:
b * sys.maxint  # from test_bytes.py line 379

Caused:  SystemError: error return without exception set
2007-08-30 05:44:54 +00:00
Martin v. Löwis ff0940ff53 Bump version numbers. 2007-08-30 05:40:17 +00:00
Neal Norwitz cabac0ac3a Stop using the find function on the string module, use the string method.
This will hopefully fix the problem on a Windows buildbot with test_sundry.
2007-08-30 05:35:41 +00:00
Martin v. Löwis 0c3842fe26 Forward Windows build instructions to PCbuild. 2007-08-30 05:34:10 +00:00
Neal Norwitz c247e51e68 Make this module importable, this gets test___all__ to pass. 2007-08-30 05:19:29 +00:00
Collin Winter 5b7e9d76f3 General cleanup, raise normalization in Lib/distutils. 2007-08-30 03:52:21 +00:00
Collin Winter a73bfee73d Raise statement normalization in Lib/ctypes/. 2007-08-30 03:47:13 +00:00
Guido van Rossum 9604e66660 Oops. I copied a slightly older version of the email package from the sandbox.
This should restore the email package in the py3k branch to exactly what's in
the sandbox.

This wipes out 1-2 fixes made post-copy, which I'll re-apply shortly.
2007-08-30 03:46:43 +00:00
Neal Norwitz 2c440a1086 Use the new name for the parser module. 2007-08-30 03:10:46 +00:00
Neal Norwitz 315d845739 Revert revisions 57472, 57474, and 57477 which disabled some tests
when the email package was removed.  Email was restored, so restore the tests.
2007-08-30 03:06:59 +00:00
Barry Warsaw 8b3d659692 Fix a more bytes/str confusion.
Use str.encode('raw-unicode-escape') consistently instead of bytes(string).

Remove the convert_eols argument from base64mime.decode().  This matches
previous API changes done to the quoprimime module.
2007-08-30 02:10:49 +00:00
Collin Winter ce36ad8a46 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
Guido van Rossum 8b3febef2f Copying the email package back, despite its failings. 2007-08-30 01:15:14 +00:00
Guido van Rossum 21b731fb77 Fix an outdated URL in a SyntaxError message. 2007-08-30 00:10:46 +00:00
Guido van Rossum 8188e63452 When clobbering, also clean the docs. 2007-08-29 23:48:29 +00:00
Collin Winter 95fb569f46 Revert r57685 (weird merge result). 2007-08-29 23:41:34 +00:00
Guido van Rossum ba1fffac86 Make it work with Py3k. 2007-08-29 23:37:34 +00:00
Collin Winter 3add4d78ff Raise statement normalization in Lib/test/. 2007-08-29 23:37:32 +00:00
Collin Winter e0281cab81 2007-08-29 23:37:10 +00:00
Collin Winter 98e0d4c61c 2007-08-29 23:36:47 +00:00
Guido van Rossum 5420bc3167 Don't delete test output when "make clean" is run -- only when "make
clobber" is run.  (Thanks Thomas W. for pointing this out!)
2007-08-29 23:35:30 +00:00
Guido van Rossum 77b5e33e7d Modernize clean and funny targets. 2007-08-29 23:24:02 +00:00
Guido van Rossum 1c896e3f97 Mostly rewritten, much shorter README for Py3k. 2007-08-29 23:03:30 +00:00
Guido van Rossum 63175a1330 [Oops, I forgot half of the patch.]
Patch # 1050 by Amaury Forgeot d'Arc.
On Windows, debug builds insert stack probes, and recursive functions
tend to exhaust the stack faster.
This patch reduces the marshal maximum depth from 2000 to 1500 for debug
builds only. Optimized builds are not affected.
This allows test_marshal to pass with debug builds.
2007-08-29 20:39:13 +00:00
Guido van Rossum f7f3deb702 Andother bytes/str comparison caught by Jeremy's change. 2007-08-29 20:24:57 +00:00