[Python-Dev] patch for review: unittest ImportError handling (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Wed Apr 14 16:53:08 CEST 2010
- Previous message: [Python-Dev] patch for review: unittest ImportError handling
- Next message: [Python-Dev] patch for review: unittest ImportError handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Foord wrote:
Changing the error message to provide more useful information, possibly including the original traceback, would certainly avoid the potential for incompatibility. I'd be interested in seeing what other folks here on python-dev think.
Without looking at the details, my question is whether this can be ignored in 2.x and fixed for 3.x by setting cause appropriately (i.e. by using the "raise from" syntax).
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] patch for review: unittest ImportError handling
- Next message: [Python-Dev] patch for review: unittest ImportError handling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]