[Twisted-Python] Twisted 14.0.0-pre2 Announcement

Donald Stufft donald at stufft.io
Wed Apr 9 12:10:05 MDT 2014


On Apr 9, 2014, at 1:47 PM, Glyph <glyph at twistedmatrix.com> wrote:

> 
> On Apr 9, 2014, at 9:42 AM, exarkun at 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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20140409/ed733a69/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/twisted-python/attachments/20140409/ed733a69/attachment.sig>


More information about the Twisted-Python mailing list