[Python-3000-checkins] r55759 - python/branches/py3k-struni/Objects/exceptions.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 15:29:29 2007 New Revision: 55759 Modified: python/branches/py3k-struni/Objects/exceptions.c Log: PyUnicode_FromFormat() does support %02x, so use it for formatting the unicode decoding/encoding/translating exception messages. Modified: python/branches

[Python-3000-checkins] r55760 - in python/branches/py3k-struni: Lib/test/test_socket.py Modules/socketmodule.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 15:41:53 2007 New Revision: 55760 Modified: python/branches/py3k-struni/Lib/test/test_socket.py python/branches/py3k-struni/Modules/socketmodule.c Log: Simplify socket_repr() by using PyUnicode_FromFormat() directly. Add a test that calls socket_repr(

[Python-3000-checkins] r55761 - python/branches/py3k-struni/Modules/socketmodule.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 15:48:11 2007 New Revision: 55761 Modified: python/branches/py3k-struni/Modules/socketmodule.c Log: Remove unused variable. Modified: python/branches/py3k-struni/Modules/socketmodule.c ===

[Python-3000-checkins] r55762 - python/branches/py3k-struni/Modules/socketmodule.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 15:49:43 2007 New Revision: 55762 Modified: python/branches/py3k-struni/Modules/socketmodule.c Log: Simplify os_init() implementations by using PyErr_Format() directly instead of PyOS_snprintf()+PyErr_SetString(). Modified: python/branches/py3k-struni/

[Python-3000-checkins] r55763 - python/branches/py3k-struni/Modules/unicodedata.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 18:04:09 2007 New Revision: 55763 Modified: python/branches/py3k-struni/Modules/unicodedata.c Log: Change category(), bidirectional(), east_asian_width(), decomposition() and name() to return unicode strings. Modified: python/branches/py3k-struni/Modul

[Python-3000-checkins] r55764 - python/branches/py3k-struni/Modules/zipimport.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 18:19:33 2007 New Revision: 55764 Modified: python/branches/py3k-struni/Modules/zipimport.c Log: Use PyUnicode_FromFormat() directly in zipimporter_repr(). Modified: python/branches/py3k-struni/Modules/zipimport.c ==

[Python-3000-checkins] r55776 - python/branches/py3k-struni/Objects/intobject.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 21:50:53 2007 New Revision: 55776 Modified: python/branches/py3k-struni/Objects/intobject.c Log: Change int_oct() and int_hex() to return unicode objects. Modified: python/branches/py3k-struni/Objects/intobject.c ===

[Python-3000-checkins] r55778 - python/branches/py3k-struni/Objects/unicodeobject.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 22:02:26 2007 New Revision: 55778 Modified: python/branches/py3k-struni/Objects/unicodeobject.c Log: unichr() is named chr() now => fix name in error message. Modified: python/branches/py3k-struni/Objects/unicodeobject.c ===

[Python-3000-checkins] r55779 - python/branches/py3k-struni/Python/bltinmodule.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 22:07:21 2007 New Revision: 55779 Modified: python/branches/py3k-struni/Python/bltinmodule.c Log: Make the name of the C variables match the Python names for chr()/chr8(). Fix function name in PyArg_ParseTuple() call. Modified: python/branches/py3k-str

[Python-3000-checkins] r55781 - in python/branches/py3k-struni: Lib/test/test_sys.py Python/sysmodule.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 22:22:04 2007 New Revision: 55781 Modified: python/branches/py3k-struni/Lib/test/test_sys.py python/branches/py3k-struni/Python/sysmodule.c Log: Change sys.intern() so that unicode strings can be interned too. Add a test for this. Modified: python/b

[Python-3000-checkins] r55780 - python/branches/py3k-struni/Python/sysmodule.c

2007-06-05 Thread walter.doerwald
Author: walter.doerwald Date: Tue Jun 5 22:15:52 2007 New Revision: 55780 Modified: python/branches/py3k-struni/Python/sysmodule.c Log: Change getdefaultencoding() and getfilesystemencoding() to return unicode strings. Modified: python/branches/py3k-struni/Python/sysmodule.c