[issue15365] Traceback reporting can fail if IO cannot be imported

2012-08-10 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson krist...@ccpgames.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15365 ___ ___

[issue15365] Traceback reporting can fail if IO cannot be imported

2012-08-10 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15365 ___ ___ Python-bugs-list

[issue15365] Traceback reporting can fail if IO cannot be imported

2012-07-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 54524897fafc by Kristján Valur Jónsson in branch 'default': Issue #15365: Make traceback reporting ignore any errors when printing out http://hg.python.org/cpython/rev/54524897fafc -- nosy: +python-dev

[issue15365] Traceback reporting can fail if IO cannot be imported

2012-07-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch looks simple enough, but you should use spaces, not tabs. -- nosy: +amaury.forgeotdarc, pitrou stage: - patch review ___ Python tracker rep...@bugs.python.org

[issue15365] Traceback reporting can fail if IO cannot be imported

2012-07-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Certainly. But the submission filter would have caught that. The question is: Is it acceptible to simply ignore errors from this api when printing tracebacks? There are other errors that can be returned as well. The trouble is,

[issue15365] Traceback reporting can fail if IO cannot be imported

2012-07-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The trouble is, any errors in the traceback reporting will be ignored anyway, since there is no way to report them :) Which is a good reason to ignore them, isn't it? ;) -- ___ Python tracker

[issue15365] Traceback reporting can fail if IO cannot be imported

2012-07-16 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: Reporting an error early in the python startup, before importing is properly initialized, can be tricky. For example, here: if (PyImport_ImportFrozenModule(_frozen_importlib) = 0) { Py_FatalError(Py_Initialize: can't import