New submission from Mgs M Rizqi Fadhlurrahman <rizqirizq...@gmail.com>:

It looks like there is a breaking change related to python 3.10.0 
implementation that impacted getopt package.

https://docs.python.org/3/library/getopt.html
https://github.com/python/cpython/blob/3.10/Lib/getopt.py

Steps to reproduce:
1. Run python 3.10.0
2. Type `import getopt`
3. The error shows up

I already tried python 3.9.7 and it's still working as expected.

----------
components: Library (Lib)
files: OnPaste.20211103-125049.png
messages: 405582
nosy: rizqirizqi23
priority: normal
severity: normal
status: open
title: Error on importing getopt
type: crash
versions: Python 3.10
Added file: https://bugs.python.org/file50422/OnPaste.20211103-125049.png

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45698>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to