On 30/11/2015 15:56, Peter Karman wrote:
Marvin Humphrey wrote on 11/29/15, 5:44 PM:
How about changing the behavior of autogenerated bindings for
single-positional-argument functions while keeping the current behavior for
named parameters?  Would that be satisfactory?

That seems like a decent compromise.

Otherwise, a custom XS wrapper for back compat specifically for Perl seems
reasonable. That was my first thought too.

I think different semantics for positional and labeled arguments are even more confusing. Anyway, I don't have a strong opinion on the whole issue. But now would be a good time to make any changes.

If we stick with "undef means default", we should also consider to disallow undef for Boolean and number arguments if there's no default.

Nick

Reply via email to