[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 53ce30b62de2 by Trent Nelson in branch '3.3': Issue #15833: don't raise an exception if importlib can't write byte-compiled http://hg.python.org/cpython/rev/53ce30b62de2 -- nosy: +python-dev ___ Python

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 36b2ca7dc893 by Trent Nelson in branch 'default': Merge issue #15833: don't raise an exception if importlib can't write http://hg.python.org/cpython/rev/36b2ca7dc893 -- ___ Python tracker

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-16 Thread Trent Nelson
Trent Nelson added the comment: Charles' patch applied in 3.3 and merged to 3.x. Thanks Charles. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-16 Thread Charles-François Natali
Charles-François Natali added the comment: Charles' patch applied in 3.3 and merged to 3.x. Thanks Charles. Thanks for taking care of this! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-13 Thread Trent Nelson
Trent Nelson added the comment: FWIW, I just ran into the following on Solaris 10: % dbx python For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.9' in your .dbxrc Reading python Reading ld.so.1 Reading libsocket.so.1 Reading

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-13 Thread Trent Nelson
Trent Nelson added the comment: That... didn't work. Also applied rpetrov's patch and that made no difference: % ./python Could not find platform dependent libraries exec_prefix Consider setting $PYTHONHOME to prefix[:exec_prefix] Fatal Python error: Py_Initialize: Unable to get the locale

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-13 Thread Trent Nelson
Trent Nelson added the comment: Charles: your patch is fine. +1. My Solaris failures can be traced back to http://bugs.python.org/issue15819. Sorry for the noise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-10 Thread Charles-François Natali
Charles-François Natali added the comment: Charles-François's patch looks ok to me. I don't know if this warrants adding a test. Yes, and triggering a failure other than a permission error (which is probably already tested) can be difficult. I'm abroad and won't be able to commit it until

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-08 Thread Charles-François Natali
Charles-François Natali added the comment: Yes . Charles, lest assume that all other issues with build system, are resolved and source tree is ready for use. So in this situation I could run python , I could build all and I could run tests with an additional patch TEMPDIR is relative to

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Charles-François's patch looks ok to me. I don't know if this warrants adding a test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-07 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch. -- Added file: http://bugs.python.org/file27469/import_error.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-07 Thread Charles-François Natali
Charles-François Natali added the comment: Roumen, are you sure you submitted your patch to the right issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-07 Thread Roumen Petrov
Roumen Petrov added the comment: Yes . Charles, lest assume that all other issues with build system, are resolved and source tree is ready for use. So in this situation I could run python , I could build all and I could run tests with an additional patch TEMPDIR is relative to build tree

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: We should probably catch all OSErrors, and log a warning in verbose mode, as suggested by Antoine. Catching individual errnos is tedious and error-prone. -- nosy: +neologix ___ Python tracker

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread STINNER Victor
STINNER Victor added the comment: Issue #16139 has been marked as a duplicate of this issue. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-10-05 Thread Roumen Petrov
Roumen Petrov added the comment: Did 0016-CROSS-reload-may-fail-with-operation-on-closed-file-.patch fix issue ? -- keywords: +patch nosy: +rpetrov Added file: http://bugs.python.org/file27443/0016-CROSS-reload-may-fail-with-operation-on-closed-file-.patch

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-09-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-08-31 Thread Richard Oudkerk
New submission from Richard Oudkerk: As discussed in http://bugs.python.org/issue15819 trying to run python built outside a read-only source directory fails for me because OSError(EIO, ...) is raised when importlib tries to write the byte compiled file. (I built python in a Linux VM

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-08-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Raising EIO in a read-only dir sounds weird. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15833 ___

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-08-31 Thread Brett Cannon
Brett Cannon added the comment: So it might be a change, but I don't know if I would claim it is a regression that needs changing. If you can't write bytecode files for some reason other than permissions or the file already exists then there is something wrong with your setup that you might

[issue15833] most failures to write byte-compiled file no longer suppressed

2012-08-31 Thread Eric Snow
Eric Snow added the comment: I was thinking along the same lines, though it might make sense for EROFS and a few others. (http://aplawrence.com/Unixart/errors.html) -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org