Menu

#171 UML Viewer parses pydoc strings as code...

closed-postponed
None
2
2004-01-05
2003-12-29
Chris Gahan
No

The UML viewer has trouble ignoring big pydoc strings like
this:

""" Here's an example of how to use this class:

class Derived(ThisClass):
def dostuff(self):
self.stuff()
"""

The UML parser will think that Derived is a class in the
UML diagram.

Discussion

  • Riaan Booysen

    Riaan Booysen - 2004-01-05

    Logged In: YES
    user_id=438

    Hi Chris,

    It's actually a limitation of the code in moduleparser.

    It's not easy to fix and I have no plans to do it soon, patches
    welcome.

    Thanks,
    Riaan.

     
  • Riaan Booysen

    Riaan Booysen - 2004-01-05
    • priority: 5 --> 2
    • assigned_to: nobody --> riaan
    • status: open --> closed-postponed
     
  • Chris Gahan

    Chris Gahan - 2004-01-06

    Logged In: YES
    user_id=368532

    Ah, yes, I just checked out moduleparse, and it's pretty
    complicated. :)

    Just out of curiousity, why did you decide to roll your own
    module for gathering information about python code instead of
    using inspect or pydoc?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.