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

Berker Peksağ berker.peksag at gmail.com
Thu Apr 24 01:53:44 CEST 2014


On Thu, Apr 24, 2014 at 1:24 AM, 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.

Hi,

Doc/whatsnew/changelog.rst [1] using it via a custom Sphinx directive:
http://hg.python.org/cpython/file/4ff37fbcd4e8/Doc/tools/sphinxext/pyspecific.py#l200

--Berker

[1] http://hg.python.org/cpython/file/4ff37fbcd4e8/Doc/whatsnew/changelog.rst

>
>
>>   - Issue #15002: urllib.response object to use _TemporaryFileWrapper (and
>>     _TemporaryFileCloser) facility. Provides a better way to handle file
>
>
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> https://mail.python.org/mailman/listinfo/python-checkins


More information about the Python-checkins mailing list