[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

Stefan Krah report at bugs.python.org
Fri Nov 2 17:05:59 CET 2012


Stefan Krah added the comment:

Additionally, some of the changes cause a failure in test_subprocess:


======================================================================                                            
ERROR: test_no_leaking (test.test_subprocess.ProcessTestCase)                                                     
----------------------------------------------------------------------                                            
Traceback (most recent call last):                                                                                
  File "C:\Users\stefan\pydev\cpython\lib\test\test_subprocess.py", line 823, in test_no_leaking                  
    handles.append(os.open(tmpfile, os.O_WRONLY|os.O_CREAT))                                                      
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'c:\\users\\stefan\\appdata\\l
ocal\\temp\\tmpa41o4x\\@test_2236_tmp'                                                                            
                                                                                                                  
----------------------------------------------------------------------

----------
nosy: +sbt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15478>
_______________________________________


More information about the Python-bugs-list mailing list