View source
get_opinfo
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Simplify signature of the disassembly helper method, standardise opname field width as 20 characters, stop regenerating the expected output on each test run
Nick Coghlan
Update to the Instruction/get_instructions() terminology. In addition: - get_instructions() now accepts a line_offset argument - assertBytecodeExactlyMatches now relies on Instruction.__eq__ - individual disassembly lines are built with a private method on Instruction instances
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default (fix test_peepholer to account for PEP 393 Unicode changes)
Nick Coghlan
Document new file parameters, and flag updates and additions as part of version 3.3
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Resolve redundant merge
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Add missing file
Nick Coghlan
Tests and documentation for get_opinfo
Nick Coghlan
Rename several OpInfo fields, factor out a helper module for bytecode generation tests
Nick Coghlan
Refactor some of Ryan's changes, start enhancing test_dis to catch errors in cell var disassembly
Nick Coghlan
Merge from default
Nick Coghlan
Remove PEP 380 changes
Nick Coghlan
Merge from default
Ryan Kelly
Refactor pep380 tests to avoid using captured print() output.
Ryan Kelly
Remove unused method from BytecodeTestCase class
Ryan Kelly
Restore original output of dis._disassemble_bytes. This function differs from dis.disassemble in spacing and other trivial details, but there are tests for the differences so we can't break it.
Ryan Kelly
Use dis.get_opinfo for peepholer tests. To allow easier capture of disassembly text for error reporting, this also adds a "file" argument to control where various dis.* functions send their output.
Nick Coghlan
Merge from default
Nick Coghlan
Merge from default
Nick Coghlan
Sample refactoring to provide generator based disassembly