Commit Graph

34750 Commits

Author SHA1 Message Date
Neal Norwitz 3c814d2550 Use unicode (and bytes as appropriate) 2007-08-26 05:08:21 +00:00
Neal Norwitz 8abd2e6c6e Use unicode 2007-08-26 04:57:08 +00:00
Neal Norwitz 3fcbea567b Use unicode and remove support for some uses of str8. 2007-08-26 04:51:28 +00:00
Neal Norwitz ed2b7397a0 Use unicode and remove support for some uses of str8. 2007-08-26 04:51:10 +00:00
Neal Norwitz 6ea45d3341 Use unicode and remove support for some uses of str8. 2007-08-26 04:19:43 +00:00
Kurt B. Kaiser 5b0fdc9d0a Fix another map(...) --> list(map...) 2007-08-26 04:18:40 +00:00
Neal Norwitz 571861d3d3 Remove assert that seems out of place. It triggers with test_string,
but without it test_string passes.  I'm not sure why it was there.
2007-08-26 03:58:25 +00:00
Neal Norwitz 7e95befeda Use unicode and stop supporting str8 2007-08-26 03:56:04 +00:00
Neal Norwitz fe53713506 Use unicode 2007-08-26 03:55:15 +00:00
Gregory P. Smith 9406f5cadb Use the new buffer api for input data. 2007-08-26 02:58:36 +00:00
Neal Norwitz 6777c85cba Use unicode 2007-08-26 02:54:31 +00:00
Neal Norwitz 1ccfa90172 Return a boolean for status 2007-08-26 02:26:31 +00:00
Neal Norwitz e1188629a6 Use unicode 2007-08-26 02:22:30 +00:00
Neal Norwitz 312e10d63e Get rid of more uses of string and use const in a few places. 2007-08-26 02:21:42 +00:00
Neal Norwitz a9ea3d9778 Regenerate 2007-08-26 02:06:15 +00:00
Neal Norwitz fce59bf72a Get the urllib tests to pass without the email package 2007-08-25 19:00:31 +00:00
Neal Norwitz 0337ef62fa Get test working when there are multiple dbs supported. 2007-08-25 18:00:36 +00:00
Neal Norwitz fe61bb9a59 Disable test until email comes back 2007-08-25 17:57:37 +00:00
Neal Norwitz cb51c6e953 Get test_pyclbr to pass after removing the email package 2007-08-25 17:23:06 +00:00
Neal Norwitz 392c5bed12 Use unicode 2007-08-25 17:20:32 +00:00
Neal Norwitz 3ef6a57908 Get rid of compiler warning on 64-bit 2007-08-25 17:08:59 +00:00
Neal Norwitz ae2c876e0e Use unicode 2007-08-25 17:03:03 +00:00
Neal Norwitz 8ced961ae6 Fix some comments 2007-08-25 17:01:41 +00:00
Guido van Rossum 1dd2c82992 Cosmetic fixes to make this work with Py3k (as well as with 2.5 still).
Patch by Christian Heimes.
2007-08-25 14:55:35 +00:00
Guido van Rossum 6398b7a351 Remove the email package for now.
Once Barry and the email-sig have a working new version
we'll add it back.
If it doesn't make the 3.0a deadline (release August 31), too bad.
2007-08-25 13:43:02 +00:00
Neal Norwitz f616b22450 Support unicode names 2007-08-25 08:13:40 +00:00
Neal Norwitz b4e2f76d24 Use unicode 2007-08-25 08:01:41 +00:00
Neal Norwitz a369c5aba6 Use unicode 2007-08-25 07:41:59 +00:00
Neal Norwitz 1978470c3b Fix typo in comment 2007-08-25 05:22:02 +00:00
Guido van Rossum b908126c3a Reorder code and decls so it's compilable with gcc 2.96 (C89). 2007-08-25 03:14:09 +00:00
Eric Smith 8c66326368 Implementation of PEP 3101, Advanced String Formatting.
Known issues:

The string.Formatter class, as discussed in the PEP, is incomplete.

Error handling needs to conform to the PEP.

Need to fix this warning that I introduced in Python/formatter_unicode.c:
Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but not used

Need to make sure sign formatting is correct, more tests needed.

Need to remove '()' sign formatting, left over from an earlier version of the PEP.
2007-08-25 02:26:07 +00:00
Neal Norwitz e4dc324884 Use unicode for AST attributes 2007-08-25 01:33:49 +00:00
Neal Norwitz aefab1e2ac Use unicode 2007-08-25 01:04:34 +00:00
Neal Norwitz e0a0a6e937 Since PyUnicode_AsString is a public API, don't just assert, but do
a regular check and return an error if not unicode.
2007-08-25 01:04:21 +00:00
Neal Norwitz b0d26335f2 Use unicode strings 2007-08-25 00:49:05 +00:00
Neal Norwitz f308132cc2 Add const to input string parameters 2007-08-25 00:32:45 +00:00
Neal Norwitz fa06e5f00f Whoops, not sure how I screwed up the name. Now builds and passes the test. 2007-08-25 00:29:58 +00:00
Neal Norwitz 8d3654db22 Use unicode and add a "test" for syslog 2007-08-25 00:21:36 +00:00
Guido van Rossum a401bbe5f0 Add a few mixed-mode (set vs. dict view) comparisons. 2007-08-24 23:51:55 +00:00
Guido van Rossum cf2ce36fa2 Keir Mierle's improved tests for dict view containment tests. 2007-08-24 23:49:54 +00:00
Guido van Rossum 1d71996013 Add some mixed operations between sets and dict views. 2007-08-24 23:47:30 +00:00
Guido van Rossum be534719da Add unit tests for set ops on dict.items(). 2007-08-24 23:43:52 +00:00
Guido van Rossum 523259ba07 Keir Mierle's set operations for dict views (keys/items only of course). 2007-08-24 23:41:22 +00:00
Neal Norwitz eb8b3a6d61 Use unicode for password modules 2007-08-24 23:26:23 +00:00
Neal Norwitz 6e024b3842 Use the str builtin 2007-08-24 23:17:28 +00:00
Neal Norwitz 41103bf6f2 Ensure that code object names (co_name) are unicode.
Verify that they print properly too.
2007-08-24 23:12:06 +00:00
Neal Norwitz a5d16a3f85 Use unicode for error messages of duplicate args 2007-08-24 22:53:58 +00:00
Neal Norwitz 808c7d86ea Use unicode for reference (is there any way to build this module) 2007-08-24 22:49:25 +00:00
Guido van Rossum aac530cdec Patch with Keir Mierle: add rich comparisons between dict views and sets,
at least for .keys() and .items() (not .values() of course).
2007-08-24 22:33:45 +00:00
Gregory P. Smith c3ee950979 follow up to bug 1007 commit.
Use self.assertTrue in test cases rather than the assert statement.
2007-08-24 22:14:21 +00:00