Message140327
| Author |
ezio.melotti |
| Recipients |
ezio.melotti, rhettinger, yuriy_levchenko |
| Date |
2011年07月14日.11:24:14 |
| SpamBayes Score |
1.1159314e-05 |
| Marked as misclassified |
No |
| Message-id |
<1310642655.55.0.44434320621.issue12548@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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.) |
|
History
|
|---|
| 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 |
|