This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients eric.araujo
Date 2010-01-31.17:00:15
SpamBayes Score 3.568504e-06
Marked as misclassified No
Message-id <1264957218.46.0.892120848573.issue7822@psf.upfronthosting.co.za>
In-reply-to
Content
Howdy

I think there is a bug with 2to3’s doctest conversion:

$ echo ">>> u'éric'" > test
$ echo "u'éric'" >> test
$ 2to3 -d test -f unicode
--- test (original)
+++ test (refactored)
@@ -1,3 +1,3 @@
->>> u'éric'
+>>> 'éric'
 u'éric'
 
RefactoringTool: Files that need to be modified:
RefactoringTool: test


The output should be converted too.

Tested with 2.6.4+ (Debian’s), 2.7a2+ and 3.2a0.

Kind regards
History
Date User Action Args
2010-01-31 17:00:18eric.araujosetrecipients: + eric.araujo
2010-01-31 17:00:18eric.araujosetmessageid: <1264957218.46.0.892120848573.issue7822@psf.upfronthosting.co.za>
2010-01-31 17:00:16eric.araujolinkissue7822 messages
2010-01-31 17:00:15eric.araujocreate