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 Julian.Scheid
Recipients Julian.Scheid, barry, georg.brandl, lregebro, ncoghlan, r.david.murray
Date 2010-04-15.11:26:03
SpamBayes Score 2.4202585e-05
Marked as misclassified No
Message-id <1271330766.1.0.768696563927.issue7490@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for the suggestion but in my mind that's not a viable workaround, and not just because of uglyness:  I'm using doctest to validate code examples, which are included in the documentation and are meant to be educational.  If I'd change my examples to match the pattern you suggest they might still serve their purpose as a test but they'd become useless as an example.

So it appears there is no real workaround for this issue.  Any chance we can get the patch into 2.7?

By the way, I said earlier that Barry suggested the ELLIPSIS workaround but it was actually ncoghlan who did so - apologies for the confusion.
History
Date User Action Args
2010-04-15 11:26:06Julian.Scheidsetrecipients: + Julian.Scheid, barry, georg.brandl, ncoghlan, lregebro, r.david.murray
2010-04-15 11:26:06Julian.Scheidsetmessageid: <1271330766.1.0.768696563927.issue7490@psf.upfronthosting.co.za>
2010-04-15 11:26:04Julian.Scheidlinkissue7490 messages
2010-04-15 11:26:03Julian.Scheidcreate