[Python-Dev] [Python-checkins] cpython (3.4): Prevent Sphinx error on whatsnew/changelog

Zachary Ware zachary.ware+pydev at gmail.com
Thu Apr 24 03:30:09 CEST 2014



On April 23, 2014 5:24:53 PM CDT, Terry Reedy <tjreedy at udel.edu> wrote:
>On 4/23/2014 11:05 AM, zach.ware wrote:
>> http://hg.python.org/cpython/rev/75419257fec3
>> changeset:   90440:75419257fec3
>> branch:      3.4
>> parent:      90437:5d745d97b7da
>> user:        Zachary Ware <zachary.ware at gmail.com>
>> date:        Wed Apr 23 10:04:20 2014 -0500
>> summary:
>>    Prevent Sphinx error on whatsnew/changelog
>>
>> files:
>>    Misc/NEWS |  2 +-
>>    1 files changed, 1 insertions(+), 1 deletions(-)
>>
>>
>> diff --git a/Misc/NEWS b/Misc/NEWS
>> --- a/Misc/NEWS
>> +++ b/Misc/NEWS
>> @@ -44,7 +44,7 @@
>>     at the same time without losing the Popen.returncode value.
>>
>>   - Issue #21127: Path objects can now be instantiated from str
>subclass
>> -  instances (such as numpy.str_).
>> +  instances (such as ``numpy.str_``).
>
>Could you explain this? I thought NEWS was a plain text file without 
>.rst markup.

Doc/whatsnew/changelog.rst includes the full text of Misc/NEWS, which means Sphinx doesn't like markup issues in NEWS.

--
Zach (on a phone)


More information about the Python-Dev mailing list