[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3019: Remove tuple unpacking in function definitions for Python3 compatibility

Tahoe-LAFS trac at tahoe-lafs.org
Fri Mar 29 17:13:20 UTC 2019


#3019: Remove tuple unpacking in function definitions for Python3 compatibility
-----------------------------+------------------------------
     Reporter:  heartsucker  |      Owner:
         Type:  defect       |     Status:  new
     Priority:  normal       |  Milestone:  Support Python 3
    Component:  unknown      |    Version:  1.12.1
   Resolution:               |   Keywords:
Launchpad Bug:               |
-----------------------------+------------------------------

Comment (by heartsucker):

 A quick estimation shows 296 function definitions that use this notation,
 many in the test suites. We should be rewritten as much as possible so the
 tuples are unpaced at the callsite and not inside the function. However,
 it looks like some instances of this are the result of using callbacks and
 partial function application (?), so this may not be possible.

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


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