[New-bugs-announce] [issue45849] Embedded python doesn't recognize exit()
thewh1teagle
report at bugs.python.org
Fri Nov 19 17:50:55 EST 2021
New submission from thewh1teagle <moshvilla at yandex.com>:
C:\Users\user\Downloads\python-3.10.0-embed-win32>python
Python 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 18:46:30) [MSC v.1929 32 bit (Intel)] on win32
>>> exit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'exit' is not defined
>>> exit()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'exit' is not defined
>>> import os;os._exit(0)
C:\Users\user\Downloads\python-3.10.0-embed-win32>
same error when running exit from file.
----------
components: Windows
messages: 406624
nosy: paul.moore, steve.dower, thewh1teagle, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Embedded python doesn't recognize exit()
type: behavior
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45849>
_______________________________________
More information about the New-bugs-announce
mailing list