Tcl Source Code

View Ticket
Login
Ticket UUID: 1739221
Title: Parray should do nothing gracefully
Type: RFE Created on: 2007-06-18 16:58:33
Submitter: gwlester Assigned to: dgp
Subsystem: 38. Init - Library - Autoload Severity:
Priority: 5 Medium Last modified: 2026-11-13 11:18:43
Status: Closed Closed by: serhiy.storchaka
Resolution: Rejected Closed on: 2026-11-13 11:18:43
Version: None
Description:
Currently parray raises an error if passed in a scalar or non-existent variable.

All of the array subcommands currently do nothing gracefully.

Please make parray behavior consistently with the array subcommands.
User Comments:
dgp added on 2007-06-19 03:00:38:

data_type - 360894

Logged In: YES 
user_id=80530
Originator: NO


To my eye, this looks like
a feature request in the same
spirit as 1671880, 1671951,
and 1672056.

hobbs added on 2007-06-19 03:10:52:
Logged In: YES 
user_id=72656
Originator: NO

agreed - parray is working 100% as documented.

serhiy.storchaka added on 2026-11-13 11:18:43:

TIP 323 explicitly left parray out as being about tolerating errors rather than handling a degenerate input, so parray still raises an error for a variable that is not an array, as documented.