Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add --bug-report command line flag
  • Loading branch information
MilesCranmer committed Jan 1, 2024
commit 27e4ee3755539d3103222262ea3d6e30b21024d3
5 changes: 5 additions & 0 deletions src/julia/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ def yes_no_etc(*etc):
Enable or disable syntax and method deprecation warnings ("error"
turns warnings into errors).

bug_report: str
Launch a bug report session using BugReporting.jl.
Run `julia --bug-report=help` for more information.

inline: {True, False, 'yes', 'no'}
Control whether inlining is permitted, including overriding
@inline declarations.
Expand Down Expand Up @@ -168,6 +172,7 @@ class JuliaOptions(object):
compiled_modules = Choices("compiled_modules", yes_no_etc())
compile = Choices("compile", yes_no_etc("all", "min"))
depwarn = Choices("depwarn", yes_no_etc("error"))
bug_report = String("bug_report")
warn_overwrite = Choices("warn_overwrite", yes_no_etc())
min_optlevel = Choices("min_optlevel", dict(zip(range(4), map(str, range(4)))))
optimize = Choices("optimize", dict(zip(range(4), map(str, range(4)))))
Expand Down