Éric Araujo added the comment:

This may have been done on purpose, to allow nearly-valid Python files to be 
packaged.  In other bug reports we got some use cases: files used as templates; 
custom dialects converted by import hooks; 2.x and 3.x code in the same sdist.  
In that light, I think distutils should not raise exceptions (to allow these 
use cases) but should log warnings (to help people catch legitimate errors).

----------
assignee: tarek -> eric.araujo
components: +Distutils -Distutils2
keywords: +easy
title: distutils always ignores compile errors -> distutils always ignores byte 
compilation errors
type: enhancement -> behavior
versions: +Python 2.7, Python 3.3, Python 3.4 -3rd party

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7918>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to