[C++-sig] Pyste and exporting inherited items

Nicodemus nicodemus at esss.com.br
Wed Apr 7 01:04:14 CEST 2004


Hi Niall,

(sorry for taking so long to respond: I have been out of town)

Niall Douglas wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Bruno, are you aware that by adding the exporters.importing mechanism 
>you have totally broken pyste's detection of class inheritance thus 
>causing the class_<...bases<base> > system to stop working? 
>Furthermore nested class definitions get replicated, thus causing 
>Boost.Python to fault on startup complaining about multiple 
>definitions.
>  
>

Ouch, that's a pretty serious bug. According to the log message, this 
change was introduce to fix a bug where a class would be exported more 
than once.

>The solution for others afflicted is to comment out line 55 "if not 
>exporters.importing" in infos.py.
>  
>

I will commit this change. I'll have to think something else to deal 
with the other bug.

Thanks a lot for reporting this, and sorry about any trouble this may 
have caused! 8/

Regards,
Nicodemus.




More information about the Cplusplus-sig mailing list