I can do this once accepted.
--
Ticket URL: <https://code.djangoproject.com/ticket/32601>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
Comment:
Thanks for the suggestion, this optimization has already been proposed as
a part of #31354, see [https://github.com/django/django/pull/12844 PR]. I
think we can keep it there and merge it before the main fix.
--
Ticket URL: <https://code.djangoproject.com/ticket/32601#comment:1>
Comment (by Chris Jerdonek):
Thanks for the pointer. That PR doesn't contain all the optimizations I
had in mind, though. There is more pure Python that can be removed.
--
Ticket URL: <https://code.djangoproject.com/ticket/32601#comment:2>
Comment (by Chris Jerdonek):
I was also going to add more tests as part of my change because currently
there is only one test case (testing dot removal):
https://github.com/django/django/blob/2f13c476abe4ba787b6cb71131818341911f43cc/tests/requests/tests.py#L813-L816
--
Ticket URL: <https://code.djangoproject.com/ticket/32601#comment:3>