commit | 1dcb9c93fd5e69ed9af89a65976bddd5ec15474b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Nov 02 22:46:38 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Nov 02 22:46:38 2007 +0000 |
tree | 6b4b61d808049b05e98a07e2490b1983d30bee9a | |
parent | 2c3e0d94b2357d53e3a460dec244b1e98462ede4 [diff] |
Backport r58709 from trunk: 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.) Also fixes #1098.