Michael Hansen
863e09e9e7
Remove unnecessary Latin-1 conversion code -- PyUnicode ASCII is 7-bit.
2022-11-30 15:05:29 -08:00
Michael Hansen
44a730f3a8
Merge pull request #285 from zrax/simplify_marshal_version
...
Simplify and improve version setting for marshalled code objects
2022-10-04 15:24:38 -07:00
Michael Hansen
747921a761
Adjust to reduce duplication
2022-10-04 15:19:15 -07:00
Michael Hansen
e2db195b85
Merge from #267
2022-10-04 15:18:35 -07: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
Michael Hansen
6373459830
Merge pull request #283 from DarkGuySM/master
...
Update README.markdown
2022-10-02 09:31:17 -07:00
DarkGuySM
6cffd49799
Update README.markdown
...
Corrected spelling mistake.
2022-10-02 15:44:29 +05:30
Michael Hansen
4951905f83
Remove dead code from a previous version of this block.
...
Fixes #282
2022-09-30 10:07:44 -07:00
Michael Hansen
1b59ea5cd8
Merge pull request #270 from ahaensler/for-loops-v3.8
...
3.8: parse for loops and fix ternary ifs
2022-07-31 17:09:47 -07:00
Adrian Haensler
5758634f81
support three digit versions in tests
2022-07-30 00:07:38 -05:00
Adrian Haensler
deebbb044d
add a test
2022-07-30 00:02:47 -05:00
Adrian Haensler
462260991e
fix for loops in 3.8
2022-07-08 20:25:13 -05:00
Adrian Haensler
882571c599
some fixes for 3.9
2022-07-08 17:45:07 -05:00
TrollerOfHolland
25497aabb3
ASTree.cpp bugfix on line 1757, preventing error 'front called on empty vector'
2022-06-23 01:16:41 +02:00
Michael Hansen
b0ce84234a
Merge pull request #265 from clubby789/code-obj-support
...
Code obj support
2022-06-16 09:45:00 -07:00
clubby789
942193e88b
Style changes
2022-06-16 12:49:04 +01:00
clubby789
1750e9cb8a
Note code object support in readme
2022-06-15 11:37:07 +01: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
Michael Hansen
96ef91b5f9
Allow specifying an output filename on the command line, instead of forcing reliance on shell redirection.
...
Closes #31
2022-04-26 14:56:12 -07:00
Michael Hansen
4884b5447f
Add additional versions of conditional_expressions test
2022-04-26 13:11:40 -07:00
Michael Hansen
b0fa45840f
Minor code style cleanups for consistency
2022-04-26 12:56:19 -07:00
Michael Hansen
73ff7ef3fe
Merge pull request #249 from ncaklovic/master
...
Support for conditional expression (if-expression)
2022-04-26 11:29:26 -07:00
Nenad Čaklović
38a1ee59c3
Support for conditonal expression (if-expression) - review findings
2022-04-02 13:57:10 +02:00
Nenad Čaklović
46affe279c
Support for conditonal expression (if-expression)
2022-03-29 12:30:06 +02:00
Michael Hansen
f19b38d3be
Merge pull request #245 from ncaklovic/master
...
Changes in 3.10 under BPO-27129: "Use instruction offset, rather than bytecode offset"
2022-03-24 14:57:57 -07:00
Michael Hansen
9fe5463c19
Merge pull request #246 from zrax/fix_msvc_ci
...
Fix MSVC CI configuration
2022-03-24 14:57:42 -07:00
Michael Hansen
c134280576
Update MSVC version to make CI happy
2022-03-24 14:53:00 -07:00
Nenad Čaklović
3039d8b410
Disassembler changes in 3.10 under BPO-27129
2022-03-24 22:06:35 +01:00
Nenad Čaklović
7160cf796c
Changes in 3.10 under BPO-27129: Use instruction offset, rather than bytecode offset
2022-03-24 20:59:15 +01:00
Michael Hansen
99b35a114a
Merge pull request #209 from dotjrich/pymultic-container-build
...
Adds support for building our own Python containers
2021-11-22 21:29:13 -08:00
John Richards
9031029ef6
Addresses code review comments
2021-11-22 00:51:26 -05:00
John Richards
9bb40a1faa
Adds support for building our own Python containers
...
This will be triggered when -c is used with pymultic and there is
no official Python container available for the version(s) specified.
2021-10-24 18:41:33 -04:00
Michael Hansen
7869a08f27
Merge pull request #204 from dotjrich/pymultic-container
...
Adds container support to pymultic
2021-10-21 20:54:11 -07:00
John Richards
21b08557ce
Refactors how extra args for container executables are specified
2021-10-21 22:33:03 -04:00
John Richards
034c65885f
Use the -u param when running via Docker
2021-10-21 22:22:31 -04:00
John Richards
7e2609c3d6
Addresses code review comments
2021-10-18 21:37:46 -04:00
John Richards
51f607fb1c
Removes old variable that's no longer in code
2021-10-10 23:36:46 -04:00
John Richards
f59d7d015d
Adds podman support and defines PYVERS with official containers
...
We've found that 3.0.x and 3.1.x don't have official containers on
Docker Hub, so we needed to move to a more explicit check.
2021-10-10 19:59:54 -04:00
John Richards
5e08ec603a
Adds container support to pymultic
...
Using the '-c' argument will - if possible - fetch and use a
container for each version of Python specified in the arguments
list.
2021-10-10 18:34:11 -04:00
Michael Hansen
aacf182f95
Add bytecode documentation for 3.10
2021-10-10 11:57:14 -07:00
Michael Hansen
9109449390
Merge pull request #202 from GawdOfROFL/3.10support
...
added python 3.10 support
2021-10-10 11:44:39 -07:00
GawdOfROFL
8245b79989
add RERAISE_A
2021-10-10 14:58:46 +05:30
Michael Hansen
c6c256ccd3
Merge pull request #203 from dotjrich/contains-op
...
Adds support for CONTAINS_OP opcode
2021-10-09 22:06:45 -07:00
John Richards
25f44aa079
Adds support for CONTAINS_OP opcode
...
Mentioned in:
- #190
- #191
- #195
2021-10-10 00:40:39 -04:00
Michael Hansen
81f3e5f84b
Merge pull request #201 from dotjrich/is-op
...
Adds support for IS_OP opcode
2021-10-09 20:26:25 -07:00
John Richards
9fcf5bcb9d
Addresses code review comment
2021-10-09 22:35:33 -04:00
GawdOfROFL
43667f0bae
make requested changes
2021-10-10 06:48:34 +05:30
GawdOfROFL
728309e7f8
add newline
2021-10-10 00:57:37 +05:30
GawdOfROFL
e4e3a9f4ed
added python 3.10 support
2021-10-10 00:52:41 +05:30
John Richards
588f24c872
Adds support for IS_OP opcode
...
Mentioned in:
- #190
- #191
- #195
2021-10-07 20:29:18 -04:00