Another Python namespace pollution
Matthias Klose
doko@ubuntu.com
Thu Jan 27 23:59:00 GMT 2011
On 27.01.2011 20:54, Gerald Pfeifer wrote:
> On Thu, 27 Jan 2011, Gary Benson wrote:
>>> The files should reside in a directory that is private to gcc or
>>> at least mangled with the gcc version it comes from. Otherwise
>>> multiple parallel gcc installations conflict.
>> Ah, ok, that shouldn't be too hard. I'll get working on a patch.
>
> Thanks!
>
> In case you are wondering where to put them, there is prior art
> based on Tom's fix:
>
> ./share/gcc-4.6.0/python/libstdcxx/__init__.py<--- The good
> ./share/gcc-4.6.0/python/libstdcxx/v6/printers.py
> ./share/gcc-4.6.0/python/libstdcxx/v6/__init__.py
> ./share/python/classfile.py<--- The bad
> ./share/python/aotcompile.py
> ./lib/libstdc++.so.6-gdb.py<--- The ugly :-)
afaiu the latter one is by design, and has to match the shared object name.
More information about the Java
mailing list