[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2312: DeprecationWarning about passing non-bytes header values
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Jan 21 01:48:27 UTC 2015
#2312: DeprecationWarning about passing non-bytes header values
------------------------+--------------------------------------------------
Reporter: daira | Owner: warner
Type: defect | Status: new
Priority: minor | Milestone: 1.10.1
Component: code | Version: 1.10.0
Resolution: | Keywords: DeprecationWarning cygwin tests easy
Launchpad Bug: |
------------------------+--------------------------------------------------
Comment (by warner):
Oh, and `category=DeprecationWarning` is globally disabled in python2.7,
because(?) they assumed it would only be used for features implemented by
python itself, and "2.7 is the last one". I think that's why this doesn't
appear in py2.7 .
Sigh, that seems like a dangerous misfeature to me. Should Twisted (and
other projects) use a subclass or alternative to `DeprecationWarning`?
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2312#comment:5>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list