Joachim Saul:
> I would assume that in addition to None, any value that is acceptable as
> argument to bytes() should also be acceptable as a default value for a
> bytes-type parameter, following the Rule of Least Surprizeā„¢. This would
> consequently also allow code such as
> 
> def foo(bytes bar=5):
> 
> unless forbidden in Python 3.

Read: Unless 'bytes(5)' etc. is forbidden in Python 3. ;)

Cheers,
Joachim
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to