Re: How to signal "not implemented yet"?

2005-12-25 Thread Heiko Wundram
Roy Smith wrote: > How do other people do this? raise NotImplementedError, "I chose not to implement this because of..." (built-in exception) --- Heiko. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to signal "not implemented yet"?

2005-12-25 Thread Roy Smith
In article <[EMAIL PROTECTED]>, Tim Peters <[EMAIL PROTECTED]> wrote: >[Roy Smith] >> Is there some standard way to signal "not implemented yet" in >> unfinished code? > >raise NotImplementedError > >That's a builtin exception. Ah, that's exactly what I was looking for. Thanks. -- http://ma

Re: How to signal "not implemented yet"?

2005-12-25 Thread Tim Peters
[Roy Smith] > Is there some standard way to signal "not implemented yet" in > unfinished code? raise NotImplementedError That's a builtin exception. ... -- http://mail.python.org/mailman/listinfo/python-list

How to signal "not implemented yet"?

2005-12-25 Thread Roy Smith
Is there some standard way to signal "not implemented yet" in unfinished code? When I'm coding, I'll often only flesh out one side of a branch, or delay writing some method until later. It would be nice to be able to identify these right in the code to make sure they don't get forgotten about. I