-
-
Notifications
You must be signed in to change notification settings - Fork 246
crash on line typing (TypeError: 'NoneType' object is not iterable) #726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm getting a similar issue, but without requiring an external dependency. Figured I'd add my own reproduction steps. I've also included a screenshot which shows color information. The issue seems to be occurring any time I try to tab-complete a dict key when all of the keys contain a slash and have a shared prefix. This is occurring in cases where I'm using the names of a collection of files as keys in a dict. My workaround is to not use tab completion in those cases. I love this project and this tool by the way, use it every day. Let me know if there's anything else I can do to help with this. Steps to ReproduceFor reference, the last sequence of keypresses was
Workingx = {}
x["a/b"] = 1
x[ x = {}
x["a/b"] = 1
x["a.b"] = 1
x[ x = {}
x["a/b"] = 1
x["a.b"] = 1
x["a/c"] = 1
x[ x = {}
x["a/b"] = 1
x["b/d"] = 1
x[ x = {}
x["a/"] = 1
x["b/"] = 1
x["a/b"] = 1
x[ Not Workingx = {}
x["a/"] = 1
x["a//"] = 1
x[ x = {}
x["./a"] = 1
x["./b"] = 1
x["./c"] = 1
x[ x = {}
x["asdfasdfasdf/1"] = 1
x["asdfasdfasdf/2"] = 2
x["asdfasdfasdf/3"] = 3
x[ SystemDebian 9 ( |
I was about to open a new issue but i think it's the same as this one, so I'll post my issue here in case that can help. I'm working with numpy arrays, and i get a really weird crash when trying to create an integer array. Basically, I can create any type of arrays just fine, except when I want to create an integer array with either 2 or 3 as numbers (yeah, it's really weird). What works
Doesn't workBut if I try the exact same array as the second, but try to replace either number by either a 2 or a 3, i get a similar crash as people above :
SystemUbuntu 20.04 |
Fixed in 34f0e70. |
Steps to reproduce:
(error happens after typing last '.' dot)
Traceback:
System:
Archlinux x64
bpython 0.16
python 3.6.4
The text was updated successfully, but these errors were encountered: