Commit Graph

28 Commits

Author SHA1 Message Date
Alex
75de28decc Python 3.13 initial support (#497)
* Support for JUMP_BACKWARD

* Initial support for Python 3.13

* Remove opcode from another old PR, not needed in the current one

* Update bytes/python_3_13.cpp

Co-authored-by: Michael Hansen <zrax0111@gmail.com>

* Update bytecode_ops.inl

Co-authored-by: Michael Hansen <zrax0111@gmail.com>

* Update .gitignore

Co-authored-by: Michael Hansen <zrax0111@gmail.com>

* Update bytecode_ops.inl

---------

Co-authored-by: Michael Hansen <zrax0111@gmail.com>
2024-08-07 15:39:40 -07:00
Michael Hansen
c7d3315156 Clarify prefix check on interned string type 2023-11-09 15:45:43 -08:00
Michael Hansen
9b384ad1fa Add basic bytecode and disassembly support for Python 3.12 2023-11-09 12:17:03 -08:00
Michael Hansen
9f1d0f2a21 Add basic opcode (disassembly) support for Python 3.11 2023-01-19 11:32:07 -08:00
Michael Hansen
93495c3bfb Reduce unnecessary uses of std::list 2022-12-01 11:35:14 -08:00
Michael Hansen
8590d67d29 Simplify and improve version setting for marshalled code objects:
* Use a simpler check for validity -- the reverse magic number mapping was
  unnecessary and missed some cases (2.2, 3.2).
* Set the version directly after it is checked for validity.
* Fix unicode flag setting on Python 3.x.
2022-10-04 14:51:23 -07:00
clubby789
dc50479d06 Add support for pycdas/pycdc using marshalled code objects
These requires the Python version to be specified as the Pyc header
magic is not present.
2022-06-15 11:33:11 +01:00
GawdOfROFL
43667f0bae make requested changes 2021-10-10 06:48:34 +05:30
GawdOfROFL
e4e3a9f4ed added python 3.10 support 2021-10-10 00:52:41 +05:30
Michael Hansen
8460d119fd Add bytecode support for Python 3.9 rc2 2020-09-29 09:28:15 -07:00
Michael Hansen
428d11c4b5 Add bytecode and disassembly support for Python 3.8.
Also fixes running pymultic from outside of its source directory.
2019-10-14 14:48:26 -07:00
Michael Hansen
8014ac2b14 Print unicode as default in Python 2.x when CO_FUTURE_UNICODE_LITERALS
is set.

Fixes #141.
2019-10-06 14:34:24 -07:00
Michael Hansen
104c3c0b42 Update magic for 3.7.0 release 2018-07-02 13:13:58 -07:00
Michael Hansen
0c3955883f Fix bytecode compatibility with Python 3.7 beta3 2018-04-26 14:38:02 -07:00
Michael Hansen
98ad031109 Add initial 3.7 alpha support, and fix 3.6 opcode map 2017-12-20 13:49:28 -08:00
Michael Hansen
96122d23b8 Minor typing/aliasing cleanup 2017-07-05 16:10:09 -07:00
Dhiru Kholia
da6571587b Add MAGIC_NUMBER for Python 3.5.3
See https://bugs.python.org/issue27286 for details.
2017-04-11 09:55:40 +05:30
Michael Hansen
a690d22822 Update Python 3.6 magic from RC build 2016-12-14 14:39:22 -08:00
Michael Hansen
6a9d6a6132 Update bytecode for Python 3.6 beta3, and use a common file for opcode names 2016-11-08 16:00:56 -08:00
Michael Hansen
605d064fe7 Initial support for Python 3.6 disassembly 2016-06-22 22:06:09 -07:00
Michael Hansen
5fae3e2d1f Add Python 3.5 disassembly support 2015-10-01 16:06:09 -07:00
mancoast
b7dc792499 Magic Number 34
Adjust Python 3.4 Magic Number
2014-12-13 10:42:30 -05:00
Michael Hansen
36cf09ca82 Minor style cleanup 2014-06-10 18:28:28 -07:00
Michael Hansen
176a049a68 Support new marshal types from Python 3.4 2014-01-21 00:42:37 -08:00
Michael Hansen
6ecbcfb564 Add documentation and initial framework for Python 3.4 support 2013-11-27 14:10:05 -08:00
Michael Hansen
209970f668 Update magic number for Python 3.3 beta 2012-06-27 18:03:55 -07:00
Michael Hansen
50657fb984 Preview of Python 3.3 support 2012-05-26 14:09:52 -07:00
Michael Hansen
c474d368a1 Use less conflicting filenames 2011-10-23 17:48:10 -07:00