Re: Infinitely expandable string.pack
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Infinitely expandable string.pack
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: 2018年3月29日 05:21:01 +0300
On 03/28/2018 02:12 PM, Soni "They/Them" L. wrote:
> string.pack currently doesn't accept anything past the end of the format string,
> it just ignores everything.
>
> what if it didn't? what if, at the end of the format string, it read another
> format string?
>
> what if string.pack("I", 32, "I", 64) was the same as string.pack("II", 32, 64)?
>
> thanks.
I'd prefer this extension. (And same extension for "string.format".)
-- Martin