Yet another comparison of Python Web Frameworks

Peter Otten __peter__ at web.de
Wed Oct 10 14:15:30 EDT 2007


Kay Schluehr wrote:

>> http://mdp.cti.depaul.edu/examples
> 
> The delivered sourcecode is syntactically broken. Tabs and whitespaces
> were mixed and when I open a file like gluon/global.py I find sections
> like this:
> 
> class Request(Storage):
>     """
>     defines the request object and the default values of its members
>     """
>     def __init__(self):
>     self.env=Storage()       # this line is incorrect syntax in Python

You may have configured your editor to use a tabwidth of four spaces
(Python always uses 8).

Peter



More information about the Python-list mailing list