Start 3.4 more stringent disassembly testing. Disassembly format has

changed slightly. misc small bugs.
This commit is contained in:
rocky
2015-12-16 00:40:28 -05:00
parent 7cdfd41eff
commit 8c94acfca0
18 changed files with 237 additions and 108 deletions

View File

@@ -1,16 +1,16 @@
# Copyright (c) 1999 John Aycock
# Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
# Copyright (c) 2005 by Dan Pascu <dan@windowmaker.org>
# Copyright (c) 2015 by Rocky Bernstein
#
# See main module for license.
"""
Python 2.5 bytecode scanner/deparser
Copyright (c) 1999 John Aycock
Copyright (c) 2000-2002 by hartmut Goebel <h.goebel@crazy-compilers.com>
Copyright (c) 2005 by Dan Pascu <dan@windowmaker.org>
Copyright (c) 2015 by Rocky Bernstein
See main module for license.
Python 2.5 bytecode scanner/deparser
This overlaps Python's 2.5's dis module, but it can be run from
Python3 and other versions of Python. Also, we save token information
for later use in deparsing.
Python 3 and other versions of Python. Also, we save token
information for later use in deparsing.
"""
import types