[New-bugs-announce] [issue45698] Error on importing getopt

Mgs M Rizqi Fadhlurrahman report at bugs.python.org
Wed Nov 3 02:00:18 EDT 2021


New submission from Mgs M Rizqi Fadhlurrahman <rizqirizqi23 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue45698>
_______________________________________


More information about the New-bugs-announce mailing list