Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
538561e4
Commit
538561e4
authored
Jan 01, 2006
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
parent
0f194234
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
Misc/NEWS
Misc/NEWS
+5
-2
Tools/pynche/StripViewer.py
Tools/pynche/StripViewer.py
+2
-2
No files found.
Misc/NEWS
View file @
538561e4
...
@@ -593,8 +593,9 @@ Library
...
@@ -593,8 +593,9 @@ Library
once
when
a
size
argument
is
given
.
This
prevents
a
buffer
overflow
in
the
once
when
a
size
argument
is
given
.
This
prevents
a
buffer
overflow
in
the
tokenizer
with
very
long
source
lines
.
tokenizer
with
very
long
source
lines
.
-
Bug
#
1083110
:
``
zlib
.
decompress
.
flush
()``
would
segfault
if
called
immediately
-
Bug
#
1083110
:
``
zlib
.
decompress
.
flush
()``
would
segfault
if
called
after
creating
the
object
,
without
any
intervening
``.
decompress
()``
calls
.
immediately
after
creating
the
object
,
without
any
intervening
``.
decompress
()``
calls
.
-
The
reconvert
.
quote
function
can
now
emit
triple
-
quoted
strings
.
The
-
The
reconvert
.
quote
function
can
now
emit
triple
-
quoted
strings
.
The
reconvert
module
now
has
some
simple
documentation
.
reconvert
module
now
has
some
simple
documentation
.
...
@@ -739,6 +740,8 @@ Tools/Demos
...
@@ -739,6 +740,8 @@ Tools/Demos
- Patch #1177597: Correct Complex.__init__.
- 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
?
What'
s
New
in
Python
2.4
final
?
===============================
===============================
...
...
Tools/pynche/StripViewer.py
View file @
538561e4
...
@@ -151,9 +151,9 @@ class RightArrow(LeftArrow):
...
@@ -151,9 +151,9 @@ class RightArrow(LeftArrow):
return
arrow
,
text
return
arrow
,
text
def
_x
(
self
):
def
_x
(
self
):
coords
=
self
.
_canvas
.
bbox
(
self
.
_TAG
)
coords
=
self
.
_canvas
.
coords
(
self
.
_TAG
)
assert
coords
assert
coords
return
coords
[
2
]
-
6
# BAW: kludge
return
coords
[
0
]
+
self
.
_ARROWWIDTH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment