Artifacts Associated With Ticket 443195ffffffffff
Ticket change [d74dfd230f] (rid 123959) by dgp on 2001-07-20 21:04:34:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The commands http::data http::status http::code http::ncode http::size http::error http::cleanup are all documented, public commands of the package http. They should be added to the [namespace export] list. Also, the command http::mapReply has the form of a public command. It should either be documented and [namespace export]ed, or should be changed to look like a private command.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "29. http Package"
- title initialized to: "Export documented http::[a-z]* commands"
- type initialized to: "RFE"
Ticket change [388aa26762] (rid 112224) by andreas_kupries on 2001-11-08 02:29:38:
- assignee changed to: "andreas_kupries"
Ticket change [151d9ab1dc] (rid 124513) by andreas_kupries on 2001-11-08 02:34:48:
- assignee changed to: "hobbs"
Ticket change [bb75f6124f] (rid 129488) by hobbs on 2001-11-17 05:33:15:
- icomment:
Logged In: YES user_id=72656 docs don't justify exporting. For the above, the obvious conflict of 'error' shows the problems of exporting such simply named namespaced can't always be exported.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "3 Low"
- username: "hobbs"
- icomment:
Ticket change [0cc8e969fb] (rid 114238) by dgp on 2001-11-20 00:37:59:
- icomment:
Logged In: YES user_id=80530 At the very least, if a public command is not exported, then the inability to [namespace import] that command must be documented. The user of the http package needs that documentation so he knows not to attempt [namespace import ::http::error], etc. I prefer a policy of always [namespace export]ing all public commands of any package. If you do not [namespace export] a command, then users may not [namespace import] and [rename] it to use it in the way they choose within their own namespace. It is true that a [namespace import ::http::error] into :: would conflict with [::error], but it is not necessarilly true that a conflict would exist in any other namespace. By refusing to [namespace export] these commands, you prevent their import into *any* namespace, just becuase there will be trouble importing into *one* namespace.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bf9df3a34b] (rid 102275) by hobbs on 2001-11-20 17:04:02:
- icomment:
Logged In: YES user_id=72656 I prefer the documentation route for this one, because the other one opens up backwards compatability problems (serious ones), where people already have [namespace import -force ::http::*], which is likely.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [9ee7d5b8cb] (rid 96556) by dgp on 2001-11-21 01:55:47:
- icomment:
Logged In: YES user_id=80530 We disagree about what should be [namespace export]ed. (Those who would have "compatbility problems" are getting the trouble they asked for. Promiscuous [namespace import] should be discouraged!) We agree this is a low priority matter, so no need to continue the argument. This discussion has reawakened some thoughts about improvements to [namespace import] that, after TIPping, could make everybody happy. Stay tuned. Meanwhile, improved documentatation will satisfy me.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [ade66c2ec4] (rid 135574) by dkf on 2013-11-12 14:52:12:
- assignee changed to: "aku"
- closer changed to: "nobody"
- comment changed to:
The commands http::data http::status http::code http::ncode http::size http::error http::cleanup are all documented, public commands of the package http. They should be added to the [namespace export] list. Also, the command http::mapReply has the form of a public command. It should either be documented and [namespace export]ed, or should be changed to look like a private command.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Remind"
- severity changed to: "Minor"
Ticket change [5f283c608f] (rid 200558) by kjnash on 2022-05-10 20:47:50:
- icomment:
http::quoteString is an alias of http::mapReply that is both exported and documented.
- login: "kjnash"
- mimetype: "text/plain"
- icomment:
Ticket change [8df5d4adcd] (rid 200599) by kjnash on 2022-05-12 01:39:12:
- icomment:
Documentation http(n) changed to list the exported and non-exported commands. See commit [deb816791ea2deb8].
- login: "kjnash"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [aae93afcfe] (rid 200614) by kjnash on 2022-05-13 03:00:24:
- login: "kjnash"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [e20dba4d2d] (rid 201356) by kjnash on 2022-05-30 16:24:42:
- closedate changed to: "2459730.18382824"
- closer changed to: "kjnash"
- login: "kjnash"
- mimetype: "text/plain"
- status changed to: "Closed"