On Thursday, May 25, 2017 at 5:03:54 PM UTC+2, Shai Berger wrote: > > Hi, > > I apologize for re-raising a thread that's mostly done and decided, but I > just > ran into [1] where it says: > > """ > Note > > Exception messages are not part of the Python API. Their contents may > change > from one version of Python to the next without warning and should not be > relied on by code which will run under multiple versions of the > interpreter. > """ > > I don't think that's enough to overturn the decision, but I thought this > should be noted in this thread. >
I asked Tim on IRC about this some weeks ago. I think it suffices to restrict the PR to Django's own exception messages. There are quite a lot of tests for IndexError, TypeError etc. which use messages from Python. I created https://code.djangoproject.com/ticket/28224 while doing work on this PR. [1] https://docs.python.org/3/reference/executionmodel.html#exceptions > ~ Mads -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3070e428-5f36-49ea-b12e-ff1fb3c79d9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
