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

Python 3.7 Issue #282

Open
DHOFM opened this issue Aug 5, 2019 · 4 comments
Open

Python 3.7 Issue #282

DHOFM opened this issue Aug 5, 2019 · 4 comments

Comments

@DHOFM
Copy link

DHOFM commented Aug 5, 2019

Hi,
after installing pattern3 from pip: Following must be fixed:

  1. Use tree.py from git repository

  2. In Init def _read the raise StopIteration will only work to Python 3.6 Changing like:
    try:
    yield line
    except StopIteration:
    return

Will fix it

@DHOFM DHOFM mentioned this issue Aug 5, 2019
@Barachia
Copy link

Hi,

Thanks for the solution, I also ran into this problem using the `parsetree' function. Strangely however, is that on Windows 10 the code still worked without the modification and only on Ubuntu 18.04 it did need the modification. On both systems I used Python 3.7.3.

@tuxayo
Copy link

tuxayo commented Feb 26, 2020

See also #62

Bounty here: #62 (comment)

@zc4242
Copy link

zc4242 commented Mar 10, 2020

Any plan to fix this issue? It seems to be an easy fix?

@tuxayo
Copy link

tuxayo commented Oct 26, 2021

Any plan to fix this issue?

Yes, see #62

It seems to be an easy fix?

No ^^" see #62

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

4 participants