Thorsten Lockert schrieb: > On Sep 11, 2008, at 15:40 , Georg Brandl wrote: >> >> [EMAIL PROTECTED] schrieb: >>> Note the trailing dot in the second occurrence of the import. >>> Immediately after than second import SQLAlchemy throws >>> "ArgumentError: >>> Table 'sometable' is already defined for this MetaData instance." >> >> That's not good and smells like a bug in autodoc. What version of >> Sphinx >> are you using? Can you show me the snippet of reST that contains the >> autodoc directives in question? > > > This is with Sphinx 0.4.2, tho it also happened with trunk at the end > of last week. > > This reST will do it:
Thanks to your test case, I found the problem quickly. Turns out that __import__ doesn't like to be called with a fromlist=['']... Should be fixed in trunk and 0.4.x branch! Georg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
