[2.7] bpo-33096: Fix ttk.Treeview.insert. (GH-6228) by serhiy-storchaka · Pull Request #6326 · python/cpython

So we ran into an issue compiling ttk.py with Python 2.7 as part of the Python 2.7 build process on Windows. Appears it has some Python 3 syntax in at least one place. Have not looked through the rest of ttk.py or any of the other files, but figured I'd mention it here. Traceback and link to log from the build included below.

C:\bld\python_1525666272216\work\Lib\xml\sax\__init__.py
1994 File(s) copied
        1 file(s) moved.
        1 dir(s) moved.
        1 file(s) moved.
        1 dir(s) moved.
Compiling C:\bld\python_1525666272216\_h_env\Lib\tkinter\ttk.py ...
  File "C:\bld\python_1525666272216\_h_env\Lib\tkinter\ttk.py", line 83
    for *state, val in items:
        ^
SyntaxError: invalid syntax

ref: https://ci.appveyor.com/project/conda-forge/python-feedstock/build/1.0.334