commit | 1c1ac3815716b9db9c41111e65919689b41e6d34 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Oct 29 22:15:05 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Oct 29 22:15:05 2007 +0000 |
tree | ac779e7252c2455bddeed257fa21b85f6e9a0096 | |
parent | dff51b2898145d4f9c5db669db4f9ef5a67ab4b5 [diff] |
Backport fixes for the code that decodes octal escapes (and for PyString also hex escapes) -- this was reaching beyond the end of the input string buffer, even though it is not supposed to be \0-terminated. This has no visible effect but is clearly the correct thing to do. (In 3.0 it had a visible effect after removing ob_sstate from PyString.)