You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADNS_State_completed should return Yield like a generator function to
allow callbacks to happen as quick as the DNS reply comes in. This should
be sufficient to deprecate run_max function call as it doesn't add any value.
http://www.python.org/doc/2.5.2/api/gen-objects.html
The deprecated "apply" call in ADNS.py can be replaced by a direct function
call.
http://docs.python.org/library/functions.html#apply
Original issue reported on code.google.com by mybugrep...@gmail.com on 7 Oct 2008 at 9:36
apply is still in there because adns-python was developed for Python 1.5
originally.
run_max exists so that queries can be aborted if they take too long, which can
be
significant for doing DNS blacklist lookups for inbound mail.
Original comment by farcep...@gmail.com on 7 Oct 2008 at 12:42
Activity
GoogleCodeExporter commentedon Feb 13, 2016
Original comment by
farcep...@gmail.comon 7 Oct 2008 at 12:42