Message258468
Nope. Argument Clinic was merged in 3.4, and in 3.3 pwd.getpwuid wouldn't accept strings. So this isn't a bug introduced in the Clinic conversion in 3.4, this is historical behavior, and we can't change it now.
If anything, I'd prefer that grp.getgrid *didn't* accept strings, but it's too late to change that too. "Helpfully" automatically calling int() on an argument is un-pythonic.
(To answer your specific questions: they probably shouldn't have different behaviors, and I assume there's no particular reason for the difference. It's probably that they had different implementors, and one did a sloppier job than the other.) |
|
Date |
User |
Action |
Args |
2016-01-17 14:15:36 | larry | set | recipients:
+ larry, SilentGhost, SimonFr |
2016-01-17 14:15:36 | larry | set | messageid: <1453040136.06.0.410562703234.issue26129@psf.upfronthosting.co.za> |
2016-01-17 14:15:36 | larry | link | issue26129 messages |
2016-01-17 14:15:35 | larry | create | |
|