Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-11-13
11:18 • Closed ticket [1739221fff]: Parray should do nothing gracefully plus 6 other... artifact: e57fe5dd45 user: serhiy.storchaka
2007-06-19
03:10 • Ticket [1739221fff]: 4 changes artifact: a31e5e8581 user: hobbs
03:00 • Ticket [1739221fff]: 6 changes artifact: 5f329f6eae user: dgp
02:29 • Ticket [1739221fff]: 2 changes artifact: d49124aa8a user: dkf
2007-06-18
16:58 • New ticket [1739221fff]. artifact: 071b64cdfe user: gwlester

Parray should do nothing gracefully

Closed / Rejected1739221fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 20 days ago
Descriptionplain2007-06-18 16:58:33
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.
dkf Ticket [1739221fff]: 2 changes [History diff]2007-06-19 02:29:00
dgpplain2007-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.
hobbsplain2007-06-19 03:10:52
Logged In: YES 
user_id=72656
Originator: NO

agreed - parray is working 100% as documented.
serhiy.storchakawiki2026-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.

Log in (anonymous is fine) to add a comment.