[New-bugs-announce] [issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

Stephan Bökelmann report at bugs.python.org
Wed Jul 28 04:55:12 EDT 2021


New submission from Stephan Bökelmann <stephan.boekelmann at gruppe.ai>:

When trying to open a lib.so that has been compiled for a different architecture an error-msg is emitted saying. "no such file or directory" 

this is misleading behavior. changing the error-msg to. "library not compatible with architecture" would have saved me an hour of work ;)

----------
components: ctypes
messages: 398357
nosy: stephan.boekelmann
priority: normal
severity: normal
status: open
title: ctype generates misleading error-msg opening lib.so when compiled for wrong arch
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44759>
_______________________________________


More information about the New-bugs-announce mailing list