[Django] #23453: project_template: sys.dont_write_bytecode = True

11 views
Skip to first unread message

Django

unread,
Sep 8, 2014, 10:04:45 PM9/8/14
to django-...@googlegroups.com
#23453: project_template: sys.dont_write_bytecode = True
--------------------------------------------+--------------------
Reporter: collinanderson | Owner: nobody
Type: New feature | Status: new
Component: Core (Management commands) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------------+--------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/23453>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 8, 2014, 10:06:10 PM9/8/14
to django-...@googlegroups.com
#23453: project_template: sys.dont_write_bytecode = True
-------------------------------------+-------------------------------------

Reporter: collinanderson | Owner: nobody
Type: New feature | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by collinanderson):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/23453#comment:1>

Django

unread,
Sep 8, 2014, 10:06:47 PM9/8/14
to django-...@googlegroups.com
#23453: project_template: sys.dont_write_bytecode = True
-------------------------------------+-------------------------------------

Reporter: collinanderson | Owner: nobody
Type: New feature | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by collinanderson):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/3202

--
Ticket URL: <https://code.djangoproject.com/ticket/23453#comment:2>

Django

unread,
Sep 9, 2014, 3:37:15 AM9/9/14
to django-...@googlegroups.com
#23453: project_template: sys.dont_write_bytecode = True
-------------------------------------+-------------------------------------

Reporter: collinanderson | Owner: nobody
Type: New feature | Status: new
Component: Core (Management | Version: master
commands) | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by mjtamlyn):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/23453#comment:3>

Django

unread,
Sep 9, 2014, 4:02:53 AM9/9/14
to django-...@googlegroups.com
#23453: project_template: sys.dont_write_bytecode = True
-------------------------------------+-------------------------------------
Reporter: collinanderson | Owner: nobody
Type: New feature | Status: closed

Component: Core (Management | Version: master
commands) | Resolution: wontfix

Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

* status: new => closed
* resolution: => wontfix


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/23453#comment:4>

Reply all
Reply to author
Forward
0 new messages