Python Forum

Full Version: The minor updating of Python3( 3.3.5 → 3.7.3)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We consider that the minor updating of Python3 ( 3.3.5 → 3.7.3).
Along with this updating, do you know any good tools and methods to confrim the error mechanically?
We've already checked the we have no error in Pycharm.

・Premise
Python starts a job, reads the text file by batch job, and upates the database.
It is a pure python which does not use any frameworks.
Develop emvironment is Win10/64bit.


・What we have done
After updating, we've loaded existing data. Then, we've excuted the code inspection in Pycharm and detected there is no error, but there are some warning, weal warning, and typo.
Just run the code, paste the traceback. We got in 3.7 async as Keyword, the use of async for a name is not allowed.
It's no longer allowed to raise StopIteration inside a Generator. To stop a generator, use return inside the generator or use the close method of the generator.

If you have a tests, this task would be much easier.