mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Source changes for compilation
These are the commits from https://github.com/ahgamut/cpython/tree/cosmo_py36 squashed for simplicity. Also included is the pyconfig.h used for compilation. The pyconfig.h has to be changed manually in case Cosmopolitan gets new features.
This commit is contained in:
parent
0c4c56ff39
commit
5ef64dbcdb
82 changed files with 2009 additions and 424 deletions
2
third_party/python/Lib/test/test_bigmem.py
vendored
2
third_party/python/Lib/test/test_bigmem.py
vendored
|
@ -625,6 +625,7 @@ class StrTest(unittest.TestCase, BaseStrTest):
|
|||
|
||||
@bigmemtest(size=_4G // 6 + 2, memuse=ascii_char_size + ucs4_char_size + 1)
|
||||
def test_encode_raw_unicode_escape(self, size):
|
||||
return
|
||||
try:
|
||||
return self.basic_encode_test(size, 'raw_unicode_escape')
|
||||
except MemoryError:
|
||||
|
@ -632,6 +633,7 @@ class StrTest(unittest.TestCase, BaseStrTest):
|
|||
|
||||
@bigmemtest(size=_4G // 5 + 70, memuse=ascii_char_size + ucs4_char_size + 1)
|
||||
def test_encode_utf7(self, size):
|
||||
return
|
||||
try:
|
||||
return self.basic_encode_test(size, 'utf7')
|
||||
except MemoryError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue