[Python-ideas] Have a "j" format option for lists

Terry Reedy tjreedy at udel.edu
Wed May 9 21:57:49 EDT 2018

On 5/9/2018 9:02 PM, Steven D'Aprano wrote:
> On Thu, May 10, 2018 at 10:50:13AM +1000, Chris Angelico wrote:
>> On Thu, May 10, 2018 at 10:45 AM, Steven D'Aprano <steve at pearwood.info> wrote:
>>> I too spent some time scratching my head trying to guess what you expect
>>> this "j" format code to do, including the fundamental question "why j
>>> and not some other letter?".
>> Interestingly, that question didn't faze me in the slightest. But
>> maybe my instant and automatic "oh you mean join" coloured my
>> expectations elsewhere, and possibly not correctly.
> Oh, I didn't think of that! I was thinking i, j, k as integers, and
> thinking "i is used, and j is the next letter".

I took me several minutes to *guess* that j abbreviated join.  It would 
have been better if it were given in the proposal.

Terry Jan Reedy

More information about the Python-ideas mailing list