Message140327
Using the func%(args) syntax is not possible because
fab = foo%(1,2)
is equivalent to
fab = foo.__mod__((1,2))
It might actually be possible to overload the % operator to make something that looks like your proposed syntax (without changing the actual Python syntax), but it still look hackish to me.
(We are also moving away from the % overload used by strings for the formatting in favor of the .format() method.) |
|
Date |
User |
Action |
Args |
2011-07-14 11:24:15 | ezio.melotti | set | recipients:
+ ezio.melotti, rhettinger, yuriy_levchenko |
2011-07-14 11:24:15 | ezio.melotti | set | messageid: <1310642655.55.0.44434320621.issue12548@psf.upfronthosting.co.za> |
2011-07-14 11:24:15 | ezio.melotti | link | issue12548 messages |
2011-07-14 11:24:14 | ezio.melotti | create | |
|