Pierre GM schrieb:
> All,
> Once again, I have a problem with the .. automodule:: directive (r66095)
> Now, it doesn't print take any members of a module when module.__all__ is 
> defined. It lokos like the problem comes from that line (L503):
> 
> all_members = inspect.getmembers(todoc, lambda x: x in todoc.__all__)
> 
> On my machine (w/ Python 2.4), the predicate can never be true, as the input 
> of lambda is a type, which of course cannot be in a list of string. 
> The fix I was suggesting last time (all_members=[(_,getattr(todoc,_)) for _ 
> in 
> todoc.__all__) works quite well, however, and is basically what 
> inspect.getmembers is doing anyway. Would it be possible to fix it in the 
> trunk ?

Sure.  I apologize for applying the "fix" without testing it.  I've now
really fixed it and added a test to the test suite.

Hope it works fine now!

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to