[issue4772] undesired switch fall-through in socketmodule.c

Brian Curtin report at bugs.python.org
Wed Dec 23 03:21:01 CET 2009


Brian Curtin <curtin at acm.org> added the comment:

I think both AF_BLUETOOTH and AF_TIPC should raise ValueError since the
type of the argument is correct but it's not a good value. I piggybacked
on Amaury's patch and changed the exceptions with a patch against r77004.

----------
nosy: +brian.curtin
Added file: http://bugs.python.org/file15665/issue4772.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4772>
_______________________________________


More information about the Python-bugs-list mailing list