Message398620
The only thing to consider is that connections are flakey, and the user might typically want to explicitly handle them in most cases. Therefore, it's a better API if the .connect() call appears in the user's code.
If anything, it might be better to create a new context manager called Auto FTP connection or something, and include default error handling behavior.
Have you discussed this idea in python- ideas? |
|
Date |
User |
Action |
Args |
2021-07-31 02:24:36 | jack__d | set | recipients:
+ jack__d, vpjtqwv0101 |
2021-07-31 02:24:35 | jack__d | set | messageid: <1627698275.48.0.495921359526.issue44788@roundup.psfhosted.org> |
2021-07-31 02:24:35 | jack__d | link | issue44788 messages |
2021-07-31 02:24:35 | jack__d | create | |
|