- 19 Sep, 2007 5 commits
-
-
Robert Bradshaw authored
The issue here (as pointed out by Thomas Hunger) is that once the CClass body gets executed the class is already constructed, and its methods are actual methods not functions (as in Python). The CClassScope now returns a utility function on lookup of "classmethod" that creates a class method out of a method (rather than out of a function). When added to the type dictionary, the result is exactly the same as setting the METH_CLASS flag.
-
Thomas Hunger authored
a direct change of a classes tp_dict instead of SetAttr if assignment code is executed in a class body. To tell the code generator that we have a class entry, entry has a new attribute "is_member".
-
Thomas Hunger authored
because the class-body code is exectuted at module-init time.
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
- 18 Sep, 2007 1 commit
-
-
tom@tom authored
-
- 11 Sep, 2007 1 commit
-
-
Stefan Behnel authored
use 'with GIL' instead of 'withGIL' to avoid introducing a non-Python keyword and to support later extension for other contexts
-
- 10 Sep, 2007 1 commit
-
-
Stefan Behnel authored
-
- 11 Sep, 2007 1 commit
-
-
Robert Bradshaw authored
-
- 10 Sep, 2007 1 commit
-
-
Robert Bradshaw authored
-
- 07 Sep, 2007 1 commit
-
-
Robert Bradshaw authored
-
- 05 Sep, 2007 2 commits
-
-
Robert Bradshaw authored
This is so mutating inplace operations can be detected safely.
-
Robert Bradshaw authored
-
- 03 Sep, 2007 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 25 Aug, 2007 1 commit
-
-
Stefan Behnel authored
-
- 30 Jul, 2007 1 commit
-
-
Stefan Behnel authored
-
- 29 Aug, 2007 1 commit
-
-
Robert Bradshaw authored
-
- 19 Aug, 2007 5 commits
-
-
Robert Bradshaw authored
avoid argument parsing (via meth_o, meth_noargs) for non-python-object arguments, upgrade version number to 0.9.6.4 compiles and runs SAGE fine
-
Robert Bradshaw authored
-
Robert Bradshaw authored
previous patch was just for classes
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
- 17 Aug, 2007 4 commits
-
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-
- 29 Jul, 2007 2 commits
-
-
William Stein authored
-
Robert Bradshaw authored
-
- 28 Jul, 2007 6 commits
-
-
William Stein authored
-
William Stein authored
-
William Stein authored
-
William Stein authored
-
William Stein authored
-
William Stein authored
-
- 11 Jul, 2007 1 commit
-
-
Robert Bradshaw authored
Emulates behavior of from <module> import *
-
- 10 Jul, 2007 3 commits
-
-
Robert Bradshaw authored
For some reason, it actually makes it slower in some of the most common cases (now commented out). Why? It does help in others.
-
Robert Bradshaw authored
-
Robert Bradshaw authored
-