- 11 May, 2015 1 commit
-
-
Marius Wachtler authored
I had to change 'new_weakref' to use 'tp_alloc' instead of 'PyObject_GC_New' in order to create a weak ref because 'PyObject_GC_New' allocated memory is scanned conservatively. 'tp_alloc' points to 'PystonType_GenericAlloc' and is of PYTHON type.
-
- 05 May, 2015 8 commits
-
-
Kevin Modzelewski authored
Reduce memory by not caching analysis passes
-
Kevin Modzelewski authored
On the simple test of `pyston -c "import pip"`, it reduces memory usage from 194MB to 153MB (20% of the memory previously was cached analysis data). It also increases our benchmark geomean by ~1%, which isn't great, but I think we can get that back eventually and I don't think it's worth blocking this memory improvement for that.
-
Kevin Modzelewski authored
I guess in CPython, __file__ will be the path to the pyc if that's how the library was loaded. (We don't do that but that difference isn't the issue here.) So that makes these tests, which print __file__, sensitive to whether the last run of the test was through cpython (pyc exists and __file__ ends in pyc) or through pyston (pyc exists but was wasn't valid for cpython, and __file__ ends in py) Just do some canonicalization when printing
-
Kevin Modzelewski authored
- make heap dumping work again - refactor some of the heap statistics to work in OOM scenarios (ie be able to not collect the ones that would require allocation to track) - collect some hcls statistics as well - print stats to stderr rather than stdout - I think this makes more sense since it is not really part of the program output; it also makes it more likely that "PYSTON_RUN_ARGS=s" will work
-
Kevin Modzelewski authored
add exception_hierarchy.txt which test/cpython/test_pep352.txt needs
-
Kevin Modzelewski authored
rename member -> member_descriptor
-
Kevin Modzelewski authored
minor tester & test fixes for python microrevision compatibility
-
Kevin Modzelewski authored
Conflicts: src/runtime/float.cpp
-
- 04 May, 2015 4 commits
-
-
Kevin Modzelewski authored
list __eq__ and __ne__ work for rhs's that are list subclasses
-
Michael Arntzenius authored
-
Michael Arntzenius authored
-
Chris Toshok authored
-
- 03 May, 2015 4 commits
-
-
Kevin Modzelewski authored
prohibit _PyTuple_Resize for objects that are subclasses of tuple
-
Kevin Modzelewski authored
implement `real` and `imag` for `int`, `long`, and `float`
-
Kevin Modzelewski authored
ignore untracked files in the gflags submodule
-
Kevin Modzelewski authored
remove ununsed class BoxedUnicode
-
- 02 May, 2015 11 commits
-
-
Kevin Modzelewski authored
Add PyGC_AddRoot calls any time we assign to a static variable
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
It seems like there's only one potentially bad one (zip_directory_cache), and the rest are more or less benign (most of the occurrences are added to the module as well as attributes), but it's probably good practice.
-
Kevin Modzelewski authored
run gflags unittests
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
gflags test is passing Also add file.name
-
Kevin Modzelewski authored
It provides overrides for some of the values in the "string" module, which ends up mattering for the gflags tests.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Just another HAVE_foo define we were missing.
-
Kevin Modzelewski authored
-
- 30 Apr, 2015 12 commits
-
-
Kevin Modzelewski authored
Otherwise git keeps asking me what I want to do with the modifications in the pycrypto submodule.
-
Kevin Modzelewski authored
Conflicts: src/runtime/types.cpp
-
Kevin Modzelewski authored
Add a pycrypto integration test
-
Kevin Modzelewski authored
A quick (40s) sanity test to run before sending it off to travis-ci for the full test.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Fix misc smaller issues
-
Marius Wachtler authored
-
Kevin Modzelewski authored
This lets us support `exec compile(ast.parse(s))`. Also, add 3-arg eval() support, and simple support for the _ast module.
-
Marius Wachtler authored
-
Kevin Modzelewski authored
gflags support
-
Kevin Modzelewski authored
Put these defines earlier. I don't like that Make doesn't warn on undefined variables
-
Kevin Modzelewski authored
-