[New-bugs-announce] [issue5658] make html in doc fails because Makefile assigns python to PYTHON

Mitchell Model report at bugs.python.org
Wed Apr 1 23:09:54 CEST 2009


New submission from Mitchell Model <mlm at acm.org>:

Mac OSX, py3k 70991
    cd doc; make html
fails due to an old style except clause in Doc/tools/sphinx/__init__.py

The make works in release30-maint.

The difference is that the generated doc/Makefile in release30-maint 
assigns python2.5 to PYTHON, but the py3k doc/Makefile assigns python. I 
have things set up so that 'python' is Python 3. 

I understand how to set the variable from the command line, and I can 
build the html doc, but this should be fixed, either by continuing to 
specify python2.5 in the sphinx Makefile or by changing __init__.py and 
whatever other code uses exception binding to the new syntax.

----------
components: Build
messages: 85094
nosy: MLModel
severity: normal
status: open
title: make html in doc fails because Makefile assigns python to PYTHON
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5658>
_______________________________________


More information about the New-bugs-announce mailing list