#144 Messy output when objects are part of the parameter list

closed-fixed
inspection (59)
5
2007-02-13
2006-11-28
Anonymous
No

Epydoc 3.0alpha3

Not sure if this is a bug or a feature request.

If I define an object as part of my parameter list for a method:

def __init__(self,camera,modelList,cameraLight=CameraLight(1.0)):

The output from epydoc looks like this:

__init__(self, camera, modelList, cameraLight=<SEModule.IMVPmodule.CameraLight instance at 0xb767b8ec>)
(Constructor)

It would be better if it replaced the address of the instance with a link to the object or displayed the actual assignment. Alternatively, it could specify the default assignment as part of the formatted parameter list.

William.T.Bridgman.1@gsfc.nasa.gov

Discussion

  • Daniele Varrazzo

    Logged In: YES
    user_id=1053920
    Originator: NO

    From r1471 this kind of ugly representation for the parameter should be replaced with the parsed value "CameraLight(1.0)".

    Please check if it works correctly for you. Thanks!

     
  • Daniele Varrazzo

    • status: open --> open-fixed
     
  • Edward Loper

    Edward Loper - 2007-02-13
    • status: open-fixed --> closed-fixed
     
  • Edward Loper

    Edward Loper - 2007-02-13

    Logged In: YES
    user_id=195958
    Originator: NO

    r1477 further improves on the fixs that Daniele made.

     

Log in to post a comment.