mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-10 05:20:45 +08:00
Merge branch 'GP-0_ryanmkurtz_PR-9031_fcrwr_fix-pyghidra-repl' into
Ghidra_12.1 (Closes #9031)
This commit is contained in:
@@ -578,6 +578,7 @@ __3.1.0__
|
||||
* PyGhidra now includes a
|
||||
[`py.typed`](https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information)
|
||||
marker file to inform type checkers that typing is supported.
|
||||
* The PyGhidra interactive console no longer restarts when a `SyntaxError` occurs.
|
||||
|
||||
__3.0.2__
|
||||
* Fixed an issue that prevented [`pyghidra.analysis_properties()`](#pyghidraanalysis_properties)
|
||||
|
||||
@@ -291,9 +291,9 @@ class PyConsole(InteractiveConsole):
|
||||
finally:
|
||||
self._writer = self._out
|
||||
|
||||
def showsyntaxerror(self, filename=None):
|
||||
def showsyntaxerror(self, filename=None, **kwargs):
|
||||
with self.redirect_writer():
|
||||
super().showsyntaxerror(filename=filename)
|
||||
super().showsyntaxerror(filename=filename, **kwargs)
|
||||
|
||||
def showtraceback(self) -> None:
|
||||
with self.redirect_writer():
|
||||
|
||||
Reference in New Issue
Block a user