Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.