New submission from Jan Wagner:
There is an issue in ctypeslib that affects xml2py.py option "-r". The usage
informs that "-r EXPRESSION regular expression for symbols to include".
However, when the expression is evaluated, only exact name matches are actually
selected. For example, -r "set" would match only a function called set.
The underlying issue is in codegenerator.py. Here is a small patch that changes
the behaviour of codegenerator.py so that it (and xml2py.py) are more
consistent with the usage instructions. With the patch, -r "set" will match all
functions containing set, e.g., setData, setAxis, and so on.
--
components: ctypes
files: codegenerator.patch
keywords: patch
messages: 248721
nosy: jwagner313
priority: normal
severity: normal
status: open
title: ctypeslib patch for regular expression for symbols to include
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file40196/codegenerator.patch
___
Python tracker
<http://bugs.python.org/issue24880>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com