[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3976: Name of variable is same as built in.

Tahoe-LAFS trac at tahoe-lafs.org
Tue Feb 14 16:54:25 UTC 2023


#3976: Name of variable is same as built in.
---------------------------+-----------------------
     Reporter:  daniellee  |      Owner:  daniellee
         Type:  defect     |     Status:  new
     Priority:  minor      |  Milestone:  undecided
    Component:  unknown    |    Version:  n/a
   Resolution:             |   Keywords:
Launchpad Bug:             |
---------------------------+-----------------------
Description changed by daniellee:

Old description:

> Mypy was showing errors that variable was named the same as a built-in
> class ```bytes```.
> ```
> src/allmydata/web/status.py:1619:9: F811 redefinition of unused 'bytes'
> from line 12
> src/allmydata/web/status.py:1626:9: F811 redefinition of unused 'bytes'
> from line 12
> src/allmydata/web/status.py:1633:9: F811 redefinition of unused 'bytes'
> from line 12
> src/allmydata/web/status.py:1640:9: F811 redefinition of unused 'bytes'
> from line 12
> ```

New description:

 Mypy was showing errors that variable was named the same as a built-in
 class `bytes`.
 {{{
 src/allmydata/web/status.py:1619:9: F811 redefinition of unused 'bytes'
 from line 12
 src/allmydata/web/status.py:1626:9: F811 redefinition of unused 'bytes'
 from line 12
 src/allmydata/web/status.py:1633:9: F811 redefinition of unused 'bytes'
 from line 12
 src/allmydata/web/status.py:1640:9: F811 redefinition of unused 'bytes'
 from line 12
 }}}

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3976#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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