summary refs log tree commit diff
path: root/synapse/app/__init__.py
diff options
context:
space:
mode:
authorJonathan de Jong <jonathan@automatia.nl>2021-02-26 19:30:54 +0100
committerGitHub <noreply@github.com>2021-02-26 18:30:54 +0000
commite12077a78afb8f0e7931a0930aebe5081023d5f9 (patch)
treef8b89e4e125cfdff4e92845408b65588a8690a21 /synapse/app/__init__.py
parentAdd support for no_proxy and case insensitive env variables (#9372) (diff)
downloadsynapse-e12077a78afb8f0e7931a0930aebe5081023d5f9.tar.xz
Allow bytecode again (#9502)
In #75, bytecode was disabled (from a bit of FUD back in `python<2.4` days, according to dev chat), I think it's safe enough to enable it again.

Added in `__pycache__/` and `.pyc`/`.pyd` to `.gitignore`, to extra-insure compiled files don't get committed.

`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
Diffstat (limited to 'synapse/app/__init__.py')
-rw-r--r--synapse/app/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/app/__init__.py b/synapse/app/__init__.py
index a01bac2997..4a9b0129c3 100644
--- a/synapse/app/__init__.py
+++ b/synapse/app/__init__.py
@@ -17,8 +17,6 @@ import sys
 
 from synapse import python_dependencies  # noqa: E402
 
-sys.dont_write_bytecode = True
-
 logger = logging.getLogger(__name__)
 
 try: