Overview
| Artifact ID: | 2c56e45fcc4a697de62f5a33cd59455e0bd81033 |
|---|---|
| Ticket: | 1665628fffffffffffffffffffffffffffffffff
destructive scan of a ByteArray |
| User & Date: | dkf on 2009-02-21 16:40:44 |
Changes
- foundin changed to: "None"
- icomment:
data_type - 360894 Right now, Tcl_GetByteArrayFromObj is not an API that can fail. (To be exact, it can't report the nature of the failure since it does not take a Tcl_Interp argument.) Going through the API to change this would be substantially disruptive, and equally so for third-party code. And Tcl_Panic is not appropriate either; that shouldn't be used for cases that are not C-level programming errors (we do it for memory management only because we don't know a good way to recover in general...) Given all this, I'm unwilling to countenance what you're proposing; the adding of new failure modes is tricky. The original problem seems solved enough that this can be a FRQ.
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "12. ByteArray Object"
- title changed to: "destructive scan of a ByteArray"
- username: "dkf"