-
Notifications
You must be signed in to change notification settings - Fork 9
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
no basestring in py3.5 #47
Comments
That is very strange. My initial guess was that |
I included http://setuptools.readthedocs.io/en/latest/python3.html I guess you didn't re-install when you switched from py2 to py3? |
It might not even be a case of installing (in the |
Ben's guess is correct: I was using a "raw" checkout by just adding the top level directory to my PYTHONPATH without any "python setup.py install" or "python setup.py develop". I'll open a PR in a moment that converts the code to be genuinely py3 compatible rather than using 2to3 on-the-fly during install. |
Be compatible with py2 and py3 without 2to3. Fixes #47.
I'm confused about the following:
basestring
several times, e.g. simulator.py line 46basestring
doesn't exist in py3.5, so this code shouldn't workdesisim usage of specsim breaks under py3.5 because it does touch that line and ends with:
It's easy enough to fix the basestring usage in specsim, but we should take a moment to figure out why tests + coverage are tricking us on this one, thus I'm opening this issue instead of proceeding directly to a PR.
The text was updated successfully, but these errors were encountered: