(&self)
| 1717 | /// as the CompileOpts for `vm.compile()`. |
| 1718 | #[cfg(feature = "rustpython-codegen")] |
| 1719 | pub fn compile_opts(&self) -> crate::compiler::CompileOpts { |
| 1720 | crate::compiler::CompileOpts { |
| 1721 | optimize: self.state.config.settings.optimize, |
| 1722 | debug_ranges: self.state.config.settings.code_debug_ranges, |
| 1723 | } |
| 1724 | } |
| 1725 | |
| 1726 | // To be called right before raising the recursion depth. |
| 1727 | fn check_recursive_call(&self, _where: &str) -> PyResult<()> { |
no outgoing calls
no test coverage detected