← 输入框|bugs.python.org|刷新

➜

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.

作者 terry.reedy
收信人 docs@python, eric.araujo, ezio.melotti, georg.brandl, terry.reedy
日期 2012-05-20.18:14:01
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1337537641.73.0.590803139803.issue14865@psf.upfronthosting.co.za>
In-reply-to
内容
This is a somewhat recent reversion.

3.1.5 (a month ago)
http://docs.python.org/release/3.1.5/library/doctest.html#module-doctest
>>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE
[0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
10,  11, 12, 13, 14, 15, 16, 17, 18, 19]

3.2.0
http://docs.python.org/release/3.2/library/doctest.html#module-doctest
>>> print(list(range(20))) 
[0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
10,  11, 12, 13, 14, 15, 16, 17, 18, 19]

In Py 2, the same change happened between 2.7.2, released June 2011 after 3.2.0, and 2.7.3. So some change was made for 3.2.0 but not ported to 2.7 until several months later, and never ported to 3.1 (or 2.6). I hope this helps.
历史
日期 用户 动作 参数
2012-05-20 18:14:01terry.reedy修改recipients: + terry.reedy, georg.brandl, ezio.melotti, eric.araujo, docs@python
2012-05-20 18:14:01terry.reedy修改messageid: <1337537641.73.0.590803139803.issue14865@psf.upfronthosting.co.za>
2012-05-20 18:14:01terry.reedy链接issue14865 messages
2012-05-20 18:14:01terry.reedy创建