This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ElementPath.Path.findall problem with unicode input
Type: behavior Stage: resolved
Components: Library (Lib), Unicode Versions: Python 2.6, Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: effbot Nosy List: Neil Muller, effbot, flox, qual
Priority: normal Keywords: patch

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:36adminsetgithub: 47659
2010-03-30 10:58:11floxsetstatus: open -> closed
priority: normal
resolution: out of date
stage: resolved
2010-03-30 10:53:01Neil Mullersetnosy: + Neil Muller, flox
messages: + msg101930
2008-07-22 08:46:12effbotsetmessages: + msg70140
2008-07-21 16:40:38amaury.forgeotdarcsetassignee: effbot
nosy: + effbot
2008-07-18 19:45:24qualcreate