|
From: Donal K. F. <don...@ma...> - 2008-11-20 10:52:33
|
Joe English wrote: >> TIP #210 Add 'tempname' Subcommand to 'file' > > Same as before: change the order of the arguments from > > file tempfile ?template? ?namevar? > to > file tempfile ?namevar? ?template? > > and it's good to go. As currently specified, it forces callers > to supply a template if they want to get the filename back. > One of the main points of the TIP is for Tcl to take care > of all the hairy platform-specific details of where temp files > should go; the propsed interface defeats that. I've revised the TIP to swap those arguments as suggested. (While the TIP previously allowed template to be blank, that was still messy and non-obvious!) I've also made it much clearer what the template format actually is, and I hope that someone can check that I've not messed it up in the process. Assuming I've not blundered, it's now good to go. Donal. |