Skip to content

Commit 5175371

Browse files
author
rocky
committed
Get ready for release 6.1.3
1 parent 0af394a commit 5175371

File tree

8 files changed

+118
-103
lines changed

8 files changed

+118
-103
lines changed

ChangeLog-spell-corrected.diff

Lines changed: 95 additions & 92 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ clean: clean_pyc
6464

6565
#: Create source (tarball) and wheel distribution
6666
dist: clean
67-
$(PYTHON) ./setup.py sdist bdist_egg
67+
$(PYTHON) ./setup.py sdist bdist_wheel
6868

6969
#: Create older distributions
7070
dist-older:

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
6.1.3 2024-12-19
2+
================
3+
4+
* Support for Python 3.13 added courtesy of Elliot Tarbet 2elli
5+
* Add get_logical_instruction_at_offset() This disassembles a single instruction at a given offset
6+
* Update Python magics for 3.13.1, 3.10.16, pypy3.6.12, 3.12.8
7+
8+
19
6.1.2 2024-11-08
210
================
311

README.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ xdis
88
A Cross-Python bytecode disassembler, bytecode/wordcode and magic-number manipulation library/package.
99

1010

11+
.. contents:: Table of Contents
12+
:depth: 3
13+
14+
1115
Introduction
1216
------------
1317

@@ -21,8 +25,8 @@ bytecodes from different versions of Python. The command-line routine
2125
disassembly conventions in a variety of user-specified formats. Some
2226
of these formats like ``extended`` and ``extended-format`` are the most
2327
advanced of any Python disassembler I know of because they can show
24-
expression-tree on operators. See the [Disassembler
25-
Example][#disassembler-example] below.
28+
expression-tree on operators. See the `Disassembler
29+
Example`_ below.
2630

2731
Also, if you need to modify and write bytecode, the routines here can
2832
be of help. There are routines to pack and unpack the read-only tuples
@@ -42,8 +46,8 @@ the kinds of instruction categorization that ``dis`` offers, we have
4246
additional categories for things that would be useful in such a
4347
bytecode assembler, optimizer, or decompiler.
4448

45-
The programs here accept bytecodes from Python version 1.0 to 3.11 or
46-
so. The code requires Python 2.4 or later and has been tested on
49+
The programs here accept bytecodes from Python version 1.0 to
50+
3.13. The code requires Python 2.4 or later and has been tested on
4751
Python running lots of Python versions.
4852

4953
When installing, except for the most recent versions of Python, use
@@ -63,8 +67,7 @@ The standard Python routine:
6367

6468
::
6569

66-
$ pip install -e .
67-
$ pip install -r requirements-dev.txt
70+
$ pip install -e . # or pip install -e .[dev] to include testing package
6871

6972
A GNU makefile is also provided so ``make install`` (possibly as root or
7073
sudo) will do the steps above.

__pkginfo__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Programming Language :: Python :: 3.10",
5050
"Programming Language :: Python :: 3.11",
5151
"Programming Language :: Python :: 3.12",
52+
"Programming Language :: Python :: 3.13",
5253
"Programming Language :: Python :: Implementation :: PyPy",
5354
"Topic :: Software Development :: Debuggers",
5455
"Topic :: Software Development :: Libraries :: Python Modules",

admin-tools/make-dist-newest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ for pyversion in $PYVERSIONS; do
3636
# Pick out first two numbers of version, e.g. 3.5.1 -> 35
3737
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//')
3838
rm -fr build
39-
python setup.py bdist_egg bdist_wheel
39+
python setup.py bdist_wheel
4040
if [[ $first_two =~ py* ]]; then
4141
if [[ $first_two =~ pypy* ]]; then
4242
# For PyPy, remove the what is after the dash, e.g. pypy37-none-any.whl instead of pypy37-7-none-any.whl

xdis/codetype/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def codeType2Portable(code, version_tuple=PYTHON_VERSION_TRIPLE):
100100
co_firstlineno=code.co_firstlineno,
101101
co_linetable=line_table,
102102
)
103-
elif version_tuple[:2] >= (3,11):
103+
elif version_tuple[:2] >= (3, 11):
104104
return Code311(
105105
co_argcount=code.co_argcount,
106106
co_posonlyargcount=code.co_posonlyargcount,
@@ -187,7 +187,7 @@ def portableCodeType(version_tuple=PYTHON_VERSION_TRIPLE):
187187
elif version_tuple[:2] == (3, 10):
188188
# 3.10
189189
return Code310
190-
elif version_tuple[:2] >= (3,11):
190+
elif version_tuple[:2] >= (3, 11):
191191
# 3.11 ...
192192
return Code311
193193
elif version_tuple > (2, 0):

xdis/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# well as importing into Python. That's why there is no
55
# space around "=" below.
66
# fmt: off
7-
__version__="6.1.3.dev0" # noqa
7+
__version__="6.1.3" # noqa

0 commit comments

Comments
 (0)