Re: [code] [textadept] syntax error question

From: Jay Young <>
Date: Thu, 3 Sep 2015 02:45:30 +0000

Hi Mitchell,

Thank you for your fast reply. I added your code to my init.lua file, and it's working well.

Thanks again for your help!

From: Mitchell <>
Sent: Wednesday, September 2, 2015 9:14 PM
Subject: Re: [code] [textadept] syntax error question

Hi Jay,

On Thu, 3 Sep 2015, Jay Young wrote:

> I've installed Textadept 8.2, and when saving a Python3.4 file, I'm getting a "SyntaxError: invalid syntax" under "yield from iter(sel)". Although the code runs fine.
> #!/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4
> import tkinter as TK
> def vocabularyIter(sel):
> yield from iter(sel)

I think Textadept is using Python2 instead of Python3. For now, try
putting this in your `~/.textadept/init.lua` file: = [[python3.4 -c


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 02 Sep 2015 - 22:45:30 EDT

This archive was generated by hypermail 2.2.0 : Thu 03 Sep 2015 - 06:51:27 EDT