Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use O_APPEND flag instead of seeking, when append | Walter Dörwald | 2007-06-06 | 1 | -12/+5 |
| | | | | mode is specified. | ||||
* | Fix gzip.py: Use bytes where 8bit strings have been used formerly. | Walter Dörwald | 2007-06-06 | 2 | -29/+31 |
| | | | | | | | (The filename gets written in utf-8 encoded form which probably isn't correct.) Fix the test. | ||||
* | If append mode is specified seek to the end of the file. | Walter Dörwald | 2007-06-06 | 2 | -0/+30 |
| | | | | Add a test to test_fileio.py for this. | ||||
* | Fix test_codeccallbacks.py: bytes has no % operator. | Walter Dörwald | 2007-06-06 | 1 | -3/+3 |
| | |||||
* | Use PyUnicode_FromFormat() directly. | Walter Dörwald | 2007-06-06 | 1 | -5/+3 |
| | |||||
* | Change sys.intern() so that unicode strings can be | Walter Dörwald | 2007-06-05 | 2 | -7/+25 |
| | | | | interned too. Add a test for this. | ||||
* | Change getdefaultencoding() and getfilesystemencoding() | Walter Dörwald | 2007-06-05 | 1 | -2/+2 |
| | | | | to return unicode strings. | ||||
* | Make the name of the C variables match the Python names | Walter Dörwald | 2007-06-05 | 1 | -7/+7 |
| | | | | | for chr()/chr8(). Fix function name in PyArg_ParseTuple() call. | ||||
* | unichr() is named chr() now => fix name in error message. | Walter Dörwald | 2007-06-05 | 1 | -2/+2 |
| | |||||
* | Change int_oct() and int_hex() to return unicode objects. | Walter Dörwald | 2007-06-05 | 1 | -9/+5 |
| | |||||
* | Use PyUnicode_FromFormat() directly in | Walter Dörwald | 2007-06-05 | 1 | -8/+4 |
| | | | | zipimporter_repr(). | ||||
* | Change category(), bidirectional(), east_asian_width(), | Walter Dörwald | 2007-06-05 | 1 | -6/+6 |
| | | | | decomposition() and name() to return unicode strings. | ||||
* | Simplify os_init() implementations by using PyErr_Format() | Walter Dörwald | 2007-06-05 | 1 | -8/+2 |
| | | | | directly instead of PyOS_snprintf()+PyErr_SetString(). | ||||
* | Remove unused variable. | Walter Dörwald | 2007-06-05 | 1 | -1/+0 |
| | |||||
* | Simplify socket_repr() by using PyUnicode_FromFormat() | Walter Dörwald | 2007-06-05 | 2 | -3/+5 |
| | | | | directly. Add a test that calls socket_repr(). | ||||
* | PyUnicode_FromFormat() does support %02x, so use it | Walter Dörwald | 2007-06-05 | 1 | -17/+14 |
| | | | | | for formatting the unicode decoding/encoding/translating exception messages. | ||||
* | Change time.strftime() to return a unicode string. | Walter Dörwald | 2007-05-31 | 1 | -5/+4 |
| | | | | Use PyMem_Malloc() to allocate temporary storage. | ||||
* | Change timedelta.__str__() to return a unicode object. | Walter Dörwald | 2007-05-31 | 1 | -36/+19 |
| | |||||
* | Change isoformat() methods to return unicode strings. | Walter Dörwald | 2007-05-31 | 1 | -48/+32 |
| | |||||
* | Change format_ctime() to return unicode (i.e. | Walter Dörwald | 2007-05-31 | 1 | -6/+4 |
| | | | | date.ctime() and datetime.ctime() return unicode now). | ||||
* | Change float.__str__() and complex.__str__() to return | Walter Dörwald | 2007-05-31 | 3 | -2/+3 |
| | | | | unicode objects. | ||||
* | Add support for width, precision and zeropadding to the %d, %i, %u and %x | Walter Dörwald | 2007-05-31 | 1 | -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 objects | Guido van Rossum | 2007-05-30 | 1 | -0/+56 |
| | | | | (everything besides the actual code disassembly). | ||||
* | Fix test_openpty. | Guido van Rossum | 2007-05-30 | 1 | -2/+2 |
| | |||||
* | types.StringType is gone, use str directly instead. | Walter Dörwald | 2007-05-29 | 1 | -1/+4 |
| | |||||
* | Remove debug print. | Walter Dörwald | 2007-05-29 | 1 | -1/+0 |
| | |||||
* | Fix typo. | Walter Dörwald | 2007-05-29 | 1 | -1/+2 |
| | |||||
* | Fix test_pty.py. | Walter Dörwald | 2007-05-29 | 1 | -7/+7 |
| | |||||
* | Fix file test. | Walter Dörwald | 2007-05-29 | 1 | -1/+1 |
| | |||||
* | Merged revisions 55588-55630 via svnmerge from | Guido van Rossum | 2007-05-29 | 3 | -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 Rossum | 2007-05-27 | 1 | -8/+0 |
| | |||||
* | Modernize. Values are now bytes. | Guido van Rossum | 2007-05-27 | 1 | -14/+27 |
| | |||||
* | Make the binhex test pass on Darwin. | Guido van Rossum | 2007-05-27 | 1 | -4/+4 |
| | | | | Grr. Do we really want to support this module? | ||||
* | Remove use of types.StringType. | Guido van Rossum | 2007-05-27 | 1 | -5/+3 |
| | |||||
* | Use input(), not our own fake raw input (in one place). | Guido van Rossum | 2007-05-27 | 1 | -6/+1 |
| | |||||
* | Make struct tests pass. | Guido van Rossum | 2007-05-27 | 3 | -24/+41 |
| | |||||
* | Make xmlrpclib fail less (test_sundry passes). | Guido van Rossum | 2007-05-27 | 1 | -30/+19 |
| | |||||
* | Add isatty() to TextIOWrapper. | Guido van Rossum | 2007-05-27 | 1 | -0/+3 |
| | |||||
* | Make input9) behave properly with the new I/O library. | Guido van Rossum | 2007-05-27 | 1 | -14/+66 |
| | |||||
* | Change tp_str implementations of exception classes | Walter Dörwald | 2007-05-26 | 1 | -223/+35 |
| | | | | to return unicode strings. | ||||
* | Minimal fixes to save the bootstrap on OSX. | Guido van Rossum | 2007-05-25 | 2 | -4/+5 |
| | |||||
* | Merged revisions 55545-55587 via svnmerge from | Guido van Rossum | 2007-05-25 | 2 | -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 using | Walter Dörwald | 2007-05-25 | 5 | -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() and | Walter Dörwald | 2007-05-25 | 1 | -0/+21 |
| | | | | PyUnicode_InternFromString(). | ||||
* | Add interning of unicode strings by copying the functionality from | Walter Dörwald | 2007-05-25 | 5 | -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 Rossum | 2007-05-24 | 1 | -10/+8 |
| | |||||
* | Simplify %U handling by using Py_UNICODE_COPY. | Walter Dörwald | 2007-05-24 | 1 | -5/+3 |
| | |||||
* | Fix typo. | Walter Dörwald | 2007-05-24 | 1 | -1/+1 |
| | |||||
* | Fixed array.fromfile(); removed references to PyFileObject in array.tofile(). | Guido van Rossum | 2007-05-24 | 2 | -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 an | Walter Dörwald | 2007-05-24 | 1 | -2/+2 |
| | | | | appropriate one. |