-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
gh-143134: Docs: clarify PYTHONDONTWRITEBYTECODE behavior #143144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
22afe2b
bb4365f
f5be5e0
a5b0e53
c3fdc06
9a32b48
b56dedd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -880,9 +880,10 @@ conflict. | |
|
|
||
| .. envvar:: PYTHONDONTWRITEBYTECODE | ||
|
|
||
| If this is set to a non-empty string, Python won't try to write ``.pyc`` | ||
| files on the import of source modules. This is equivalent to | ||
| specifying the :option:`-B` option. | ||
| If this is set to a non-zero integer value, Python won't try to write | ||
| ``.pyc`` files on the import of source modules. Setting it to ``0`` does | ||
| not disable bytecode writing. This is equivalent to specifying the | ||
|
Comment on lines
+884
to
+885
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why add "Setting it to
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I suggest to remove this sentence. |
||
| :option:`-B` option. | ||
|
|
||
|
|
||
| .. envvar:: PYTHONPYCACHEPREFIX | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.