Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 52b4504c257e067fa863e4c2b5c666ce42095303
Ticket: 2412068fffffffffffffffffffffffffffffffff
[source] is not yield-able
User & Date: venksi on 2008-12-09 16:19:54
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Short example:
    
    # Start of a.tcl
    proc main {} {
        uplevel #0  {
    source b.tcl
        }
    }
    
    coroutine m main
    # end of a.tcl
    
    # start of b.tcl
    yield
    # end of b.tcl
    
    On Running this as:
    
    c:/tcl/8.6a4-2008-12-07/bin/tclsh86.exe a.tcl
    
    I get this error:
    cannot yield: C stack busy
        while executing
    "yield"
        (file "b.tcl" line 1)
        invoked from within
    "source b.tcl"
        ("uplevel" body line 2)
        invoked from within
    "uplevel #0  {
    source b.tcl
        }"
        (procedure "main" line 2)
        invoked from within
    "main"
        invoked from within
    "coroutine m main"
        (file "a.tcl" line 9)
    
    
  4. foundin changed to: "obsolete: 8.6a4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "venksi"
  10. subsystem changed to: "None"
  11. title changed to: "[source] is not yield-able"
  12. type changed to: "Bug"