On Fri, Mar 21, 2008 at 2:40 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > | 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.

Please do. I'll happily convert it into something more formal.

Collin Winter
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to