- 14 Dec, 2014 3 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Should probably reorganize/rename the "lib_python" directory at some point.
-
Kevin Modzelewski authored
-
- 13 Dec, 2014 19 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Somehow had gotten the C API definitions of True and False backwards...
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
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 11 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
-