Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Python3.7 #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Python3.7 #60

wants to merge 2 commits into from

Conversation

kartikvega
Copy link

Update/Patch to the sample/util.py to support Python 3.7. currently unable to run samples on Python 3.7

File "sample\util.py", line 178
def async(func):
^
SyntaxError: invalid syntax

@huxuan
Copy link
Contributor

huxuan commented Aug 27, 2018

Is this back compatible with previous version of Python, e.g., Python 3.6 or even Python 2?

@kartikvega
Copy link
Author

Checked with Python 3.6 and 3.7(works). Which version of python2? latest 2.7?
mscongnitivefacewpy3 6

@huxuan
Copy link
Contributor

huxuan commented Sep 1, 2018

@kartikvega Yes, it would be great if we still keep Python 2/3 compatibility.

@z2z
Copy link

z2z commented Dec 1, 2018

check this approach > eternnoir/pyTelegramBotAPI#526

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants