mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Fix Pyston speedups (#281)
We remove (i.e. hide behind a debug ifdef) the recursion checking methods, and the memory hooks and memory allocator methods. ASAN mode has no PYMALLOC, so we need a macro. Fix build break with des.c stack allocation.
This commit is contained in:
parent
2fe8571010
commit
57f0eed382
42 changed files with 260 additions and 63 deletions
3
third_party/python/Lib/test/pickletester.py
vendored
3
third_party/python/Lib/test/pickletester.py
vendored
|
@ -1943,8 +1943,7 @@ class AbstractPickleTests(unittest.TestCase):
|
|||
self.assertEqual(y._reduce_called, 1)
|
||||
|
||||
@no_tracing
|
||||
@unittest.skipIf(cosmo.MODE in ("asan", "dbg"),
|
||||
"extremely slow in asan mode")
|
||||
@unittest.skipIf(True, "disabled recursion checking + slow in asan, dbg")
|
||||
def test_bad_getattr(self):
|
||||
# Issue #3514: crash when there is an infinite loop in __getattr__
|
||||
x = BadGetattr()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue