Python Forum
The minor updating of Python3( 3.3.5 → 3.7.3) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: The minor updating of Python3( 3.3.5 → 3.7.3) (/thread-17534.html)



The minor updating of Python3( 3.3.5 → 3.7.3) - tinan - Apr-15-2019

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.


RE: The minor updating of Python3( 3.3.5 → 3.7.3) - DeaD_EyE - Apr-15-2019

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.