summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change isoformat() methods to return unicode strings.Walter Dörwald2007-05-311-48/+32
|
* Change format_ctime() to return unicode (i.e.Walter Dörwald2007-05-311-6/+4
| | | | date.ctime() and datetime.ctime() return unicode now).
* Change float.__str__() and complex.__str__() to returnWalter Dörwald2007-05-313-2/+3
| | | | unicode objects.
* Add support for width, precision and zeropadding to the %d, %i, %u and %xWalter Dörwald2007-05-311-30/+86
| | | | | | format specifiers in PyUnicode_FromFormat(). Change unicode's tp_str implementation to return a unicode object.
* Add a helper to display the various flags and components of code objectsGuido van Rossum2007-05-301-0/+56
| | | | (everything besides the actual code disassembly).
* Fix test_openpty.Guido van Rossum2007-05-301-2/+2
|
* types.StringType is gone, use str directly instead.Walter Dörwald2007-05-291-1/+4
|
* Remove debug print.Walter Dörwald2007-05-291-1/+0
|
* Fix typo.Walter Dörwald2007-05-291-1/+2
|
* Fix test_pty.py.Walter Dörwald2007-05-291-7/+7
|
* Fix file test.Walter Dörwald2007-05-291-1/+1
|
* Merged revisions 55588-55630 via svnmerge fromGuido van Rossum2007-05-293-1363/+5
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55598 | neal.norwitz | 2007-05-26 10:44:02 +0800 (Sat, 26 May 2007) | 1 line Fix refleak on infinite recursion ........ r55599 | neal.norwitz | 2007-05-26 10:47:45 +0800 (Sat, 26 May 2007) | 1 line Add news entry about overidding isinstance/issubclass (PEP 3119) ........ r55629 | brett.cannon | 2007-05-29 08:06:59 +0800 (Tue, 29 May 2007) | 3 lines Delete the cstubs module. Used as input to Modules/cgen.py to generate the gl module which has already been removed. ........
* Get rid of a test for repr() of a file object.Guido van Rossum2007-05-271-8/+0
|
* Modernize. Values are now bytes.Guido van Rossum2007-05-271-14/+27
|
* Make the binhex test pass on Darwin.Guido van Rossum2007-05-271-4/+4
| | | | Grr. Do we really want to support this module?
* Remove use of types.StringType.Guido van Rossum2007-05-271-5/+3
|
* Use input(), not our own fake raw input (in one place).Guido van Rossum2007-05-271-6/+1
|
* Make struct tests pass.Guido van Rossum2007-05-273-24/+41
|
* Make xmlrpclib fail less (test_sundry passes).Guido van Rossum2007-05-271-30/+19
|
* Add isatty() to TextIOWrapper.Guido van Rossum2007-05-271-0/+3
|
* Make input9) behave properly with the new I/O library.Guido van Rossum2007-05-271-14/+66
|
* Change tp_str implementations of exception classesWalter Dörwald2007-05-261-223/+35
| | | | to return unicode strings.
* Minimal fixes to save the bootstrap on OSX.Guido van Rossum2007-05-252-4/+5
|
* Merged revisions 55545-55587 via svnmerge fromGuido van Rossum2007-05-252-2/+113
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55587 | guido.van.rossum | 2007-05-25 10:37:01 -0700 (Fri, 25 May 2007) | 2 lines Implement isinstance and issubclass overriding, a la PEP 3119. ........
* Change PyErr_Format() to generate a unicode string (by usingWalter Dörwald2007-05-255-45/+33
| | | | | | | | PyUnicode_FromFormatV() instead of PyString_FromFormatV()). Change calls to PyErr_Format() to benefit from the new format specifiers: Using %S, object instead of %s, PyString_AS_STRING(object) with will work with unicode objects too.
* Document the existence of PyUnicode_InternInPlace() andWalter Dörwald2007-05-251-0/+21
| | | | PyUnicode_InternFromString().
* Add interning of unicode strings by copying the functionality fromWalter Dörwald2007-05-255-7/+158
| | | | | | | stringobject.c. Intern "True" and "False" in bool_repr() again as it was in the 8bit string era.
* This is the last time I fix binhex. If it breaks again it goes in the dustbin.Guido van Rossum2007-05-241-10/+8
|
* Simplify %U handling by using Py_UNICODE_COPY.Walter Dörwald2007-05-241-5/+3
|
* Fix typo.Walter Dörwald2007-05-241-1/+1
|
* Fixed array.fromfile(); removed references to PyFileObject in array.tofile().Guido van Rossum2007-05-242-78/+59
| | | | | Fixed test_array by removing tests that these two functions don't work with cStringIO objects (which makes no sense).
* Don't specify an encoding, let open figure out anWalter Dörwald2007-05-241-2/+2
| | | | appropriate one.
* Fix test_set.Guido van Rossum2007-05-241-4/+4
|
* Add an encoding property to TextIOBase instances.Guido van Rossum2007-05-242-3/+12
| | | | | Add sys.__std{in,out,err}__. Make test_sys pass.
* Fix tset_bytes.py.Guido van Rossum2007-05-241-4/+4
|
* Fix test_exceptions.py: There were still str8 objectsWalter Dörwald2007-05-241-5/+5
| | | | | in the UnicodeError constructor tests, but the constructors take str arguments now.
* Link _fileio statically -- it is needed during initialization.Guido van Rossum2007-05-241-0/+1
|
* Fix list_test.py::test_print(): Read and write theWalter Dörwald2007-05-241-2/+2
| | | | | file in text mode, so the file content comes back as str not bytes.
* Fix test_funcattrs.py: __name__ attribute must be str8.Walter Dörwald2007-05-241-2/+2
|
* Fix test_bool and test_bufio.Guido van Rossum2007-05-242-7/+7
|
* Enable new I/O. Disable creation of old files.Guido van Rossum2007-05-244-73/+11
| | | | Lots of stuff fails now, including -S and -m command line flags.
* Make test_subprocess work. Fix universal newlines in io.py.Guido van Rossum2007-05-243-39/+31
|
* Merged revisions 55514-55544 via svnmerge fromGuido van Rossum2007-05-242-2/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r55526 | neal.norwitz | 2007-05-22 23:42:22 -0700 (Tue, 22 May 2007) | 1 line reduce was removed a while ago ........ r55544 | guido.van.rossum | 2007-05-23 19:23:53 -0700 (Wed, 23 May 2007) | 2 lines Fix test_inspect. It seems my previous "fix" was due to a stale .pyc file. ........
* Remove native popen() and fdopen(), replacing them with subprocess calls.Guido van Rossum2007-05-247-1552/+59
| | | | | Fix a path to an assert in fileio_read(). Some misc tweaks.
* Refactor to avoid ultra-deeply-nested code.Guido van Rossum2007-05-231-36/+53
|
* Fix datetime and its test.Guido van Rossum2007-05-232-9/+23
|
* Add a format character %S to PyUnicode_FromFormat() thatWalter Dörwald2007-05-231-7/+22
| | | | | embeds the result of PyObject_Unicode() into the resulting unicode string.
* Make gdbm and dumbdbm use byte strings. Updated their tests.Guido van Rossum2007-05-237-61/+68
|
* Simplify append_keyword_tzinfo() by usingWalter Dörwald2007-05-231-10/+2
| | | | PyUnicode_FromFormat().
* Fix test_unicodedata.py.Walter Dörwald2007-05-231-1/+1
|