On Apr 9, 2014, at 1:47 PM, Glyph <gl...@twistedmatrix.com> wrote: > > On Apr 9, 2014, at 9:42 AM, exar...@twistedmatrix.com wrote: > >> This is a warning that just about every Twisted user is going to see and >> it's confusing (_sslverify.py? what?) and poorly formatted. > > I can definitely fix the formatting (and maybe a few other things in this > area...) for a new prerelease. > > But how would you recommend we make the warning come from a more sensible > location that doesn't mention _sslverify.py? I'd really like this to look > specific, comprehensible, and actionable to users. Should it not be using > the warnings module? > > -glyph > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
You can use the level kwarg to warnings to make it look like the warning is coming from high up in the stack if that’s useful at all. ----------------- Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python