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 |
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 by , 10 years ago
comment:2 by , 10 years ago
Has patch: | set |
---|
comment:3 by , 10 years ago
This doesn't strike me as something which should be always on personally.
comment:4 by , 10 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.
https://github.com/django/django/pull/3202