Author Topic: Python 3.7 support  (Read 1761 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Python 3.7 support
« on: August 15, 2018, 07:50:27 PM »
When trying to use Python 3.7, it fails:
Traceback (most recent call last):
  File "C:\Program Files\SlickEdit Pro 23.0.0 Beta1\resource\tools\pydbgp-1.2.0/bin/pydbgp_bootstrapper.py", line 23, in <module>
    exec(compile(open(pydbgp_path).read(), pydbgp_path, 'exec'))
  File "C:\Program Files\SlickEdit Pro 23.0.0 Beta1\resource\tools\pydbgp-1.2.0\bin\py3_dbgp.py", line 105, in <module>
    import dbgp.client
  File "C:\Program Files\SlickEdit Pro 23.0.0 Beta1\resource\tools\pydbgp-1.2.0\python3lib\dbgp\client.py", line 1661
    def interaction(self, frame, tb = None, async = 0):
                                                ^

Apparently "async" is defined to something in 3.7.
Changing all instances of "async" in Slick code fixes this issue.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Python 3.7 support
« Reply #1 on: August 15, 2018, 08:20:06 PM »
Confirmed.  Just read the Python 3.7 readme, async and await are new reserved words.  Will get that fixed in a future drop.

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 798
  • Hero Points: 54
Re: Python 3.7 support
« Reply #2 on: August 15, 2018, 09:20:54 PM »
Fixed in the next drop.

++rodney