Comment 2 for bug 1989343

Revision history for this message
buhtz (buhtz) wrote : Re: [Bug 1989343] Re: Option to use python file operations when saving xml

Hello

Am 12.09.2022 21:18 schrieb scoder:
> lxml actually does make use of the Python operations for files that you
> pass it as open file objects (as opposed to file paths). Does that
> help?
>
> Maybe you could use mock to replace lxml's file writing functions with
> a
> wrapper that opens the file from a path before passing it on?

No, that doesn't help. Because I use pandas, which uses openpyxl which
uses lxml. ;)