> | try: > | bytes > | except NameError: > | bytes = str > | > | somewhere, then write the code as I proposed above. > > This is exactly the sort of thing that should be and I expect will be in > the conversion docs. That expectation might be unfounded (in the sense that it might not be written at all). I only happened to learn about that approach as I was converting Django to 3k. I'll happily put my experience in doing so into an email message, but I won't sit down and write a text document. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4