Giter VIP home page Giter VIP logo

Comments (8)

rocky avatar rocky commented on August 11, 2024

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.

w00127960 avatar w00127960 commented on August 11, 2024

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.

rocky avatar rocky commented on August 11, 2024
  1. What version of python are you using? Use python -V and copy the output.
  2. 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.
  3. Attach the source code so I can ensure the bug fix is a proper bug fix.

from python-uncompyle6.

w00127960 avatar w00127960 commented on August 11, 2024

$ python --version
Python 2.7.10

from python-uncompyle6.

w00127960 avatar w00127960 commented on August 11, 2024

stats.pyc.txt

from python-uncompyle6.

rocky avatar rocky commented on August 11, 2024

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.

w00127960 avatar w00127960 commented on August 11, 2024

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.

rocky avatar rocky commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.