Opened 10 years ago

Closed 10 years ago

#25155 closed Cleanup/optimization (fixed)

Move Style declaration out of the function

Reported by: Maciej Fijalkowski Owned by: nobody
Component: Core (Management commands) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no
Pull Requests:How to create a pull request

Description

as far as I can see Style class does not have to be in the function body. It makes stuff slow on PyPy.

Change History (3)

by Maciej Fijalkowski, 10 years ago

Attachment: x.patch added

comment:1 by Tim Graham, 10 years ago

Component: UncategorizedCore (Management commands)
Has patch: set
Triage Stage: UnreviewedReady for checkin
Type: UncategorizedCleanup/optimization
Version: 1.8master

comment:2 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 5cedef9:

Fixed #25155 -- Removed an inner class in core.management.color for PyPy performance.

Note: See TracTickets for help on using tickets.
Back to Top