Georg Brandl <ge...@python.org> added the comment: Well, then I would have no problem with checking for that condition beforehand and raising ValueError.
On the other hand, it seems that implementations either return a correct string or NULL, so just erroring out in case of NULL would be fine as well. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8013> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com