#21 name collision bug?

Bob Halley

I got this error:

INTERNAL ERROR: unbound method is_absolute() must be
called with ImmutableName instance as first argument
(got nothing instead)

when I added the text

class AbsoluteConcatenationAttempt(Exception):
"""Raised if an attempt is made to append anything
other than the
empty name to an absolute name."""

to my source. The error is bogus; the class added has
nothing to
do with the one which has is_absolute. It seems to be
some kind of name collsion. If I rename
'AbsoluteConcatenationAttempt' to
'AbsoluteConcatenation' or even
'FAbsoluteConcatenationAttempt', the problem goes away.


  • Edward Loper

    Edward Loper - 2003-06-21

    Logged In: YES

    ImmutableName and is_absolute() have nothing to do with
    epydoc, so my guess is that the error is not actually
    originating from epydoc. But without being able to look at
    the code, I can't tell. Can you attatch a copy of a file that
    exhibits the error?

    (This internal error is printed if any exception gets up to
    the level of the command-line interface. The text of the
    internal error is the text of the exception.)

  • Edward Loper

    Edward Loper - 2003-06-21
    • assigned_to: nobody --> edloper
  • Edward Loper

    Edward Loper - 2003-06-21
    • status: open --> closed-works-for-me

Log in to post a comment.