Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
56ecb366
Kaydet (Commit)
56ecb366
authored
Agu 10, 2013
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge heads
üst
ee8f773c
584e8151
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
NEWS
Misc/NEWS
+2
-0
_tkinter.c
Modules/_tkinter.c
+9
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
56ecb366
...
...
@@ -27,6 +27,8 @@ Library
- Issue #18676: Change '
positive
' to '
non
-
negative
' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
- Fix refcounting issue with extension types in tkinter.
- Issue #8112: xlmrpc.server'
s
DocXMLRPCServer
server
no
longer
raises
an
error
if
methods
have
annotations
;
it
now
correctly
displays
the
annotations
.
...
...
Modules/_tkinter.c
Dosyayı görüntüle @
56ecb366
...
...
@@ -516,6 +516,7 @@ Tkapp_New(char *screenName, char *className,
v
=
PyObject_New
(
TkappObject
,
(
PyTypeObject
*
)
Tkapp_Type
);
if
(
v
==
NULL
)
return
NULL
;
Py_INCREF
(
Tkapp_Type
);
v
->
interp
=
Tcl_CreateInterp
();
v
->
wantobjects
=
wantobjects
;
...
...
@@ -674,6 +675,7 @@ newPyTclObject(Tcl_Obj *arg)
self
=
PyObject_New
(
PyTclObject
,
(
PyTypeObject
*
)
PyTclObject_Type
);
if
(
self
==
NULL
)
return
NULL
;
Py_INCREF
(
PyTclObject_Type
);
Tcl_IncrRefCount
(
arg
);
self
->
value
=
arg
;
self
->
string
=
NULL
;
...
...
@@ -683,9 +685,11 @@ newPyTclObject(Tcl_Obj *arg)
static
void
PyTclObject_dealloc
(
PyTclObject
*
self
)
{
PyObject
*
tp
=
(
PyObject
*
)
Py_TYPE
(
self
);
Tcl_DecrRefCount
(
self
->
value
);
Py_XDECREF
(
self
->
string
);
PyObject_Del
(
self
);
Py_DECREF
(
tp
);
}
static
char
*
...
...
@@ -2196,6 +2200,7 @@ Tktt_New(PyObject *func)
v
=
PyObject_New
(
TkttObject
,
(
PyTypeObject
*
)
Tktt_Type
);
if
(
v
==
NULL
)
return
NULL
;
Py_INCREF
(
Tktt_Type
);
Py_INCREF
(
func
);
v
->
token
=
NULL
;
...
...
@@ -2211,10 +2216,12 @@ Tktt_Dealloc(PyObject *self)
{
TkttObject
*
v
=
(
TkttObject
*
)
self
;
PyObject
*
func
=
v
->
func
;
PyObject
*
tp
=
(
PyObject
*
)
Py_TYPE
(
self
);
Py_XDECREF
(
func
);
PyObject_Del
(
self
);
Py_DECREF
(
tp
);
}
static
PyObject
*
...
...
@@ -2520,11 +2527,13 @@ static PyMethodDef Tkapp_methods[] =
static
void
Tkapp_Dealloc
(
PyObject
*
self
)
{
PyObject
*
tp
=
(
PyObject
*
)
Py_TYPE
(
self
);
/*CHECK_TCL_APPARTMENT;*/
ENTER_TCL
Tcl_DeleteInterp
(
Tkapp_Interp
(
self
));
LEAVE_TCL
PyObject_Del
(
self
);
Py_DECREF
(
tp
);
DisableEventHook
();
}
...
...
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