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
This is a legacy function back from when the library directly used httplib.
Its enable parameter has actually been ignored since it was added.
Since it's undocumented and serves little purpose (You can easily set http.client.HTTPConnection.debuglevel yourself), I'll be removing it in the next release. Thanks for pointing it out.
Tweepy and its dependencies use logging, so to control logging, you can instead use logging.basicConfig or use logging.getLogger to configure the logger for each library individually.
Resolved with a702325, where I've removed the debug function,
I've also added documentation for logging with 7701506. I opted not to include any mention of http.client.HTTPConnection.debuglevel, as it's constrained to only printing to the console and it doesn't seem to be explicitly documented in Python's documentation for the http.client module.
tweepy.debug in
tweepy/__init__.py
ignores its enable argument which makes statements such astweepy.debug(args.VERBOSE >= 2)
not work as expectedThe text was updated successfully, but these errors were encountered: