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
dac8b8b7
Commit
dac8b8b7
authored
Sep 20, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command call
returned empty string.
parents
de24a1fc
31f477c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Misc/NEWS
Misc/NEWS
+3
-0
Modules/_tkinter.c
Modules/_tkinter.c
+1
-4
No files found.
Misc/NEWS
View file @
dac8b8b7
...
@@ -12,6 +12,9 @@ Core and Builtins
...
@@ -12,6 +12,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
3015
:
Fixed
tkinter
with
wantobject
=
False
.
Any
Tcl
command
call
returned
empty
string
.
-
Issue
#
19037
:
The
mailbox
module
now
makes
all
changes
to
maildir
files
-
Issue
#
19037
:
The
mailbox
module
now
makes
all
changes
to
maildir
files
before
moving
them
into
place
,
to
avoid
race
conditions
with
other
programs
before
moving
them
into
place
,
to
avoid
race
conditions
with
other
programs
that
may
be
accessing
the
maildir
directory
.
that
may
be
accessing
the
maildir
directory
.
...
...
Modules/_tkinter.c
View file @
dac8b8b7
...
@@ -1107,10 +1107,7 @@ Tkapp_CallResult(TkappObject *self)
...
@@ -1107,10 +1107,7 @@ Tkapp_CallResult(TkappObject *self)
res
=
FromObj
((
PyObject
*
)
self
,
value
);
res
=
FromObj
((
PyObject
*
)
self
,
value
);
Tcl_DecrRefCount
(
value
);
Tcl_DecrRefCount
(
value
);
}
else
{
}
else
{
const
char
*
s
=
Tcl_GetStringResult
(
self
->
interp
);
res
=
PyUnicode_FromString
(
Tcl_GetStringResult
(
self
->
interp
));
const
char
*
p
=
s
;
res
=
PyUnicode_FromStringAndSize
(
s
,
(
int
)(
p
-
s
));
}
}
return
res
;
return
res
;
}
}
...
...
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