Tk Source Code

View Ticket
Login
Ticket UUID: 1067248
Title: Win send disabled, causes test failure
Type: Bug Version: obsolete: 8.5a1
Submitter: vincentdarley Created on: 2004-11-16 10:29:19
Subsystem: 58. [send] Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2026-10-22 17:22:33
Resolution: Fixed Closed By: serhiy.storchaka
    Closed on: 2026-09-24 20:23:26
Description:
On Windows 'send' is disabled because it caused
interpreter hangs.  However, this leads to a test failure.

Ideally win-send should be fixed, but failing that the
test should have a non-Windows constraint applied.

==== safe-1.2 Safe Tk loading into an interpreter FAILED
==== Contents of test case:

    catch {safe::interpDelete a}
    safe::interpCreate a
    safe::loadTk a
    set l [lsort [interp hidden a]]
    safe::interpDelete a
    set l

---- Result was:
bell cd clipboard encoding exec exit fconfigure file
glob grab load menu open pw
d selection socket source tk_chooseColor
tk_chooseDirectory tk_getOpenFile tk_ge
tSaveFile tk_messageBox toplevel wm
---- Result should have been (exact matching):
bell cd clipboard encoding exec exit fconfigure file
glob grab load menu open pw
d selection send socket source tk_chooseColor
tk_chooseDirectory tk_getOpenFile
tk_getSaveFile tk_messageBox toplevel wm
==== safe-1.2 FAILED
User Comments: serhiy.storchaka added on 2026-09-24 20:23:26:

Fixed in 8.5a5 by [e3897e4615], and later generalized by [dcd76b16d1] and [99951bde7d]: safe-1.2 expects send among the hidden commands only if it exists. safe.test passes on Windows with 9.1. Closing.


dgp added on 2007-12-04 01:42:06:
Logged In: YES 
user_id=80530
Originator: NO


I think this has been resolved
in the sense that [send] on Windows
has been pulled from the feature
list for Tk 8.5.0.

Leaving open for maintainer resolution,
but dropping from release blocking
priority.

dgp added on 2007-09-30 10:33:25:
Logged In: YES 
user_id=80530
Originator: NO

Tk 8.5b1 is out.

It's time to get [send]
on Windows re-enabled and
working properly, or it's
time to officially revert it
from the new feature list.

vincentdarley added on 2004-11-16 19:14:50:
Logged In: YES 
user_id=32170

Certainly not a disaster -- but when I run Tk's tests and I
get some 20 different failures, how am I to tell which are
important and which aren't?  

I happen to know that this one is pretty harmless, but
that's still no reason not to resolve it (esp. given I can't
see any action on fixing Windows 'send').

dkf added on 2004-11-16 18:55:49:
Logged In: YES 
user_id=79902

A failing test isn't exactly a disaster.