pypy/module/unicodedata/test/test_hyp.py::test_composition[NFC-NFC-NFC]
spaceconfig = {}
@pytest.fixture(scope='function')
def space(spaceconfig):
from pypy.tool.pytest.objspace import gettestobjspace
> return gettestobjspace(**spaceconfig)
conftest.py:138:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tool\pytest\objspace.py:24: in gettestobjspace
space = maketestobjspace(config)
tool\pytest\objspace.py:34: in maketestobjspace
space = make_objspace(config)
tool\option.py:33: in make_objspace
return StdObjSpace(config)
interpreter\baseobjspace.py:458: in __init__
self.initialize()
objspace\std\objspace.py:118: in initialize
self.setup_builtin_modules()
interpreter\baseobjspace.py:733: in setup_builtin_modules
self.install_mixedmodule('zipimport')
interpreter\baseobjspace.py:707: in install_mixedmodule
self.setbuiltinmodule(mixedname)
interpreter\baseobjspace.py:545: in setbuiltinmodule
mod.install()
module\zipimport\moduledef.py:25: in install
directory=".")
module\_frozen_importlib\moduledef.py:29: in _compile_bootstrap_module
code_w.exec_code(space, w_dict, w_dict)
interpreter\eval.py:33: in exec_code
return frame.run()
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:349: in dispatch_bytecode
self.IMPORT_NAME(oparg, next_instr)
interpreter\pyopcode.py:1129: in IMPORT_NAME
w_locals, w_fromlist, w_flag)
interpreter\baseobjspace.py:1241: in call_function
return self.call_args(w_func, args)
objspace\descroperation.py:192: in call_args
return w_obj.call_args(args)
interpreter\function.py:81: in call_args
w_res = self.getcode().funcrun(self, args)
interpreter\gateway.py:869: in funcrun
return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter\gateway.py:884: in funcrun_obj
self.handle_exception(space, e)
interpreter\gateway.py:908: in handle_exception
raise error.get_converted_unexpected_exception(space, e)
interpreter\gateway.py:878: in funcrun_obj
w_result = activation._run(space, scope_w)
module\_frozen_importlib\interp_import.py:96: in interp___import__
w_level)
interpreter\baseobjspace.py:1241: in call_function
return self.call_args(w_func, args)
objspace\descroperation.py:192: in call_args
return w_obj.call_args(args)
interpreter\function.py:81: in call_args
w_res = self.getcode().funcrun(self, args)
interpreter\pycode.py:280: in funcrun
return frame.run(func.name, func.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:307: in dispatch_bytecode
self.CALL_FUNCTION(oparg, next_instr)
interpreter\pyopcode.py:1399: in CALL_FUNCTION
w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:193: in funccall_valuestack
natural_arity - nargs, dropvalues)
interpreter\function.py:231: in _flat_pycall_defaults
return new_frame.run(self.name, self.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:307: in dispatch_bytecode
self.CALL_FUNCTION(oparg, next_instr)
interpreter\pyopcode.py:1399: in CALL_FUNCTION
w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:187: in funccall_valuestack
return self._flat_pycall(code, nargs, frame, dropvalues)
interpreter\function.py:214: in _flat_pycall
return new_frame.run(self.name, self.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:307: in dispatch_bytecode
self.CALL_FUNCTION(oparg, next_instr)
interpreter\pyopcode.py:1399: in CALL_FUNCTION
w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:187: in funccall_valuestack
return self._flat_pycall(code, nargs, frame, dropvalues)
interpreter\function.py:214: in _flat_pycall
return new_frame.run(self.name, self.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:307: in dispatch_bytecode
self.CALL_FUNCTION(oparg, next_instr)
interpreter\pyopcode.py:1399: in CALL_FUNCTION
w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:187: in funccall_valuestack
return self._flat_pycall(code, nargs, frame, dropvalues)
interpreter\function.py:214: in _flat_pycall
return new_frame.run(self.name, self.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:307: in dispatch_bytecode
self.CALL_FUNCTION(oparg, next_instr)
interpreter\pyopcode.py:1399: in CALL_FUNCTION
w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:187: in funccall_valuestack
return self._flat_pycall(code, nargs, frame, dropvalues)
interpreter\function.py:214: in _flat_pycall
return new_frame.run(self.name, self.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:313: in dispatch_bytecode
self.CALL_METHOD(oparg, next_instr)
objspace\std\callmethod.py:93: in CALL_METHOD
w_callable, n, f, methodcall=w_self is not None, dropvalues=n_args+2)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:187: in funccall_valuestack
return self._flat_pycall(code, nargs, frame, dropvalues)
interpreter\function.py:214: in _flat_pycall
return new_frame.run(self.name, self.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:307: in dispatch_bytecode
self.CALL_FUNCTION(oparg, next_instr)
interpreter\pyopcode.py:1399: in CALL_FUNCTION
w_result = self.space.call_valuestack(w_function, nargs, self, dropvalues=nargs+1)
interpreter\baseobjspace.py:1264: in call_valuestack
nargs, frame, methodcall=methodcall, dropvalues=dropvalues)
interpreter\function.py:203: in funccall_valuestack
return self.call_args(args)
interpreter\function.py:81: in call_args
w_res = self.getcode().funcrun(self, args)
interpreter\pycode.py:280: in funcrun
return frame.run(func.name, func.qualname)
interpreter\pyframe.py:256: in run
return self.execute_frame()
interpreter\pyframe.py:353: in execute_frame
raise self._convert_unexpected_exception(e)
interpreter\pyframe.py:844: in _convert_unexpected_exception
operr = error.get_converted_unexpected_exception(self.space, e)
interpreter\pyframe.py:349: in execute_frame
executioncontext)
interpreter\pyopcode.py:68: in dispatch
next_instr = self.handle_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:74: in handle_bytecode
next_instr = self.dispatch_bytecode(co_code, next_instr, ec)
interpreter\pyopcode.py:311: in dispatch_bytecode
self.CALL_FUNCTION_EX(oparg, next_instr)
interpreter\pyopcode.py:1441: in CALL_FUNCTION_EX
w_result = self.space.call_args(w_function, args)
objspace\descroperation.py:192: in call_args
return w_obj.call_args(args)
interpreter\function.py:81: in call_args
w_res = self.getcode().funcrun(self, args)
interpreter\gateway.py:869: in funcrun
return BuiltinCode.funcrun_obj(self, func, None, args)
interpreter\gateway.py:884: in funcrun_obj
self.handle_exception(space, e)
interpreter\gateway.py:908: in handle_exception
raise error.get_converted_unexpected_exception(space, e)
interpreter\gateway.py:878: in funcrun_obj
w_result = activation._run(space, scope_w)
module\imp\interp_imp.py:65: in create_builtin
return space.getbuiltinmodule(name, force_init=True, reuse=reuse)
interpreter\baseobjspace.py:583: in getbuiltinmodule
w_mod.init(self)
interpreter\mixedmodule.py:66: in init
Module.init(self, space)
interpreter\module.py:65: in init
self.startup(space)
module\time\moduledef.py:63: in startup
interp_time._init_timezone(space)
module\time\interp_time.py:526: in _init_timezone
tznutf8, _ = str_decode_locale_surrogateescape(tzn)
module\_codecs\locale.py:136: in str_decode_locale_surrogateescape
ubuf = pypy_char2wchar(sbuf, sizep)
..\rpython\rtyper\lltypesystem\lltype.py:1384: in __call__
return callb(*args)
..\rpython\rtyper\lltypesystem\ll2ctypes.py:1339: in __call__
self.natural_arity)
..\rpython\rtyper\lltypesystem\ll2ctypes.py:1236: in get_ctypes_callable
symbolic=True)
..\rpython\translator\tool\cbuild.py:345: in compile_shared_lib
standalone=False))
..\rpython\translator\platform\__init__.py:57: in compile
ofiles = self._compile_o_files(cfiles, eci, standalone)
..\rpython\translator\platform\__init__.py:79: in _compile_o_files
ofiles.append(self._compile_c_file(self.cc, cfile, compile_args))
..\rpython\translator\platform\windows.py:290: in _compile_c_file
self._execute_c_compiler(cc, args, oname)
..\rpython\translator\platform\__init__.py:143: in _execute_c_compiler
self._handle_error(returncode, stdout, stderr, outname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <MsvcPlatform cc=cl.exe>, returncode = 3221225477, stdout = ''
stderr = ''
outname = local('d:\\systemtemp\\pytest\\usession-py3.11-1918\\pypy\\module\\_codecs\\locale_codec.obj')
def _handle_error(self, returncode, stdout, stderr, outname):
if returncode != 0:
# Microsoft compilers write compilation errors to stdout
stderr = stdout + stderr
errorfile = outname.new(ext='errors')
errorfile.write(stderr, mode='wb')
if self.log_errors:
stderrlines = stderr.splitlines()
for line in stderrlines:
log.Error(line)
# ^^^ don't use ERROR, because it might actually be fine.
# Also, ERROR confuses lib-python/conftest.py.
> raise CompilationError(stdout, stderr)
E CompilationError: CompilationError(out="""
E """)
..\rpython\translator\platform\windows.py:319: CompilationError
builder: own-win-x86-64 build #2384+
test: pypy/module/unicodedata/test/test_hyp.py::test_composition[NFC-NFC-NFC]