Skip to content
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

Issue 1460 transliterating #1490

Conversation

frederik-elwert
Copy link
Contributor

I updated the transliterating lesson to use Python3. Since the lesson built heavily on Python2’s distinction between str() and unicode() objects which is no longer relevant in Python3, I also had to change some substantial parts of the prose.

Fixes #1471 and contributes to #1460.

In Python3, string objects str() are unicode aware by default.
The u'' prefix before unicode strings is obsolete. Additionally,
Python3 does not print escape sequences by default anymore, but
literal unicode characters.
@acrymble
Copy link

Thanks for this @frederik-elwert you've done a lot of work here. This is really an editorial matter, so I'm assigning this to our English Managing Editors to look at. @alsalin and @svmelton

@svmelton
Copy link
Contributor

Thanks, all! @alsalin, could we walk through this together?

@alsalin
Copy link
Contributor

alsalin commented Oct 15, 2019

@svmelton sorry for the delay - GH was tied to my Emory account, which was just deactivated. Happy to step through this with you

@svmelton svmelton merged commit c32458b into programminghistorian:gh-pages Oct 25, 2019
@frederik-elwert frederik-elwert deleted the issue-1460-transliterating branch October 25, 2019 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lesson Transliterating Non-ASCII Characters needs to be reworked for Python 3
4 participants