Jack DeVries <jdevries3...@gmail.com> added the comment:

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?

----------
nosy: +jack__d

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44788>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to