mstamy2/PyPDF2 — pull request #166 by direvus (2014-12-29 07:03:10+00:00)
Title: Use utils.readUntilRegex in NumberObject.readFromStream.

This probably should have happened when readUntilRegex was first
introduced in d990367334964f8758857eaa266a82ee4bd49cb7, but looks like
it was missed accidentally.

readUntilRegex includes awareness of EOF, which means that for some
cases which would have otherwise gone into an infinite loop, we now
throw an exception.

See mstamy2/PyPDF2#165