Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Unified Diff: Modules/_tkinter.c

Issue 16840: Tkinter doesn't support large integers
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Modules/tkinter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/_tkinter.c Mon Apr 20 18:20:27 2015 -0400
+++ b/Modules/_tkinter.c Tue Apr 21 11:45:29 2015 +0300
@@ -80,7 +80,7 @@ Copyright (C) 1994 Steen Lumholt.
#define CONST
#endif
-#if TK_VERSION_HEX < 0x08030102
+#if TK_HEX_VERSION < 0x08030201
#error "Tk older than 8.3.1 not supported"
#endif
@@ -96,7 +96,8 @@ Copyright (C) 1994 Steen Lumholt.
#error "unsupported Tcl configuration"
#endif
-#if TK_VERSION_HEX >= 0x08050002
+#if TK_HEX_VERSION >= 0x08050208 && TK_HEX_VERSION < 0x08060000 || \
+ TK_HEX_VERSION >= 0x08060200
#define HAVE_LIBTOMMAMTH
#include <tclTomMath.h>
#endif
@@ -1405,7 +1406,7 @@ FromObj(PyObject* tkapp, Tcl_Obj *value)
#endif
}
-#if TK_VERSION_HEX >= 0x08050000
+#if TK_HEX_VERSION >= 0x08050000
if (app->BooleanType == NULL &&
strcmp(value->typePtr->name, "booleanString") == 0) {
/* booleanString type is not registered in Tcl */
« no previous file with comments | « no previous file | Modules/tkinter.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+