diff options
author | Barry Warsaw <barry@python.org> | 2006-01-01 21:48:54 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2006-01-01 21:48:54 (GMT) |
commit | 538561e4660eb2c15c5a2e71b7cb7e2584e09e4d (patch) | |
tree | 193567e16e827d52ccf2e844ad55893e303d02f1 | |
parent | 0f194234dc90b1b2a9949123f3faa974c3910bc7 (diff) | |
download | cpython-538561e4660eb2c15c5a2e71b7cb7e2584e09e4d.zip cpython-538561e4660eb2c15c5a2e71b7cb7e2584e09e4d.tar.gz cpython-538561e4660eb2c15c5a2e71b7cb7e2584e09e4d.tar.bz2 |
Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
-rw-r--r-- | Misc/NEWS | 7 | ||||
-rw-r--r-- | Tools/pynche/StripViewer.py | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -593,8 +593,9 @@ Library once when a size argument is given. This prevents a buffer overflow in the tokenizer with very long source lines. -- Bug #1083110: ``zlib.decompress.flush()`` would segfault if called immediately - after creating the object, without any intervening ``.decompress()`` calls. +- Bug #1083110: ``zlib.decompress.flush()`` would segfault if called + immediately after creating the object, without any intervening + ``.decompress()`` calls. - The reconvert.quote function can now emit triple-quoted strings. The reconvert module now has some simple documentation. @@ -739,6 +740,8 @@ Tools/Demos - Patch #1177597: Correct Complex.__init__. +- Fixed a display glitch in Pynche, which could cause the right arrow to + wiggle over by a pixel. What's New in Python 2.4 final? =============================== diff --git a/Tools/pynche/StripViewer.py b/Tools/pynche/StripViewer.py index 8d17d55..01bcbf6 100644 --- a/Tools/pynche/StripViewer.py +++ b/Tools/pynche/StripViewer.py @@ -151,9 +151,9 @@ class RightArrow(LeftArrow): return arrow, text def _x(self): - coords = self._canvas.bbox(self._TAG) + coords = self._canvas.coords(self._TAG) assert coords - return coords[2] - 6 # BAW: kludge + return coords[0] + self._ARROWWIDTH |