Exceptions versus Windows ERRORLEVEL

Luuk luuk34 at gmail.com
Sat Apr 4 10:43:57 EDT 2020


On 3-4-2020 02:08, Stephen Tucker (Stephen Tucker) wrote:
> Hi,
> 
> I have found that raising an exception in a Python 2.7.10 program running under
> Windows does not set ERRORLEVEL.
> 
> I realise that Python 2.x is no longer supported.
> 
> Does an exception raised by a Python 3.x program on a Windows machine set
> ERRORLEVEL?
> 
Yes, it does.

> If not, are there plans for it to do so?
> 
> Stephen.
> 



More information about the Python-list mailing list