-
Notifications
You must be signed in to change notification settings - Fork 19
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
Byte literals in front of words with python 3 #10
Comments
This is not the expected output, anyway. Something is messed up. Can't fix at the moment because I'm quite busy relocating. |
This is still happening:
|
I think this is fixed in 1.0.6, but PyPi only has the 1.0.5 version... https://pypi.python.org/pypi/loremipsum For convenience, could a new version be pushed?
output:
|
Any chance we can get |
+1 @monkeython |
Does this library work with Python 3? |
This will fix it: _DICTIONARY = [bytes.decode(word) for word in _DICTIONARY] This fork has the change in it: https://github.com/testlabauto/loremipsum |
PyPi version still broken... |
If you want to patch the version on pip by hand, these two lines in generator.py do it:
If you'd like to install a patched version:
If you'd like the patched version in
|
resource_string() from pkg_resources opens dictionary.txt as 'rb', which puts byte literals in front of all the words when using python 3.
The text was updated successfully, but these errors were encountered: