Message293007
What if the third-party parser don't use prepare_input_source()? It can use more efficient way if pass just a file name.
Wouldn't be better to move your code into the parser's method parse()? If a file is opened inside the parse() method and is not exposed outside, that method should close it. |
|
Date |
User |
Action |
Args |
2017-05-04 19:13:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, scoder, vstinner, eli.bendersky |
2017-05-04 19:13:36 | serhiy.storchaka | set | messageid: <1493925216.78.0.425594906341.issue30264@psf.upfronthosting.co.za> |
2017-05-04 19:13:36 | serhiy.storchaka | link | issue30264 messages |
2017-05-04 19:13:36 | serhiy.storchaka | create | |
|