Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PEP448 #137

Open
boxed opened this issue Jul 25, 2018 · 6 comments
Open

Support PEP448 #137

boxed opened this issue Jul 25, 2018 · 6 comments

Comments

@boxed
Copy link
Contributor

boxed commented Jul 25, 2018

https://www.python.org/dev/peps/pep-0448/

@toejough
Copy link

toejough commented Mar 8, 2019

Closed mine since this one covers it better. This unpacking syntax is really handy and my projects are using it all over - is support coming soon?

@boxed
Copy link
Contributor Author

boxed commented Mar 8, 2019

I'd strongly recommend moving your project over to use parso. I've done it with mutmut. Parso is well supported.

@toejough
Copy link

toejough commented Mar 8, 2019

Parso is well supported.

wait, are baron/redbaron not supported anymore? I still see some activity on the projects, though I haven't dug in too deeply.

@boxed
Copy link
Contributor Author

boxed commented Mar 8, 2019

It's way way behind and not catching up. Parso is caught up and has way less bugs. It's also used by big projects like jedi and indirectly ipython so will be invested in. You should bet on it.

@Erotemic
Copy link

The following is a MWE for this issue:

    import textwrap
    import redbaron
    text = textwrap.dedent(
        '''
        d1 = {1: 2}
        d2 = {3: 4}
        d_combo = {**d1, **d2}
        ''').strip('\n')

    # This code should work
    exec(text)

    # But it does not
    red = redbaron.RedBaron(text)

@boxed is parso a FST? can it do refactoring similar to redbaron?

@boxed
Copy link
Contributor Author

boxed commented Oct 27, 2021

@Erotemic it is. I use it in mutmut for mutation testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants