Title: hasattr, getattr allow unicode identifiers
Type: Severity: normal
Components: Core Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, pjenvey
Priority: normal Keywords: test failure causes

Created on 2007-08-07.05:26:19 by cgroves, last changed 2008-04-09.05:31:24 by pjenvey.

msg1818 (view) Author: Charlie Groves (cgroves) Date: 2007-08-07.05:26:19
hasattr and getattr allow names to be any unicode object, but attributes names must be in the ascii range.  If the unicode object has a character outside of the ascii range using it in either of these functions should raise an UnicodeError.

test_builtin has a couple tests that fail as a result of this, but they're commented out for now as explained in
msg3144 (view) Author: Philip Jenvey (pjenvey) Date: 2008-04-09.05:31:23
fixed in r4324
Date User Action Args
2008-04-09 05:31:24pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg3144
nosy: + pjenvey
2007-08-07 05:26:19cgrovescreate