Comments (8)
Please try with the current github sources, not the last release. There were a number of bugs fixed since the last release.
Also separate into one issue for each of the compilation problems so they can be tracked separately. Not one issue per library. Thanks.
from python-uncompyle6.
only one left when using the github sources is:
# file stats.pyc
# --- This code section failed: ---
249 0 SETUP_LOOP '68'
3 LOAD_FAST '.0'
6 FOR_ITER '67'
9 STORE_FAST 'point'
12 LOAD_DEREF 'start'
15 LOAD_FAST 'point'
18 LOAD_ATTR 'dt'
21 DUP_TOP ''
22 ROT_THREE ''
23 COMPARE_OP '<='
26 JUMP_IF_FALSE '39'
29 POP_TOP ''
30 LOAD_DEREF 'stop'
33 COMPARE_OP '<'
36 JUMP_FORWARD '41'
39_0 COME_FROM '26'
39 ROT_TWO ''
40 POP_TOP ''
41_0 COME_FROM '36'
41 JUMP_IF_FALSE '63'
44 POP_TOP ''
45 LOAD_FAST 'point'
48 LOAD_ATTR 'len'
51 JUMP_IF_FALSE '63'
54 POP_TOP ''
55 LOAD_FAST 'point'
58 YIELD_VALUE ''
59 POP_TOP ''
60 JUMP_BACK '6'
63_0 COME_FROM '41'
63_1 COME_FROM '51'
63 POP_TOP ''
64 JUMP_BACK '6'
67 POP_BLOCK ''
68_0 COME_FROM '0'
Syntax error at or near `COME_FROM' token at offset 63_1
from python-uncompyle6.
- What version of python are you using? Use python -V and copy the output.
- Attach a copy of the byte compiled file that has a problem. This file is not part github sources or test files. It is is something you happen to have installed in your Python library setup.
- Attach the source code so I can ensure the bug fix is a proper bug fix.
from python-uncompyle6.
$ python --version
Python 2.7.10
from python-uncompyle6.
from python-uncompyle6.
stats .py doesn't have a magic number that matches what python --version gives.
So now attach the source code.
I note that pycdc and the older uncompyle programs barf on that bytecode.
from python-uncompyle6.
can't, don't have the source :)
On Thu, Jul 7, 2016 at 5:38 PM, R. Bernstein [email protected]
wrote:
stats .py doesn't have a magic number that matches what python --version
gives.So now attach the source code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#37 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ATS9nei7zlzP0_F8oeMaWaXadk8W6D7Vks5qTY4MgaJpZM4JFrG1
.
from python-uncompyle6.
Ok. Given that pycdc and older uncompyle barf on that bytecode too, there's nothing I can do to fix this.
We'll wait then for some other situation where someone has the source code.
Since bugs get fixed periodically, you can try refreshing from github sources periodically and possibly this will get fixed as happened with some of the other non-actionable bugs you encountered.
from python-uncompyle6.
Related Issues (20)
- Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code HOT 1
- KeyError: 7198 Any idea on how to fix that ?
- TypeError: '>=' not supported between instances of 'str' and 'int' HOT 2
- lambda + dict comprehension is not decompiled properly HOT 2
- bug HOT 1
- just became a sponsor and need help to uncompyle python 3.11 exe file HOT 1
- Unknown magic number 227 in shopee.pyc
- Program crashes on Windows Conda Python 3.x HOT 9
- failure for "if a or not b:" HOT 5
- Incorrect decompilation of genexpr with `if isinstance` HOT 1
- liberapay link ? HOT 4
- Request for uncompyle6 to support newer versions of python.
- Missing "While True" HOT 4
- Redundant "else:"
- List comprehensions inside of a lambda print only `[` HOT 4
- Unsupported Python version, 3.11, for decompilation HOT 3
- AssertionError HOT 1
- Added support for later versions of Python
- uncompyle6 / decompile / issue HOT 1
- whilestmt38 contains a "_stmts" instead of one of "l_stmts", "l_stmts_opt", "pass" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-uncompyle6.