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
2
third_party/python/Lib/test/test_repl.py
vendored
2
third_party/python/Lib/test/test_repl.py
vendored
|
@ -1,6 +1,7 @@
|
|||
"""Test the interactive interpreter."""
|
||||
|
||||
import sys
|
||||
import cosmo
|
||||
import os
|
||||
import unittest
|
||||
import subprocess
|
||||
|
@ -36,6 +37,7 @@ def spawn_repl(*args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, **kw):
|
|||
|
||||
class TestInteractiveInterpreter(unittest.TestCase):
|
||||
|
||||
@unittest.skipUnless(cosmo.MODE == "dbg", "disabled memory hooks")
|
||||
@cpython_only
|
||||
def test_no_memory(self):
|
||||
# Issue #30696: Fix the interactive interpreter looping endlessly when
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue