Hi ,

I'm working towards adding Python 3 support to scrapy. I went through a lot 
of blogs and projects related to adding Python 3 support and found that 
currently twisted is also working towards creating a version of twisted 
that is source-compatible with Python 2.6, Python 2.7, and Python 3.3 [1]. 
There are various tools like "2to3" that read Python 2.x source code and 
appliy a series of fixers to transform it into valid Python 3.x code. 
Although it is more helpful for those who are porting to Python 3 rather 
than adding support for it.

Currently, I'm working towards a plan on how all this should be carried out 
and how much time each part of scrapy would take. Also I'm reading through 
[2] to see what all changes are required.

I also had some questions:

1. Why don't we completely port scrapy to Python 3 rather than adding 
support for it ? Would it be to much for a GSoC Project ?
It would likely result in a cleaner code as compared to adding support.

2. Is it recommended to use tools like 2to3 to convert the code ?
On twisted page [1] they mention not to use the tool whereas various 
projects and also the website [2] recommend its use.

It would be really helpful if you could guide me where to start and provide 
some useful links as well.

[1] - http://twistedmatrix.com/trac/wiki/Plan/Python3
[2] - http://python3porting.com/

Regards,
Anuj Bansal
Github - ahhda

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" 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/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to