Bugs item #1524310, was opened at 2006-07-18 02:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1524310&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: Python 2.5 Status: Open Resolution: None Priority: 5 Submitted By: Roger Upole (rupole) Assigned to: Nobody/Anonymous (nobody) Summary: os.listdir doesn't check error code from FindNextFile Initial Comment: The Windows implementation of listdir returns successfully as soon as FindNextFile returns False, without checking that GetLastError returns ERROR_NO_MORE_FILES. If the operation is interrupted (eg removable media ejected, network connection to UNC path lost, and so on) an incomplete directory listing is returned instead of throwing an exception. This behaviour exists in 2.4.3 and 2.5b2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1524310&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com