[Web-SIG] resources for porting wsgi apps from python 2 to 3

2012-10-01 Thread chris . dent
I was at pyconuk over the weekend and came away from that all refreshed and wanting to hack. That combined with the recent release of Python 3.3 had me deciding it was time to start porting TiddlyWeb[1] to Python3. I'm having progress along some lines and a bit of a mess along others. The major

Re: [Web-SIG] resources for porting wsgi apps from python 2 to 3

2012-10-02 Thread And Clover
On 01/10/12 18:07, chris.d...@gmail.com wrote: > * Use bytes or str for environ keys? > * Use bytes or str for environ values? str, decoded from the request bytes using ISO-8859-1. > * Are all environ values created equal or would, for example, > QUERY_STRING's value (prior

Re: [Web-SIG] resources for porting wsgi apps from python 2 to 3

2012-10-02 Thread chris . dent
On Tue, 2 Oct 2012, And Clover wrote: [a bunch of useful stuff] Thanks, that was nicely cogent and thus very useful. I've got a first working version: https://github.com/cdent/python3-wsgi-intercept I need to codify some things in tests a bit more, and there's an issue with https request an