-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/11/2003, at 1:41 AM, Toby Dickenson wrote:
This is going to break every use equivalent to getattr(some_object, id). Its not obvious to me how this can be cleanly resolved in zope 2.
Your right - this is the killer :-( I had naively assumed setattr(ob, u'\N{TRADEMARK SIGN}', val) would work. It will be quite possible to make ObjectManager.__getitem__ handle Unicode ids, but hacking ExtensionClass to accept Unicode ids is beyond my ken and I'm unsure if this is even possible. - -- Stuart Bishop <stuart@stuartbishop.net> ☞ http://www.stuartbishop.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/sgz8AfqZj7rGN0oRAmCSAJ9zZK9T7+dR22BuF+0PRo/hG2jEXwCgnHIa LhkA45RB4HP/GCujHiHONQc= =obky -----END PGP SIGNATURE-----