Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread Phillip J. Eby
At 10:13 AM 12/7/2007 +1100, Graham Dumpleton wrote: Has anyone had any thoughts about how WSGI is going to made to work with Python 3? From what I understand about changes in Python 3, the main issue seems to be the removal of string type in its current form. This is an issue as WSGI

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread Guido van Rossum
On Dec 6, 2007 4:15 PM, Phillip J. Eby [EMAIL PROTECTED] wrote: At 10:13 AM 12/7/2007 +1100, Graham Dumpleton wrote: Has anyone had any thoughts about how WSGI is going to made to work with Python 3? From what I understand about changes in Python 3, the main issue seems to be the removal

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread James Y Knight
On Dec 6, 2007, at 7:15 PM, Phillip J. Eby wrote: WSGI already copes, actually. Note that Jython and IronPython have this issue today, and see: http://www.python.org/dev/peps/pep-0333/#unicode-issues On Python platforms where the str or StringType type is in fact Unicode-based (e.g.

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread Phillip J. Eby
At 08:08 PM 12/6/2007 -0500, Adam Atlas wrote: On 6 Dec 2007, at 18:13, Graham Dumpleton wrote: In Python 3 the default for string type objects will effectively be Unicode. Is WSGI going to be made to somehow cope with that, or will application instead be required to return byte string

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread Adam Atlas
On 6 Dec 2007, at 18:13, Graham Dumpleton wrote: In Python 3 the default for string type objects will effectively be Unicode. Is WSGI going to be made to somehow cope with that, or will application instead be required to return byte string objects instead? I'd say it would be best to only

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread James Bennett
On Dec 6, 2007 6:15 PM, Phillip J. Eby [EMAIL PROTECTED] wrote: WSGI already copes, actually. Note that Jython and IronPython have this issue today, and see: http://www.python.org/dev/peps/pep-0333/#unicode-issues I'm glad you brought that up, because it's been bugging me lately. That

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread Ian Bicking
Phillip J. Eby wrote: At 08:08 PM 12/6/2007 -0500, Adam Atlas wrote: On 6 Dec 2007, at 18:13, Graham Dumpleton wrote: In Python 3 the default for string type objects will effectively be Unicode. Is WSGI going to be made to somehow cope with that, or will application instead be required to

Re: [Web-SIG] WSGI, Python 3 and Unicode

2007-12-06 Thread Guido van Rossum
On Dec 6, 2007 8:00 PM, Ian Bicking [EMAIL PROTECTED] wrote: Phillip J. Eby wrote: At 08:08 PM 12/6/2007 -0500, Adam Atlas wrote: On 6 Dec 2007, at 18:13, Graham Dumpleton wrote: In Python 3 the default for string type objects will effectively be Unicode. Is WSGI going to be made to