You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In RequestsKeywords.py there is a comment on line 51 # file descriptors should be closed for files parameter as well
As far as I am aware this is not happening, for example if you open a file for streaming, put it in a tuple with its filename, then in a dictionary where the name maps to this tuple. If you passed this dictionary to the PUT request using kwargs, files=my_dict the file descriptor for the file object created would never be closed
Apologies if this issue already exists elsewhere as the comment seems to imply it would, however I could not find it
The text was updated successfully, but these errors were encountered:
I think that I should have added a FIXME prefix, I don't recall but probably I added it when I discover that file descriptors can be passed to files parameters as well. Indeed the commit where I added it is where I used this feature for a test.
In RequestsKeywords.py there is a comment on line 51
# file descriptors should be closed for files parameter as well
As far as I am aware this is not happening, for example if you open a file for streaming, put it in a tuple with its filename, then in a dictionary where the name maps to this tuple. If you passed this dictionary to the PUT request using kwargs,
files=my_dict
the file descriptor for the file object created would never be closedApologies if this issue already exists elsewhere as the comment seems to imply it would, however I could not find it
The text was updated successfully, but these errors were encountered: