You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The argument count should be converted to integer type if user passes value to main.py.
$ python3 main.py --count 100
Traceback (most recent call last):
File "/home/tom/main.py", line 138, in<module>main()
File "/home/tom/main.py", line 117, in main
foriin range(options.count):
TypeError: 'str' object cannot be interpreted as an integer
Activity
gh-100916: Convert argument to appropriate type (GH-100917)
pythongh-100916: Convert argument to appropriate type (pythonGH-100917)
pythongh-100916: Convert argument to appropriate type (pythonGH-100917)
[3.11] gh-100916: Convert argument to appropriate type (GH-100917) (G…
[3.10] gh-100916: Convert argument to appropriate type (GH-100917) (G…