-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
The following files need to be deleted in Python 2.7 for sumatra.dependency_finder.find_dependencies to work:
jinja2.asyncfilters.pyjinja2.asyncsupport.pypexpect._async.py
Errors that arise are:
async def concat_async(async_gen): ^SyntaxError: invalid syntax
and
transport, pw = yield from asyncio.get_event_loop()\ ^SyntaxError: invalid syntax
From what I understand, the above files are functional only in Python 3.x.
@apdavison : On this line, there seems to be an effort to handle the issues arising out of async, but it seems to fail. Any quick fix to handle the above files?
Also, the above list of files are quite certainly only a sample of issues that might arise with Py 2 & 3 code in a single package. Is a more foolproof workaround possible, that for example might ignore or appropriately convert Py3 only statements (such as yield from ...)?
Metadata
Metadata
Assignees
Labels
No labels