[New-bugs-announce] [issue22215] "embedded NUL character" exceptions

Serhiy Storchaka report at bugs.python.org
Sun Aug 17 16:43:55 CEST 2014


New submission from Serhiy Storchaka:

Currently most functions which accepts string only without embedded NUL character, raise TypeError. Proposed patch change exception type to more consistent ValueError. It also unifies error messages.

I have opened a discussion on Python-Dev.

----------
components: Interpreter Core
files: valueerror_embedded_nul_character.diff
keywords: patch
messages: 225447
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: "embedded NUL character" exceptions
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file36394/valueerror_embedded_nul_character.diff

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


More information about the New-bugs-announce mailing list