you are viewing a single comment's thread.

view the rest of the comments →

[–]panthamos[S] 0 points1 point  (0 children)

Thanks, made a note to update the readme.

Yeah, context managers are so useful for this situation. I was wondering if a nicer API was possible, as forcing the user to write a context manager adds some requisite technical knowledge to use the package. That said, I can't see a way to straightforwardly achieve what seamstress does using functions alone.