Making Scrapy Compatible with Python 3.x (in addition to Python 2.7), emmanuelsa

Dear Scrapy Contributors,

I have recently being working on making Scrapy compatible with Python 3.x (in addition to Python 2.7) using my local repository. 

In the process, I have made quite a few changes to Scrapy and Twisted (https://github.com/twisted/twisted) and I want to share the changes.

The changes have not affected Scrapy's functions in Python 2.7 (all the tests were passed) and have allowed me to be able to use Scrapy in Python 3.3 and Python 3.4 environment on my notebook (OS: Ubuntu 12.04). 

NB: [1] NOT all tests have been passed in Python 3.x. [2] A number of other files (especially files that have to do with importing modules and/or functions from Twisted) need to be modified for full compatibility with Python 3.x.

The current changes do not hurt as they do not affect Scrapy's functions in Python 2.7.


--
Emmanuel