In short, my request is to have all NotImplementedError exceptions raised
accompanied by a message.
I realize this change would be boring to work on, so I am more than
willing to read through the patch procedures and submit a patch myself if
you all find this a worthy cause. (The nature of this request may even be
simple enough to send through Github)
--
Ticket URL: <https://code.djangoproject.com/ticket/20841>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* component: Uncategorized => Core (Other)
* needs_tests: => 0
* version: 1.5 => master
* needs_docs: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/20841#comment:1>
* status: new => assigned
* owner: nobody => TimClifford
Comment:
Looks like gruntwork that requires a base level of code literacy, which is
perfect to assign during a sprint.[[BR]]
[[BR]]
I'm on it!
--
Ticket URL: <https://code.djangoproject.com/ticket/20841#comment:2>
Comment (by TimClifford):
Pull request submitted and awaiting review. 92 instances of "raise
NotImplementedError" used to placehold base class methods for subclassing
were given verbose may/must subclass explanations, and two instances of
not-implemented features were written up as well (found in
/utils/datetime.py line #67 and /utils/regex_helper.py line #95).
--
Ticket URL: <https://code.djangoproject.com/ticket/20841#comment:3>
* has_patch: 0 => 1
Comment:
Added a patch in the form of a Pull Request, visible here:
https://github.com/django/django/pull/1569
--
Ticket URL: <https://code.djangoproject.com/ticket/20841#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b2b763448f726ee952743596e9a34fcb154bdb12"]:
{{{
#!CommitTicketReference repository=""
revision="b2b763448f726ee952743596e9a34fcb154bdb12"
Fixed #20841 -- Added messages to NotImplementedErrors
Thanks joseph at vertstudios.com for the suggestion.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20841#comment:5>