Closed jwfu closed 8 years ago
Thanks Jun. I will run the tests in a Python3 environment and merge in a few
Hi Jun,
The explicit encoding was more than likely done for Python 2.X. I could not reproduce the issue you mentioned above also.
Hi Jun,
Thanks for the push. I was able to reproduce it while writing a simple test case to check. Merged the pull request and will push an updated package
Python 3 appears to be able to parse the strings without explicit encoding. When I ran
finsymbols.get_sp500_symbols()
in Jupyter with Python 3, each value in the dict pair was byte encoded. By removingencode
from theget_sp500_symbols()
method, everything comes out as expected.