Re: [Django] #36768: Repetitive string concatentation (in a loop) in File.__iter__

8 views
Skip to first unread message

Django

unread,
Dec 3, 2025, 11:23:59 PM12/3/25
to django-...@googlegroups.com
#36768: Repetitive string concatentation (in a loop) in File.__iter__
--------------------------------------+------------------------------------
Reporter: wooseokdotkim | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: File uploads/storage | Version:
Severity: Normal | Resolution:
Keywords: concatenation | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Pravin):

Can I work on this ?
--
Ticket URL: <https://code.djangoproject.com/ticket/36768#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 4, 2025, 3:48:34 AM12/4/25
to django-...@googlegroups.com
#36768: Repetitive string concatentation (in a loop) in File.__iter__
-------------------------------------+-------------------------------------
Reporter: wooseokdotkim | Owner: Varun
Type: | Kasyap Pentamaraju
Cleanup/optimization | Status: assigned
Component: File | Version:
uploads/storage |
Severity: Normal | Resolution:
Keywords: concatenation | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Varun Kasyap Pentamaraju):

* has_patch: 0 => 1
* owner: (none) => Varun Kasyap Pentamaraju
* status: new => assigned

Comment:

https://github.com/django/django/pull/20370
--
Ticket URL: <https://code.djangoproject.com/ticket/36768#comment:6>

Django

unread,
Dec 4, 2025, 4:38:40 AM12/4/25
to django-...@googlegroups.com
#36768: Repetitive string concatentation (in a loop) in File.__iter__
-------------------------------------+-------------------------------------
Reporter: wooseokdotkim | Owner: Varun
Type: | Kasyap Pentamaraju
Cleanup/optimization | Status: assigned
Component: File | Version:
uploads/storage |
Severity: Normal | Resolution:
Keywords: concatenation | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Pravin):

* cc: Pravin (removed)

--
Ticket URL: <https://code.djangoproject.com/ticket/36768#comment:7>

Django

unread,
Dec 4, 2025, 2:55:28 PM12/4/25
to django-...@googlegroups.com
#36768: Repetitive string concatentation (in a loop) in File.__iter__
-------------------------------------+-------------------------------------
Reporter: wooseokdotkim | Owner: Varun
Type: | Kasyap Pentamaraju
Cleanup/optimization | Status: assigned
Component: File | Version: dev
uploads/storage |
Severity: Normal | Resolution:
Keywords: concatenation | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* stage: Accepted => Ready for checkin
* version: => dev

--
Ticket URL: <https://code.djangoproject.com/ticket/36768#comment:8>

Django

unread,
Dec 9, 2025, 4:45:25 PM12/9/25
to django-...@googlegroups.com
#36768: Repetitive string concatentation (in a loop) in File.__iter__
-------------------------------------+-------------------------------------
Reporter: wooseokdotkim | Owner: Varun
Type: | Kasyap Pentamaraju
Cleanup/optimization | Status: closed
Component: File | Version: dev
uploads/storage |
Severity: Normal | Resolution: fixed
Keywords: concatenation | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"3ccef1d669de942b9f3280a35ad4d4422b0b46d2" 3ccef1d]:
{{{#!CommitTicketReference repository=""
revision="3ccef1d669de942b9f3280a35ad4d4422b0b46d2"
Fixed #36768 -- Optimized string concatenation in File.__iter__().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36768#comment:9>
Reply all
Reply to author
Forward
0 new messages