Hello everyone,

I made some progress on migrating web.py to Python3. I'm able to run
helloworld app both on Python2 and Python3 using the same codebase.

https://github.com/anandology/webpy/compare/python3

helloworld program: https://gist.github.com/anandology/5751099

I've tried to be very systematic about the migration. The important steps
are:

1. covert all imports to relative imports
2. replace print statement with print function
3. fix exceptions
4. fix unicode issues

One thing that'll be useful is to fix the test suite. Anyone interested to
take it up? The plan is not to add new tests, but convert the existing test
suite to work with Python3. It'll useful to follow the above listed things
first before others.

Any takers?

-- 
Anand
http://anandology.com/

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to