Skip to content

abstract instead of NotImplementedError #27

@GoogleCodeExporter

Description

@GoogleCodeExporter
Many methods use "abstract" instead of raising NotImplementError when they are 
destined to be implemented by a child class.

Fun fact, upon research.  I end up in 
http://norvig.com/python-iaq.html
finding an explanation for this.

Still, I think that, to avoid confusion, it should be fixed to either 
abstract() as in the FAQ or just RaiseNotImplementedError.

Otherwise, it will raise NameError which is confusing (and abstract could 
potentially be defined globally)

Original issue reported on code.google.com by alexhans...@gmail.com on 11 Oct 2011 at 6:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions