[issue45698] Error on importing getopt

2021-11-03 Thread Mgs M Rizqi Fadhlurrahman
Mgs M Rizqi Fadhlurrahman added the comment: OK, thank you for the answers. Sorry for the false alarm. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45698] Error on importing getopt

2021-11-03 Thread Mgs M Rizqi Fadhlurrahman
Mgs M Rizqi Fadhlurrahman added the comment: @eric.smith Wow you're right! Somehow the """ got deleted. (screenshot attached) It can run normally now after I added the """ back. More details: I'm using Ubuntu 18.04.2. I installed python 3.10.0 using

[issue45698] Error on importing getopt

2021-11-03 Thread Mgs M Rizqi Fadhlurrahman
Mgs M Rizqi Fadhlurrahman added the comment: Here: ``` Python 3.10.0 (default, Oct 30 2021, 15:16:25) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import getopt Traceback (most recent call las

[issue45698] Error on importing getopt

2021-11-03 Thread Mgs M Rizqi Fadhlurrahman
Mgs M Rizqi Fadhlurrahman added the comment: Screenshot attached https://bugs.python.org/file50422/OnPaste.20211103-125049.png -- ___ Python tracker <https://bugs.python.org/issue45

[issue45698] Error on importing getopt

2021-11-02 Thread Mgs M Rizqi Fadhlurrahman
New submission from Mgs M Rizqi Fadhlurrahman : 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