Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Inconsistency in package names between package require and info loaded

Closed / Fixeddcc86453499a21ae87730fc2365e3ca78cd86dc3Created 2 years agoUpdated 2 years ago
Descriptionmarkdown2024-08-23 11:22:58

Example:

% package require Registry
can't find package Registry
% package require registry
1.3.7
% info loaded {} registry
% info loaded {} Registry
//zipfs:/lib/tcl/tcl_library/registry/tcl9registry13.dll

The package require fails on Registry and needs registry while info loaded is the converse. Is this expected behaviour? Neither the manpage, nor TIP 459 say anything about requiring title casing and the difference is confusing when introspecting.

Referenced by4
jan.nijtmanswiki2024-08-23 11:55:05

Answer: Yes, the behaviour is correct, the documentation is not .....

jan.nijtmanswiki2024-08-23 12:13:43

Does [this] make more sense?

Thanks for the report!

oehhar Ticket [dcc8645349]: 3 changes [History diff]2024-08-23 12:54:52
apnadkarniplain2024-08-23 13:04:48
Looks ok to me.
jan.nijtmansplain2024-08-23 13:58:01
Fixed [70b037050c37b27c|here]

Thanks, again!
Log in (anonymous is fine) to add a comment.