Issue 3409: ElementPath.Path.findall problem with unicode input (original) (raw)

Issue3409

Created on 2008-07-18 19:45 by qual, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ElementPath.diff qual,2008-07-18 19:45 diff between modified ElementPath.py an rev. 65108
Messages (3)
msg69986 - (view) Author: Uwe Hoffmann (qual) Date: 2008-07-18 19:45
if you call Element.findall(u".......") some silent errors can occure because of the isinstance(....,type("")) check. I'm not sure if it is even allowed to call findall with a unicode parameter. The attached diff solves *my* problem.
msg70140 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2008-07-22 08:46
Hmm. That's embarrassing. What was I thinking? Guess it's time to update the 2.X codebase to ET 1.2.8.
msg101930 - (view) Author: Neil Muller (Neil Muller) Date: 2010-03-30 10:53
With the recent ElementTree changes on trunk, this bug no longer applies, AFAICS.
History
Date User Action Args
2022-04-11 14:56:36 admin set github: 47659
2010-03-30 10:58:11 flox set status: open -> closedpriority: normalresolution: out of datestage: resolved
2010-03-30 10:53:01 Neil Muller set nosy: + Neil Muller, floxmessages: +
2008-07-22 08:46:12 effbot set messages: +
2008-07-21 16:40:38 amaury.forgeotdarc set assignee: effbotnosy: + effbot
2008-07-18 19:45:24 qual create