[issue1367] mkdir+chdir problem in multiple threads

2007-11-01 Thread Guido van Rossum
Changes by Guido van Rossum: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1367] mkdir+chdir problem in multiple threads

2007-10-31 Thread anonyprog
anonyprog added the comment: Sorry for filing this as a bug, I am a fool. I should have read the documentation for each operating systems' mkdir call more carefully. __ Tracker <[EMAIL PROTECTED]>

[issue1367] mkdir+chdir problem in multiple threads

2007-10-31 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: This isn't a bug in Python. Working directory, which os.chdir modifies, is process-global. One of your threads makes a directory, then gets suspended while another one makes a different directory and changes into it, then the first tries to change into its

[issue1367] mkdir+chdir problem in multiple threads

2007-10-31 Thread anonyprog
New submission from anonyprog: Under certain circumstances, creating a directory using os.mkdir then immediately changing to it using os.chdir fails with a file not found exception. Here is some code to demonstrate that. Using the following program with a parameter of 1 works fine. But anything