- 13 Dec, 2014 13 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This is so that we can add the CAPI slots for things like tp_as_sequence, so that C extensions will work properly. I don't think there are very many extensions that would do this but let's still support it for now; it further bloats the type objects but only as much as it does in CPython as well.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Previously had hardcoded three different iterations.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 12 Dec, 2014 5 commits
-
-
Kevin Modzelewski authored
- Start moving towards slotdefs - add tp_repr support - add an slots_tester extension module so we can test these more narrowly
-
Kevin Modzelewski authored
Move some type-related stuff into typeobject.cpp or descrobject.cpp
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Separated out from some more involved changes that are required to get the 'pwd' module working.
-
Kevin Modzelewski authored
-
- 11 Dec, 2014 2 commits
-
-
Kevin Modzelewski authored
Haven't added structseq.c to the build quite yet
-
Kevin Modzelewski authored
Remove some definitions that should no longer be in there (structs for which we have Pyston-internal definitions). Instead of doing "typedef void PyIntObject", do "struct _PyIntObject; typedef struct _PyIntObject PyIntObject;" which prevents spurious things like type conversions or sizeof(void)'s.
-
- 10 Dec, 2014 13 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
I'm not sure that we need to do this at the expression-level -- I think we just have to do it at the statement level.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie 'from a import b' now attempts an 'import a.b' if b does not already exist. This also works for imports caused by__all__.
-
Kevin Modzelewski authored
Previously we were calling it just 'b'.
-
Kevin Modzelewski authored
ScopeInfo involves checking the whole function subtree to resolve scoping references. SourceInfo has information about the specific function. is_generator used to be in ScopeInfo, but accessing it would require doing the full subtree analysis, which can be unnecessary. This lets us avoid analyzing function subtrees that are never entered.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
With some changes - renamed AST_Exec::expr -> body (to match CPython) - removed references to AST_SetComp
-
Kevin Modzelewski authored
-
- 09 Dec, 2014 2 commits
-
-
Kevin Modzelewski authored
add two passes which remove unnecessary boxing
-
Kevin Modzelewski authored
-
- 07 Dec, 2014 4 commits
-
-
Marius Wachtler authored
* the first one removes boxInt, boxFloat and boxBool calls where the argument is coming from a corresponding unbox call * the second pass removes duplicate boxing calls inside the same BB together they improve the performance by about 10%
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 06 Dec, 2014 1 commit
-
-
Kevin Modzelewski authored
-