pattern icon indicating copy to clipboard operation
pattern copied to clipboard

Python 3.7 Issue

Open DHOFM opened this issue 6 years ago • 4 comments

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 avatar Aug 05 '19 15:08 DHOFM

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.

Barachia avatar Aug 16 '19 06:08 Barachia

See also #62

Bounty here: https://github.com/clips/pattern/issues/62#issuecomment-391473725

tuxayo avatar Feb 26 '20 22:02 tuxayo

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

zc4242 avatar Mar 10 '20 14:03 zc4242

Any plan to fix this issue?

Yes, see #62

It seems to be an easy fix?

No ^^" see #62

tuxayo avatar Oct 26 '21 00:10 tuxayo