Piet van Oostrum <[EMAIL PROTECTED]> wrote: >>>>>> Tim Roberts <[EMAIL PROTECTED]> (TR) wrote: > >>TR> [EMAIL PROTECTED] wrote: >>>> cool. so this line >>>> server = smtplib.SMTP(localhost) >>>> is when i connect ? > >>TR> Use the source, Luke. Source code for every standard module is included >>on >>TR> your hard disk. If you look in the __init__ for "class SMTP", your >>TR> question will be answered. > >The documentation should be the ultimate reference for the API. The source >is just implementation detail which may change in the future.
I won't argue with that, but the question of "exactly when does the connection occur" is in itself an implementation detail. I wouldn't expect it to be answered in the documentation. -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list