No, see test directory.

https://github.com/webpy/webpy/tree/master/test

Travis runs those tests whenever we make a push to github.

https://travis-ci.org/webpy/webpy

Currently tests are passing for 2.6 and 2.7, but failing for 3.3. We need
to fix that eventually.

Anand



On Tue, Jun 11, 2013 at 5:28 PM, Tomas Schertel <[email protected]> wrote:

> On Tuesday, 11 June 2013 00:00:12 UTC-3, Anand wrote:
>
>>
>> On Tue, Jun 11, 2013 at 7:05 AM, Tomas Schertel <[email protected]>wrote:
>>
>>> On Monday, 10 June 2013 15:40:14 UTC-3, Anand wrote:
>>>>
>>>> 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<https://github.com/anandology/webpy/compare/python3>
>>>>
>>>> helloworld program: 
>>>> https://gist.github.com/**anando**logy/5751099<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?
>>>>
>>>
>>> I'm in.
>>>
>>
>> Thanks!
>>
>>
>>> What do I need to do? Fork web.py and ask for a merge?
>>>
>>
>> Yes. I pushed the python3 branch to webpy repo.
>>
>> https://github.com/webpy/webpy
>>
>> Fork that and start a branch python3-tests from python3 and send me a
>> pull request.
>>
>>
>>> Any hint I can use in migration process?
>>>
>>> Already mentioned above. I would like first few commits to fix the
>> obvious issues like fixing imports, print function, exceptions etc. It'll
>> be useful to have each one as a separate commit.
>>
>> Anand
>>
>
> Testsuit means just web.browser or something more?
>
> --
> 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.
>
>
>



-- 
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