Mercury Bugs - mercury
View Issue Details
0000408mercuryFeature Requestpublic2016-04-18 11:002018-09-22 12:19
Reporterwangp 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000408: make_temp and make_temp_directory should not throw exceptions
DescriptionWe should add an alternative to io.make_temp which returns a success code instead of throwing an exception.

io.make_temp_directory is still new (as of now) so we can still change it to return a success code without maintaining backwards compatibility.
TagsNo tags attached.
Attached Files

Notes
(0000885)
pbone   
2016-04-18 11:20   
I agree with this change and I'm happy to do it since I'm working on this code anyway.
(0000978)
pbone   
2018-03-13 14:38   
Unassigned things from me.
(0001014)
wangp   
2018-09-22 12:19   
make_temp is deprecated and its replacements don't throw exceptions.

Issue History
2016-04-18 11:00wangpNew Issue
2016-04-18 11:20pboneNote Added: 0000885
2016-04-18 11:20pboneAssigned To => pbone
2016-04-18 11:20pboneStatusnew => assigned
2018-03-13 14:38pboneStatusassigned => acknowledged
2018-03-13 14:38pboneNote Added: 0000978
2018-09-22 12:19wangpAssigned Topbone =>
2018-09-22 12:19wangpStatusacknowledged => resolved
2018-09-22 12:19wangpResolutionopen => fixed
2018-09-22 12:19wangpNote Added: 0001014