• Nick Coghlan's avatar
    Close #19378: address flaws in the new dis module APIs · 90b8e7d2
    Nick Coghlan yazdı
    - 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.
    90b8e7d2
Adı
Son kayıt (commit)
Son güncelleme
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.hgtouch Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...