[New-bugs-announce] [issue31648] Improve ElementPath

Stefan Behnel report at bugs.python.org
Sat Sep 30 04:16:42 EDT 2017

New submission from Stefan Behnel <stefan_ml at behnel.de>:

* Allow whitespace around predicate parts, i.e. "[a = 'text']" instead of requiring the less readable "[a='text']".

* Add support for text comparison of the current node, like "[.='text']".

Both currently raise "invalid path" exceptions. PR coming.

components: Library (Lib), XML
messages: 303400
nosy: eli.bendersky, scoder, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Improve ElementPath
type: enhancement
versions: Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list