[Python-bugs-list] [Bug #129843] MacOSX case insensitivity bug resurfaces

noreply@sourceforge.net noreply@sourceforge.net
Tue, 23 Jan 2001 18:46:14 -0800


Bug #129843, was updated on 2001-Jan-23 11:38
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: nobody
Assigned to : gvanrossum
Summary: MacOSX  case insensitivity bug resurfaces

Details: The case insensitivity with HFS+ MacOSX bug has 
resurfaced with the 2.1a1 release. 

import FCNTL; import fcntl

or 

import termios; import TERMIOS

(and maybe others) 

will crash due to duplicate symbols as it tries to import
the same shared libraries twice instead ot importing
the .py file for one of them. 

This was handled in 2.0 by building those modules as
built-in, not shared.  ( I haven't yet figured out the new
setup.py system.  Maybe it should be fixed in import. ) 

-- Steve M.  <sdm7g>



Follow-Ups:

Date: 2001-Jan-23 18:46
By: gvanrossum

Comment:
You can make them built-in by adding them to the Modules/Setup file -- that
file still exists and works as before, it's just that most modules aren't
listed there any more.  See also the discussion at this patch:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102409&group_id=5470

The long-term solution is to get rid of the FCNTL and TERMIOS modules and
include the symbols in the extension -- as has been done for e.g. the
socket module.  (Some of the symbols of FCNTL are already exported by fcntl
or os.)
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129843&group_id=5470