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 pdonis
Recipients BreamoreBoy, belopolsky, pdonis
Date 2010-07-22.01:44:31
SpamBayes Score 0.0040888716
Marked as misclassified No
Message-id <>
Re my msg110822, I think I have a better solution:
have the test create a temporary txt file with
intentionally mismatched newlines, and use that as
the doctest. That means we can control the exact byte
by byte content of the txt file, without worrying about
how it is stored/transferred, etc. I've attached a
Python 2.7 patch, doctest-fixes4.diff, which implements
this test method (same actual tests as before, just the
setup/cleanup is changed); the test passes on my machine.
The test code in this patch also includes comments
explaining why this approach is taken.
Date User Action Args
2010-07-22 01:44:37pdonissetrecipients: + pdonis, belopolsky, BreamoreBoy
2010-07-22 01:44:37pdonissetmessageid: <>
2010-07-22 01:44:35pdonislinkissue1812 messages
2010-07-22 01:44:35pdoniscreate