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
640bd844
Commit
640bd844
authored
Sep 05, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
parent
599b702b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
Modules/_tkinter.c
Modules/_tkinter.c
+1
-1
No files found.
Misc/NEWS
View file @
640bd844
...
@@ -66,6 +66,9 @@ Core and Builtins
...
@@ -66,6 +66,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #18909: Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don'
t
cast
64
-
bit
pointer
to
long
(
32
bits
).
-
Issue
#
18876
:
The
FileIO
.
mode
attribute
now
better
reflects
the
actual
mode
-
Issue
#
18876
:
The
FileIO
.
mode
attribute
now
better
reflects
the
actual
mode
under
which
the
file
was
opened
.
Patch
by
Erik
Bray
.
under
which
the
file
was
opened
.
Patch
by
Erik
Bray
.
...
...
Modules/_tkinter.c
View file @
640bd844
...
@@ -2688,7 +2688,7 @@ Tkapp_InterpAddr(PyObject *self, PyObject *args)
...
@@ -2688,7 +2688,7 @@ Tkapp_InterpAddr(PyObject *self, PyObject *args)
if
(
!
PyArg_ParseTuple
(
args
,
":interpaddr"
))
if
(
!
PyArg_ParseTuple
(
args
,
":interpaddr"
))
return
NULL
;
return
NULL
;
return
PyLong_From
Long
((
long
)
Tkapp_Interp
(
self
));
return
PyLong_From
VoidPtr
(
Tkapp_Interp
(
self
));
}
}
static
PyObject
*
static
PyObject
*
...
...
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