This is veyr useful feedback. I think I fixed them all in trunk.
Please check and report more!

On Feb 14, 3:33 am, Marin Pranjić <[email protected]> wrote:
> Hi,
>
> I want to compile gluon/* files using Cython and test performance gain
> vs non-compiled code.
> I am using trunk.
>
> There are some issues which I will report here.
> These are not all issues, only those that I think are web2py bugs and
> should be fixed.
>
> Filename: gluon/dal.py
> 1. gluon/dal.py:1471:39: undeclared name not builtin: db
> 2. gluon/dal.py:3894:41: undeclared name not builtin: Mer
> 3. gluon/dal.py:4185:13: undeclared name not builtin: items
> gluon/dal.py:4315:13: undeclared name not builtin: items
> 4. gluon/dal.py:4255:26: undeclared name not builtin: NotSupported (>1
> occurrence)
>
> Filename: gluon/scheduler.py
> 1. gluon/scheduler.py:163:68: undeclared name not builtin: list_hook
>
> Filename: gluon/sqlhtml.py
> 1. gluon/sqlhtml.py:1609:31: undeclared name not builtin: self
>
> Filename: gluon/rocket.py
> 1. gluon/rocket.py:1945:20: Reraise not inside except clause
>
> Filename: gluon/contrib/feedparser.py
> 1. gluon/contrib/feedparser.py:2721:31: Expected ')', found ','
>
> Filename: gluon/contrib/DowCommerce.py
> 1. gluon/contrib/DowCommerce.py:58:24: local variable 'results'
> referenced before assignment
>
> Filename: gluon/contrib/generics.py
> 1. gluon/contrib/generics.py:41:49: undeclared name not builtin:
> warnings
> 2. gluon/contrib/generics.py:39:39: undeclared name not builtin: LU (2
> occurrences, line 39 & line 41)
> 3. gluon/contrib/generics.py:38:39: undeclared name not builtin: H1
> 4. gluon/contrib/generics.py:25:24: undeclared name not builtin: ouput
> 5. gluon/contrib/generics.py:20:64: undeclared name not builtin:
> extension (3 occurrences)
> 6. gluon/contrib/generics.py:20:22: undeclared name not builtin: HTTP
>
> Filename: gluon/contrib/memdb.py
> 1. gluon/contrib/memdb.py:772:22: undeclared name not builtin: sqlhtml
>
> There is more, I will continue later.
>
> Marin

Reply via email to