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
3510632a
Commit
3510632a
authored
Mar 31, 2012
by
Sandro Tosi
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
4cc229ad
9e892bbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
Misc/NEWS
Misc/NEWS
+2
-0
Modules/_tkinter.c
Modules/_tkinter.c
+18
-1
No files found.
Misc/NEWS
View file @
3510632a
...
...
@@ -37,6 +37,8 @@ Core and Builtins
Library
-------
-
Issue
#
5136
:
deprecated
old
,
unused
functions
from
tkinter
.
-
Issue
#
14409
:
IDLE
now
properly
executes
commands
in
the
Shell
window
when
it
cannot
read
the
normal
config
files
on
startup
and
has
to
use
the
built
-
in
default
key
bindings
.
...
...
Modules/_tkinter.c
View file @
3510632a
...
...
@@ -1343,6 +1343,11 @@ Tkapp_GlobalCall(PyObject *self, PyObject *args)
char
*
cmd
;
PyObject
*
res
=
NULL
;
if
(
PyErr_WarnEx
(
PyExc_DeprecationWarning
,
"globalcall is deprecated and will be removed in 3.4"
,
1
)
<
0
)
return
0
;
CHECK_TCL_APPARTMENT
;
cmd
=
Merge
(
args
);
...
...
@@ -1392,6 +1397,11 @@ Tkapp_GlobalEval(PyObject *self, PyObject *args)
PyObject
*
res
=
NULL
;
int
err
;
if
(
PyErr_WarnEx
(
PyExc_DeprecationWarning
,
"globaleval is deprecated and will be removed in 3.4"
,
1
)
<
0
)
return
0
;
if
(
!
PyArg_ParseTuple
(
args
,
"s:globaleval"
,
&
script
))
return
NULL
;
...
...
@@ -1954,9 +1964,16 @@ Tkapp_Split(PyObject *self, PyObject *args)
static
PyObject
*
Tkapp_Merge
(
PyObject
*
self
,
PyObject
*
args
)
{
char
*
s
=
Merge
(
args
)
;
char
*
s
;
PyObject
*
res
=
NULL
;
if
(
PyErr_WarnEx
(
PyExc_DeprecationWarning
,
"merge is deprecated and will be removed in 3.4"
,
1
)
<
0
)
return
0
;
s
=
Merge
(
args
);
if
(
s
)
{
res
=
PyUnicode_FromString
(
s
);
ckfree
(
s
);
...
...
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