Get ready for release 3.6.3

This commit is contained in:
rocky
2020-01-26 12:03:58 -05:00
parent e30051b460
commit f8c437230d
4 changed files with 37 additions and 6 deletions

View File

@@ -21,8 +21,6 @@ from uncompyle6 import PYTHON3
if PYTHON3:
intern = sys.intern
class Token: # Python 2.4 can't have empty ()
def off2int(offset, prefer_last=True):
if isinstance(offset, int):
return offset
@@ -38,12 +36,18 @@ def off2int(offset, prefer_last=True):
# This is an instruction with an extended arg.
# For things that compare against offsets, we generally want the
# later offset.
return offset_2 if prefer_last else offset_1
if prefer_last:
return offset_2
else:
return offset_1
pass
else:
# Probably a "COME_FROM"-type offset, where the second number
# is just a count, and not really an offset.
return offset_1
class Token: # Python 2.4 can't have empty ()
"""
Class representing a byte-code instruction.

View File

@@ -12,4 +12,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This file is suitable for sourcing inside bash as
# well as importing into Python
VERSION="3.6.2" # noqa
VERSION="3.6.3" # noqa