Feature Requests item #1080727, was opened at 2004-12-08 01:47
Message generated for change (Comment added) made by quiver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1080727&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unicode
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Bjorn Tillenius (bjoti)
Assigned to: Jim Fulton (dcjim)
Summary: Add encoding to DocFileSuite

Initial Comment:
If one writes doctests within documentation strings of classes and 
functions, it's possible to use non-ASCII characters since one can 
specify the encoding used in the source file.

But if one wants to combine the documentation and testing, by 
writing a text file, and thus use DocFileSuite, it's not possible to use 
non-ASCII characters in the tests. This is because there's no way 
of specifying which encoding the text file uses. Instead one has to 
\-quote all non-ASCII characters, and that makes the tests harder 
to read IMHO.

----------------------------------------------------------------------

>Comment By: George Yoshida (quiver)
Date: 2006-05-29 02:14

Message:
Logged In: YES 
user_id=671362

Thanks Bjorn.
Commited in revision: 46502.

----------------------------------------------------------------------

Comment By: George Yoshida (quiver)
Date: 2006-05-15 02:42

Message:
Logged In: YES 
user_id=671362

Updated the patch for the trunk.
Documentation is also included.

If there is no objection, I'll commit it before 2.5 a3 
rolled out.

----------------------------------------------------------------------

Comment By: Jim Fulton (dcjim)
Date: 2005-11-15 07:50

Message:
Logged In: YES 
user_id=73023

The patch looks good to me.  I haven't looked at the tests,
but I assume that they are good too.  I will look at them. :)

I'm also going to add PEP 263-style encoding specification.

Thanks!

----------------------------------------------------------------------

Comment By: Bjorn Tillenius (bjoti)
Date: 2005-09-14 05:12

Message:
Logged In: YES 
user_id=1032069

Attaching new version of the patch that will apply cleanly against latest CVS

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2005-09-14 03:59

Message:
Logged In: YES 
user_id=31435

Ed, can you make time to review this patch?  If not, please 
unassign it again.

----------------------------------------------------------------------

Comment By: Bjorn Tillenius (bjoti)
Date: 2004-12-19 03:05

Message:
Logged In: YES 
user_id=1032069

Uploaded new patch, which adds the possibility to specify an encoding to 
testfile as well, since I assume this is desirable.

----------------------------------------------------------------------

Comment By: Bjorn Tillenius (bjoti)
Date: 2004-12-18 23:08

Message:
Logged In: YES 
user_id=1032069

Added patch for Tim to review.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2004-12-15 12:09

Message:
Logged In: YES 
user_id=31435

Unassigned myself -- can't make time to work on it.  I'll be 
happy to review a patch (code/tests/docs) if one appears.  I 
approve of the idea <wink>.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1080727&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to