File tree 2 files changed +31
-2
lines changed
2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 2023.6.0
5
+ --------
6
+
7
+ Enhancements
8
+
9
+ - #1259, add maxdepth fo cp/get/put
10
+ - #1263, allow dir modification during walk()
11
+ - #1264, add boxfs to registry
12
+ - #1266, optimise referenceFS lazy lookups, especially for writing parquet
13
+ - #1287, 1288 "encoding" for FTP
14
+
15
+ Fixes
16
+
17
+ - #1273, (re)allow reading .zstd reference sets
18
+ - #1275, resource.error for win32
19
+ - #1278, range reads in dbfs
20
+ - #1282, create parent directories in get_file
21
+ - #1283, off-by-one in reference block writing
22
+ - #1286, strip protocol in local rm_file
23
+
24
+ Other
25
+
26
+ - #1267, async bulk tests
27
+ - #1268, types and mypy
28
+ - #1277, 1279, drop outdated forms io.open, IOError
29
+
4
30
2023.5.0
5
31
--------
6
32
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ def open(
436
436
- For implementations in separate packages see
437
437
https://filesystem-spec.readthedocs.io/en/latest/api.html#other-known-implementations
438
438
"""
439
- return open_files (
439
+ out = open_files (
440
440
urlpath = [urlpath ],
441
441
mode = mode ,
442
442
compression = compression ,
@@ -446,7 +446,10 @@ def open(
446
446
newline = newline ,
447
447
expand = False ,
448
448
** kwargs ,
449
- )[0 ]
449
+ )
450
+ if not out :
451
+ raise FileNotFoundError (urlpath )
452
+ return out [0 ]
450
453
451
454
452
455
def open_local (url , mode = "rb" , ** storage_options ):
You can’t perform that action at this time.
0 commit comments