[Python-ideas] Error messages for shared libraries for other platform
Ryan
rymg19 at gmail.com
Mon Aug 5 08:01:18 CEST 2013
I don't really know C. At all. I was thinking the errors could be caught at a higher level, something like(the code isn't runnable):
except windowserror as ex:
if ex.string == '%1 is not...:
raise_error_here
Guido van Rossum <guido at python.org> wrote:
>Do you know how to fix this?
>
>On Sunday, August 4, 2013, Ryan wrote:
>
>> Here are my experiences in accidently getting a .so/.dll file for the
>> wrong chip/CPU type:
>>
>> Windows:
>>
>> %1 is not a valid Win32 application
>>
>> *nix/Android:
>>
>> A long message about improper memory mappings and such.
>>
>> I'd like to propose the concept of better errors in these cases. Both
>> Windows and Posix errors is this case are horrible, and it'd be nice
>for
>> them to actually be written in English.
>> --
>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>>
>
>
>--
>--Guido van Rossum (on iPad)
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130805/9ddd4c5f/attachment-0001.html>
More information about the Python-ideas
mailing list