Re: Unexpected behaviour with DeprecationWarning, Python 3.7 and escape codes

2018-08-23 Thread D'Arcy Cain
On 2018-08-23 06:08 AM, Peter via Python-list wrote: > I understand that Python 3.7 now issues DeprecationWarning for code > entered in the interactive shell and also for single-module programs. I > see this behaviour with: > > C:\wrk> python > python 3.7.0 (v3.7.0:... import imp > __main__:1

Unexpected behaviour with DeprecationWarning, Python 3.7 and escape codes

2018-08-23 Thread Peter via Python-list
I understand that Python 3.7 now issues DeprecationWarning for code entered in the interactive shell and also for single-module programs. I see this behaviour with: C:\wrk> python python 3.7.0 (v3.7.0:... import imp __main__:1: DeprecationWarning: the imp module is deprecated... But if I use