mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +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_runpy.py
vendored
2
third_party/python/Lib/test/test_runpy.py
vendored
|
@ -3,6 +3,7 @@ import unittest
|
|||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import cosmo
|
||||
import re
|
||||
import tempfile
|
||||
import importlib, importlib.machinery, importlib.util
|
||||
|
@ -723,6 +724,7 @@ class RunPathTestCase(unittest.TestCase, CodeExecutionMixin):
|
|||
self._check_import_error(zip_name, msg)
|
||||
|
||||
@no_tracing
|
||||
@unittest.skipUnless(cosmo.MODE == "dbg", "disabled recursion checking")
|
||||
def test_main_recursion_error(self):
|
||||
with temp_dir() as script_dir, temp_dir() as dummy_dir:
|
||||
mod_name = '__main__'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue