| Store | Cart

Re: [TCLCORE] Tcl 9 big cleanup

From: Jan Nijtmans <jan....@gmail.com>
Thu, 9 Nov 2017 16:49:31 +0100
2017-11-09 15:00 GMT+01:00 Kevin Kenny:
> If you want to replace TclpLocaltime rather than eliminating it,> ThreadSafeLocaltime in clock.c is a drop-in replacement.> tclClock.c had its own versions of TclpLocaltime (and, for a> while in development, TclpGmtime and TclpMktime)> when it was still deployed as an extension, before being> brought into Core. Not replacing the old one was an> oversight.

The functions TclpLocaltime/TclpGmtime are all undocumented and in
the internal stub table. If they are meant to be used by extensions,
then I think - at least - they should be documented and move to
the external stub table. I'm not against that, but I don't think we
should take non-used internal functions to Tcl 9 like that.

I would welcome a TIP, exposing TclpLocaltime/TclpGmtime
to the public API. The implementation can indeed be
copied from Tcl 8.x, it's easy to put it back whenever needed.

That's my (maybe simplistic) view ;-)

Thanks!
      Jan Nijtmans

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core

Recent Messages in this Thread
Jan Nijtmans Nov 09, 2017 09:44 am
Kevin Kenny Nov 09, 2017 02:00 pm
Jan Nijtmans Nov 09, 2017 03:49 pm
Messages in this thread