[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-07-01 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com added the comment: I checked the source in c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/crt/src/open.c and it seems that on Windows open() is more or less implemented as a wrapper of sopen(..., ..., SH_DENYNO, ...). So the only reason that

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-07-01 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Alternatively, perhaps it would make sense to have a reopen() method on file objects that covers the necessary dance to reopen with the correct flags? That would solve more problems than just this one (possibly including making it possible to

[issue15178] Doctest should handle situations when test files are not readable

2012-07-01 Thread Bohuslav Slavek Kabrda
Bohuslav Slavek Kabrda bkab...@redhat.com added the comment: So maybe an optimal solution would be to add a note summarizing this to the end of output? I mean that this: X passed and Y failed. Could be replaced by: X passed and Y failed, Z files were not loaded. Then the user will know that

<    1   2