File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
# We use the SemVer 2.0.0 versioning scheme
2
2
VERSION_MAJOR = 2 # Number of releases of the library with a breaking change
3
3
VERSION_MINOR = 20 # Number of changes that only add to the interface
4
- VERSION_PATCH = 0 # Number of changes that do not change the interface
4
+ VERSION_PATCH = 1 # Number of changes that do not change the interface
5
5
VERSION_SUFFIX = ""
6
6
7
7
PACKAGE_VERSION = (
Original file line number Diff line number Diff line change @@ -339,16 +339,16 @@ def files_descriptors_for_process(
339
339
symbol_table : str ,
340
340
task : interfaces .objects .ObjectInterface ,
341
341
):
342
- # task.files can be null
343
- if not (task .files and task .files .is_readable ()):
344
- return None
342
+ try :
343
+ files = task .files
344
+ fd_table = files .get_fds ()
345
+ if fd_table == 0 :
346
+ return None
345
347
346
- fd_table = task . files .get_fds ()
347
- if fd_table == 0 :
348
+ max_fds = files .get_max_fds ()
349
+ except exceptions . InvalidAddressException :
348
350
return None
349
351
350
- max_fds = task .files .get_max_fds ()
351
-
352
352
# corruption check
353
353
if max_fds > 500000 :
354
354
return None
You can’t perform that action at this time.
0 commit comments