[issue2164] dl broken on non-ILP32 platforms

2008-02-22 Thread Bill Nottingham
New submission from Bill Nottingham: SystemError: module dl requires sizeof(int) == sizeof(long) == sizeof(char*) That's just unspeakably lame. I realize this is longstanding, and it's even documented, but just... FAIL. -- components: Library (Lib) messages: 62695 nosy: notting

[issue2164] dl broken on non-ILP32 platforms

2008-02-22 Thread Bill Nottingham
Bill Nottingham added the comment: Moreover, eliding the check and subsequent error from the code yields a module that appears to work in (very) brief testing on x86_64. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2164

[issue2164] dl broken on non-ILP32 platforms

2008-02-22 Thread Bill Nottingham
Bill Nottingham added the comment: sizeof(long) != sizeof(void *) isn't the epic fail here. It's the complaint about sizeof(int) != sizeof(long). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2164

[issue2164] dl broken on non-ILP32 platforms

2008-02-22 Thread Bill Nottingham
Bill Nottingham added the comment: If it's not possible to implement at all, why does it work without the test? What specific cases do you think will fail? Heck, if you don't think it's functional on 90% of hardware sold these days, just remove it, it makes python look less silly. (Portability