Opened 10 years ago

Closed 10 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


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 by Collin Anderson, 10 years ago

comment:3 by Marc Tamlyn, 10 years ago

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

comment:4 by Aymeric Augustin, 10 years ago

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