Skip to content

fixed fail on processing headers with substring 'type' in their names - #218

Open
petrom wants to merge 4 commits into
xdress:masterfrom
petrom:master
Open

fixed fail on processing headers with substring 'type' in their names#218
petrom wants to merge 4 commits into
xdress:masterfrom
petrom:master

Conversation

@petrom

@petrom petrom commented Apr 7, 2014

Copy link
Copy Markdown

Hi @scopatz. We are using xdress to create python bindings for sdk written in 'c' and faced with issue when xdress fails on processing 'c' headers with 'type' in their names (e.g. we have types.h in our sdk). In such case module description is considered as variable description. I added additional verification for it, but not sure that it's right solution.

@scopatz

scopatz commented Apr 8, 2014

Copy link
Copy Markdown
Member

This seems to be dependent on #219.

Comment thread xdress/utils.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use basestring here instead of str. (In Python3, basestring is defined to be str.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants