Opened 7 years ago

Closed 7 years ago

#23453 closed New feature (wontfix)

project_template: sys.dont_write_bytecode = True

Reported by: Collin Anderson Owned by: nobody
Component: Core (Management commands) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

pyc files are only helpful for code startup, and we don't attempt to make django start up quickly.

It adds a bit of cruft to the default template, but it's easy to remove, and could help eliminate .pyc issues for beginners.

Change History (4)

comment:1 Changed 7 years ago by Collin Anderson

comment:2 Changed 7 years ago by Collin Anderson

Has patch: set

comment:3 Changed 7 years ago by Marc Tamlyn

This doesn't strike me as something which should be always on personally.

comment:4 Changed 7 years ago by Aymeric Augustin

Resolution: wontfix
Status: newclosed

Thanks for the suggestion, but I don't think it's a good idea to diverge from Python's defaults here.

We *do* attempt to make the development server reload as quickly as possible -- see the efforts around various notification systems.

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