Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork252
Closed
Labels
Milestone
Description
See below. Running the same command withpython3 versusbpython andpy3 prints a short error message and then opens the interpreter, butbpy just crashes.
bpython % python3 -i file_that_does_not_exist.py/Library/Developer/CommandLineTools/usr/bin/python3: can't open file 'file_that_does_not_exist.py': [Errno 2] No such file or directory>>> ^Dbpython % bpython -i file_that_does_not_exist.pyTraceback (most recent call last): File "/Users/arian/Library/Python/3.8/bin/bpython", line 8, in <module> sys.exit(main()) File "/Users/arian/Library/Python/3.8/lib/python/site-packages/bpython/curtsies.py", line 181, in main bpargs.exec_code(interp, exec_args) File "/Users/arian/Library/Python/3.8/lib/python/site-packages/bpython/args.py", line 161, in exec_code with open(args[0]) as sourcefile:FileNotFoundError: [Errno 2] No such file or directory: 'file_that_does_not_exist.py'bpython %