| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
test.support.bytecode_helper (GH-15168)
Rename and document test.bytecode_helper as test.support.bytecode_helper
|
|
|
|
|
| |
Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- confusing line_offset parameter -> first_line parameter
- systematically test and fix new file parameter
- remove redundant Bytecode.show_info() API
- rename Bytecode.display_code() to Bytecode.dis() and have it
return the multi-line string rather than printing it directly
- eliminated some not-so-helpful helpers from the bytecode_helper
test support module
Also fixed a longstanding defect (worked around in the test suite)
where lines emitted by the dis module could include trailing white
space. That no longer happens, allowing the formatting tests to be
simplified to use plain string comparisons.
|
|
This is why I should really use hg import rather than patch,
but old habits die hard...
|