-
Notifications
You must be signed in to change notification settings - Fork 69
Setup fails in Python 3 when splitting string #35
Comments
You are correct that using Thanks for letting us know about this issue. |
Fixed it but the compilation still fails with
Indeed if I change this line it compiles (apparently) fine. (I haven't had time to check the compilation and run examples.) This brings me to my point: I think your if-else sequence for compilation flags is not taking into account random user computes. For example, if the machine tests
you set up the flags as if it were the Caltech FRAM machine. However, there are many other machines that will test positive here and need different flags (mine included). I hope you see my point, but I can elaborate more if you want. My suggestion is changing the If you're ok with this, I'd be glad to make a pull request. |
That seems reasonable to me. Ideally, what we should do is use something like I'd appreciate your submitting a pull request for this. |
I think your comment about using |
Thanks for your contribution. For now, I'll leave this issue open as a reminder to switch to using |
Using Python 3, Setup fails for me with this error:
Which I think is because the
string.split
is a method that exists for Python 2, but doesn't exist for Python 3. This could easily be re-written asBut I'm guessing there's a reason why it wasn't written like this is the first place, otherwise I would have done a pull request.
The text was updated successfully, but these errors were encountered: