Tcl Library Source Code

View Ticket
Login
Ticket UUID: a7fb3a643ce4b17cbb147eb37a5abe65f72db144
Title: math::exact relies on bad Tcl resolution behaviour revoked by TIP 278 - Tcl 9
Type: Bug Version:
Submitter: dgp Created on: 2017-10-31 16:52:31
Subsystem: math Assigned To: aku
Priority: 3 Low Severity: Minor
Status: Open Last Modified: 2018-01-24 19:05:14
Resolution: None Closed By: nobody
    Closed on:
Description:
the math::exact package includes code like:

           next $math::exact::dneg
 
where it relies on exactly the "try resolving
in the global namespace" behavior that TIP 278
gets rid of.

Seems likely this package needs revision to work 
in Tcl 9.
User Comments: aku added on 2018-01-24 19:05:14:
Commit [fb859d7803] fixes all the places using `$math::` in `math::exact`.
Further fixed relative proc definitions to be absolute.

Unclear if that fixes all the places.

Currently not running tests against 9.0a0. Actually I do, and see how the change of the major version throws all the `package require` commands and version checks out of wack. So, no usable results. And making the entirety of Tcllib friendly to 9 will be a major undertaking.

Keeping ticket open, at lower priority.