Git Product home page Git Product logo

Comments (5)

soupytwist avatar soupytwist commented on May 7, 2024

Thanks for the detailed breakdown. Indeed, these are mostly things that I wasn't aware of / have been overlooked. I appreciate you taking the time to list them out so succinctly. Most of these should be simple to fix now that I know what to look for.

from pasta.

soupytwist avatar soupytwist commented on May 7, 2024

Pushed a few fixes in f995fc5, 8e07293 and 91cbb35. More to come...

from pasta.

soupytwist avatar soupytwist commented on May 7, 2024

Tuple parameter unpacking should be fixed in 1d7d268. Still a few more.

from pasta.

soupytwist avatar soupytwist commented on May 7, 2024

The weird case with newlines in function calls is fixed in 3ce4123. This is actually because of the newline before trailing comma in the tuple.

These are remaining:

  • BOM at start of file:
pasta.parse("\xef\xbb\xbf\r\nimport sys")
# Expected 'import' but found '\xef'`
  • Old-style repr (for obvious reasons having trouble typing this one in markdown)
pasta.parse("\x60True\x60")
# Expected 'repr' but found '\x60'
  • Something with exec and lines?
exec("", None, None)
True
# Expected 'True' but found ')'

from pasta.

soupytwist avatar soupytwist commented on May 7, 2024

I believe these are all fixed now except for the BOM parsing.

from pasta.

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.