[issue24880] ctypeslib patch for regular expression for symbols to include

2015-08-17 Thread Jan Wagner

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



[issue24880] ctypeslib patch for regular expression for symbols to include

2015-08-20 Thread Jan Wagner

Jan Wagner added the comment:

Yes, hosted at svn.python.org, but without any means of "externally" filing a 
bug report or patch for it other than here on bugs.python.org. Maybe theller 
you could include this patch?   Change status to closed + third party...?

--

___
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