Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generic.NameObject causes infinite loops #18

Open
rajeshdhawan opened this issue Feb 7, 2011 · 1 comment
Open

generic.NameObject causes infinite loops #18

rajeshdhawan opened this issue Feb 7, 2011 · 1 comment

Comments

@rajeshdhawan
Copy link

I have a PDF document that seems to get stuck in an infinite loop in the "while True" clause of generic.NameObject.

I added the empty string "" to the tuple of NameObject.delimiterCharacters to fix this issue. Don't know if it's the right solution, but it seems to break the infinite loop perfectly.

@rduplain
Copy link

I can confirm this issue, and that the delimiter fix mentioned here works around the issue while passing my application tests. The greater issue is the use of while True: ... blocks throughout the code, instead of breaking after some limit with a raised exception.

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

No branches or pull requests

2 participants