[Fwd: Re: [Pythonmac-SIG] OS X import bug?]

Manoj Plakal terabaap@yumpee.org
Sat, 26 Jan 2002 08:40:05 -0600


Jack Jansen wrote:

> On Saturday, January 26, 2002, at 03:09  AM, Manoj Plakal wrote:
>> I think I will submit a bug on Sourceforge
>> asking that flat namespace be disabled.
> 
> The disadvantage of this is that a Python built on 10.1 will no longer 
> run on 10.0. So I think we should make this into a configure flag 
> (--with-flat-namespace, default off). Or is this overkill? (a binary 
> created on 10.0 will run on 10.0, of course, because it is automatically 
> flat namespace).
> 
> Oh yes, a bug report is a good idea, but a patch would be an even better 
> idea:-)


          Why does this affect the Python binary itself?
          Doesn't the namespace option only affect the
          building of extension modules? Would there
          be a problem importing a 2-level-namespace
          extension on 10.0?

          Re patch, I'm guessing it would be a patch
          to distutils to provide an extra build
          option for distutils.core.Extension
          with the default = build extension
          as 2-level on 10.1, flat on 10.0.

          Manoj