0.2.0
pycview 0.2 introduces features for displaying multiple code objects as well as local variable and position information.
Features
- Code object tabs: Tabs allow opening multiple code objects at once. When a file is open, a tab is created for its code object. By clicking on a code object within the
co_constslist, a new tab will appear with details of the selected code object. - Local variables: Code objects now include local variables as stored in the
co_varnames,co_freevars, andco_cellvarsattributes. - Line and column offsets: Code objects now include line and column offset information for the bytecode instructions within the object. This data is parsed from
co_linetableorco_lnotab, depending on the bytecode version of the supplied file.
Changes
- An about dialog was added, accessible from the menubar.
- The
co_flagsentry no longer displays a hex integer. It now displays a union of code object flag names as found in the Pythoninspectmodule.
More details can be found in the commit log, as well as the changelog entry.