Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
de4d0a39
Commit
de4d0a39
authored
Sep 10, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set dont_write_bytcode=True by default
parent
928d5de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/runtime/builtin_modules/sys.cpp
src/runtime/builtin_modules/sys.cpp
+5
-1
No files found.
src/runtime/builtin_modules/sys.cpp
View file @
de4d0a39
...
...
@@ -44,7 +44,11 @@ int Py_DivisionWarningFlag = 0;
int
Py_HashRandomizationFlag
=
0
;
int
Py_DebugFlag
=
0
;
int
_Py_QnewFlag
=
0
;
int
Py_DontWriteBytecodeFlag
=
0
;
// Pyston change: set this by default to True
// We can support many cases of users wanting to write bytecode, but there are some
// that are much harder to support (py.test wants to write its own pyc files), and
// this flag is one of the few levers we have to avoid hitting those paths.
int
Py_DontWriteBytecodeFlag
=
1
;
int
Py_NoUserSiteDirectory
=
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment