Overview
| Artifact ID: | 59d0a1decc5cecbbaf76e164022ecaa7491664d3 |
|---|---|
| Ticket: | 436332ffffffffffffffffffffffffffffffffff
Need way to append bytearray objs |
| User & Date: | jgullingsrud on 2003-09-22 16:44:07 |
Changes
- icomment:
Logged In: YES user_id=19365 That sounds safe, and would meet the needs of my code. From a "principle of least surprise" standpoint, though, wouldn't you rather have strings stay strings and bytes stay bytes? Byte arrays in Tcl never happen by accident; you either have to fconfigure a channel to be binary or use the binary command. If the programmer has gone to the trouble to get a byte array, it seems to me that Tcl should try to respect that; one way to do that would be for append to never convert its first argument from binary to string.
- login: "jgullingsrud"
- mimetype: "text/plain"
- username: "jgullingsrud"