- 27 May, 2010 5 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
clean up comprehensions to bring them closer to generator expressions, make their scoping behaviour configurable remove optimisations for set([...]) and dict([...]) as they do not take side-effects into account: unhashable items lead to pre-mature exit from the loop instead, transform set(genexp), list(genexp) and dict(genexp) into inlined comprehensions that do not leak loop variables
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 26 May, 2010 6 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 25 May, 2010 9 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 24 May, 2010 2 commits
-
-
Robert Bradshaw authored
-
Stefan Behnel authored
-
- 23 May, 2010 1 commit
-
-
Stefan Behnel authored
fix scoping rules for comprehensions and inlined generator expressions by injecting a separate scope instance
-
- 18 May, 2010 1 commit
-
-
Stefan Behnel authored
-
- 17 May, 2010 7 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 16 May, 2010 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 15 May, 2010 4 commits
-
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
David Barnett authored
I noticed two failures to compile that I think are bugs: - "ctypedef Foo[int] Bar" gives a syntax error (i.e., there doesn't seem to be any way to typedef a templated type). - Defining a struct in a namespace and trying to convert it to a Python dict doesn't work. Instead you get nasty "__pyx_convert__to_py_THENAMESPACE" errors from the C++ compiler (it doesn't mangle the cname properly and tries to define __pyx_convert__to_py_THENAMESPACE::THESTRUCT). I made a patch to *add tests* for the two bugs (not fix them).
-
Stefan Behnel authored
-
- 14 May, 2010 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-