summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Testing against a different default encoding is meaningless as the defaultBrett Cannon2007-07-291-39/+0
| | | | encoding can only be UTF-8 now.
* Expat parser no longer has a returns_unicode attribute since everything isBrett Cannon2007-07-291-2/+0
| | | | Unicode now.
* Use BytesIO instead of cStringIO.StringIO.Martin v. Löwis2007-07-281-5/+5
|
* Revert previous checkin.Martin v. Löwis2007-07-281-7/+7
|
* Fix quopri to operate consistently on bytes.Martin v. Löwis2007-07-282-75/+87
|
* Return bytes, not str8.Martin v. Löwis2007-07-281-7/+7
|
* Patch #1762412: Fix test case for struni branch.Martin v. Löwis2007-07-281-44/+20
|
* Fix the minidom test.Guido van Rossum2007-07-273-24/+21
| | | | | In order to do this, I added an optional encoding argument to io.StringIO. The toprettyxml() function returns bytes when you specify an encoding now.
* SF patch# 1759922 by Alexandre Vassalotti.Guido van Rossum2007-07-271-6/+1
| | | | Fix one of the two failing tests for minidom.
* Make test_sgmllib pass on OSX. Hopefully it still passes everywhere else too.Guido van Rossum2007-07-271-1/+1
|
* Fix the docstrings for keys(), items(), values() (especially the latter).Guido van Rossum2007-07-271-61/+6
| | | | Get rid of some #ifdef'ed-out code.
* SF patch# 1757839 by Alexandre Vassalotti (part 2).Guido van Rossum2007-07-271-107/+107
| | | | Change a bunch of .assert_(X == Y) to .assertEqual(X, Y).
* SF patch# 1761465 by Jeffrey Yasskin.Guido van Rossum2007-07-277-105/+127
| | | | Fix test_aepack and test_applesingle.
* Delete redundant read() and close() methods from SocketIO class.Guido van Rossum2007-07-271-24/+0
|
* Don't redirect stdout for test_curses.Guido van Rossum2007-07-261-3/+4
| | | | Kill some dead (commented-out) code.
* Return bytes, not string from read(). Makes test_mmap.py pass.Guido van Rossum2007-07-261-1/+1
|
* Move xdrlib over to the bytes type.Brett Cannon2007-07-262-7/+7
|
* Move shelve over to BytesIO as pickle.(Pickler | Unpickler) expect binaryBrett Cannon2007-07-262-16/+16
| | | | | | files, not text files. test_shelve still fails thanks to bsddb not having been fixed.
* Fix two bad type identifiers that caused crashes on OSX (icglue and Nav).Guido van Rossum2007-07-254-6/+4
| | | | Silence two innocuous warnings (_File and _collections).
* Make the last two curses demos work again -- they were using floatGuido van Rossum2007-07-242-28/+28
| | | | | | division. The other curses demos all work fine, so I'm more confident that the curses library actually works. (Don't try to display non-ASCII characters, of course.)
* ccMake test_curses pass.Guido van Rossum2007-07-241-35/+74
| | | | Can't guarantee I caught every spot.
* Make test_wave.py pass.Guido van Rossum2007-07-232-6/+6
| | | | I have no illusion that this fixes all issues with this module.
* Make test_tcl.py pass, by accepting unicode strings as variable names.Guido van Rossum2007-07-231-0/+4
|
* Tweaks to make the codecmaps tests pass again.Guido van Rossum2007-07-234-20/+20
| | | | (To run these, you need to pass -uurlfetch to regrtest.py or runtests.sh.)
* SF patch# 1759016 by Joe Gregorio, who writes:Guido van Rossum2007-07-233-148/+28
| | | | | | | | | | 1. Removed "returns_unicode" attribute, associated code in the module to support that attribute, and all tests associated with it. 2. Parsed data is now returned as unicode strings. 3. Changed input tests to use io.BytesIO instead of StringIO, to reflect the byte processing nature of expat.
* SF patch# 1758570 by Jeffrey Yasskin, who writes:Guido van Rossum2007-07-231-7/+3
| | | | | | I made Carbon.File.pathname return unicode, by analogy with macpath.abspath. There could easily be other bugs of the same sort in this file. The uses of PyString_FromString*() in particular look sketchy.
* Don't use cwnon-ASCII characters in the source; use \ooo escapes.Guido van Rossum2007-07-231-3/+2
| | | | (This doesn't fix test_cookielib, just removes the SyntaxError.)
* Fix import of frozen package submodules to use Unicode. Fixes test_frozen.Guido van Rossum2007-07-231-3/+4
|
* Add a command line option to set the -u flag.Guido van Rossum2007-07-231-1/+7
|
* Don't use a sleep to wait for the server to be ready; this causedGuido van Rossum2007-07-231-3/+5
| | | | problems on my OSX laptop. use a condition variable instead.
* Fix test_largefile by changing some string literals to byte literals.Collin Winter2007-07-231-4/+4
|
* Fix test_poplib failures.Collin Winter2007-07-231-1/+1
|
* Make close() (all versions) ignore IOError from flush().Guido van Rossum2007-07-221-4/+11
| | | | | | | This makes test_resource.py pass, and I think it's the right thing to do: if you're closing a file after encountering an I/O error there's nothing you can do about it. If you want the error, you can call flush() yourself.
* Remove this test; it checked for a single old bug and I don't think thatGuido van Rossum2007-07-221-24/+0
| | | | | its failure means much, now that the handling of unicode and bytes has changed so much.
* Make test_compile not fail.Guido van Rossum2007-07-221-3/+3
| | | | | | I *think* it's okay no longer to require that compiling a Unicode string with a coding declaration fails; it seems appropriate to just ignore it.
* Drop cPickle from Windows build process.Martin v. Löwis2007-07-222-5/+0
|
* Merged revisions 56483-56491 via svnmerge fromMartin v. Löwis2007-07-2228-261/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r56486 | kurt.kaiser | 2007-07-22 05:27:08 +0200 (So, 22 Jul 2007) | 2 lines Fix typo introduced at r55797 ........ r56487 | kurt.kaiser | 2007-07-22 07:48:45 +0200 (So, 22 Jul 2007) | 2 lines Exception attr accessed via args in py3k. ........ r56489 | martin.v.loewis | 2007-07-22 15:32:44 +0200 (So, 22 Jul 2007) | 2 lines Regenerate. ........ r56490 | martin.v.loewis | 2007-07-22 15:34:06 +0200 (So, 22 Jul 2007) | 2 lines Port Mac modules to PEP 3123. ........ r56491 | martin.v.loewis | 2007-07-22 16:35:53 +0200 (So, 22 Jul 2007) | 1 line Port to PEP 3123. ........
* Fix merge breakage.Martin v. Löwis2007-07-219-26/+26
|
* Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis2007-07-21134-1577/+1388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines Merged revisions 56466-56476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. ........ ................ r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines PEP 3123: Use proper C inheritance for PyObject. ................ r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines Add longintrepr.h to Python.h, so that the compiler can see that PyFalse is really some kind of PyObject*. ................ r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines Qualify SHIFT, MASK, BASE. ................ r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines Correctly refer to _ob_next. ................
* SF patch# 1757683 by Alexandre Vassalotti. Add support forGuido van Rossum2007-07-211-0/+5
| | | | seeking/writing beyond EOF to io.BytesIO.
* SF patch# 1757839 by Alexandre Vassalotti -- make test_mailbox andGuido van Rossum2007-07-214-14/+17
| | | | test_old_mailbox pass.
* SF patch# 1757758 by Alexandre Vassalotti, fixing test_ucn.Guido van Rossum2007-07-211-6/+6
|
* Make doctest pass by specifying the right encoding.Collin Winter2007-07-201-1/+1
|
* Fix test_uuid.py.Guido van Rossum2007-07-201-4/+5
| | | | Add a note that this module is thread-unsafe. :-(
* Delete failing test that was checking that a slot declaration withGuido van Rossum2007-07-201-9/+5
| | | | | a non-ASCII character in it should fail. Because of PEP 3131 this test is bogus anyway. Also some cosmetic cleanup.
* Make audioop and its tests use bytes throughout.Martin v. Löwis2007-07-202-64/+65
|
* Fix test_doctest: drop u prefixes; explicitly declareMartin v. Löwis2007-07-202-20/+14
| | | | encoding as latin-1 if we want it to fail.
* Merged revisions 56443-56466 via svnmerge fromGuido van Rossum2007-07-2041-137/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56454 | kurt.kaiser | 2007-07-18 22:26:14 -0700 (Wed, 18 Jul 2007) | 2 lines Make relative imports explicit for py3k ................ r56455 | kurt.kaiser | 2007-07-18 23:12:15 -0700 (Wed, 18 Jul 2007) | 2 lines Was modifying dict during iteration. ................ r56457 | guido.van.rossum | 2007-07-19 07:33:19 -0700 (Thu, 19 Jul 2007) | 2 lines Fix failing test. ................ r56466 | guido.van.rossum | 2007-07-19 20:58:16 -0700 (Thu, 19 Jul 2007) | 35 lines Merged revisions 56413-56465 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56439 | georg.brandl | 2007-07-17 23:37:55 -0700 (Tue, 17 Jul 2007) | 2 lines Use "Unix" as platform name, not "UNIX". ........ r56441 | guido.van.rossum | 2007-07-18 10:19:14 -0700 (Wed, 18 Jul 2007) | 3 lines SF patch# 1755885 by Kurt Kaiser: show location of Unicode escape errors. (Slightly tweaked for style and refcounts.) ........ r56444 | kurt.kaiser | 2007-07-18 12:58:42 -0700 (Wed, 18 Jul 2007) | 2 lines Fix failing unicode test caused by change to ast.c at r56441 ........ r56451 | georg.brandl | 2007-07-18 15:36:53 -0700 (Wed, 18 Jul 2007) | 2 lines Add description for wave.setcomptype() values ........ r56456 | walter.doerwald | 2007-07-19 06:04:38 -0700 (Thu, 19 Jul 2007) | 3 lines Document that codecs.lookup() returns a CodecInfo object. (fixes SF bug #1754453). ........ r56463 | facundo.batista | 2007-07-19 16:57:38 -0700 (Thu, 19 Jul 2007) | 6 lines Added a select.select call in the test server loop to make sure the socket is ready to be read from before attempting a read (this prevents an error 10035 on some Windows platforms). [GSoC - Alan McIntyre] ........ ................
* Fix test_cookie.py.Guido van Rossum2007-07-201-5/+5
|
* Getting rid of cPickle. Mmm, feels good!Guido van Rossum2007-07-2022-5846/+38
|