classification
Title: Missing return value in ``system_message``
Type: behavior Stage: resolved
Components: Distutils, Distutils2 Versions: Python 3.2, Python 3.3, Python 2.7, 3rd party
process
Status: closed Resolution: duplicate
Dependencies: Superseder: setup.py register fails if long_description contains ReST
View: 13614
Assigned To: eric.araujo Nosy List: alexis, eric.araujo, malthe, tarek
Priority: normal Keywords: patch

Created on 2012-09-18 11:34 by malthe, last changed 2012-10-27 17:15 by eric.araujo. This issue is now closed.

Files
File name Uploaded Description Edit
patch.diff malthe, 2012-09-18 11:34 Bugfix review
Messages (3)
msg170640 - (view) Author: Malthe Borch (malthe) * Date: 2012-09-18 11:34
When ``docutils`` are importable, distutils uses a reporter implementation that incorrectly drops a return value from the ``system_message`` override (see patch).
msg170654 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-09-18 16:07
Thanks for the report and patch.  I think a similar issue was reported for distutils2 (maybe only orally, not on this tracker, I have to search).  How did you find the bug?  In other words, can you add a unit test for this? :)
msg173944 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-10-27 17:15
Found it!  I will backport the fix to distutils now.
History
Date User Action Args
2012-10-27 17:15:22eric.araujosetstatus: open -> closed
superseder: setup.py register fails if long_description contains ReST
messages: + msg173944

resolution: duplicate
stage: test needed -> resolved
2012-09-18 16:07:25eric.araujosetversions: + 3rd party, Python 3.3
nosy: + alexis

messages: + msg170654

components: + Distutils2
stage: test needed
2012-09-18 11:34:50malthecreate