[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3995: Remove the various dead code from `src/allmydata/util/base32.py`

Tahoe-LAFS trac at tahoe-lafs.org
Thu Mar 23 11:34:55 UTC 2023


#3995: Remove the various dead code from `src/allmydata/util/base32.py`
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  n/a
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 * `could_be_base32_encoded` is "look before you leap".  If you want to
 know if it is base32 encoded, decode it and find out.  This should be
 removed.
 * A lot of module-level constants like `c2vtranstable` and
 `rfc3548_alphabet` are unnecessary if we don't have
 `could_be_base32_encoded`.

 Delete the stuff in this module that we don't actually use or need.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3995>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list