Files
MicroPythonOS/internal_filesystem/lib
Richard d3e009966d Fix EEXIST errors in zipfile.py during extraction (#54)
When extracting zip archives, os.mkdir() could raise [Errno 17] EEXIST
in two places:

1. makedirs() - A directory might already exist between the path_exists
   check and the os.mkdir() call, or be created by a prior extraction step.

2. _extract_member() - makedirs() may have already created a directory
   when building parent paths for a file entry, and then a separate
   directory entry for the same path triggers os.mkdir() again.

Wrap both os.mkdir() calls in try/except OSError to handle this
gracefully.

Co-authored-by: Richard Taylor <RT@MacBookPro.lan>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 07:43:39 +01:00
..
2026-02-10 23:49:28 +01:00
2026-01-26 15:12:01 +01:00
2026-01-26 15:04:32 +01:00
2025-05-22 21:06:02 +02:00
2025-05-19 10:08:43 +02:00
2025-07-02 12:43:01 +02:00
2025-10-29 09:34:54 +01:00
2025-05-20 14:47:19 +02:00
2026-01-26 15:12:01 +01:00
2025-05-20 15:12:30 +02:00
2025-05-19 11:21:54 +02:00
2025-05-19 10:08:43 +02:00
2025-05-19 21:19:01 +02:00