This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients mdk, ncoghlan, rhettinger, seluj78, serhiy.storchaka, steven.daprano
Date 2018-11-18.21:43:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542577382.84.0.788709270274.issue35200@psf.upfronthosting.co.za>
In-reply-to
Content
My first though went to giving something really simple like:

>>> print(range(10))
1, 2, ..., 8, 9

But for the empty range it would give an empty string. It may make sense, but may also be surprising.

The other way would be to print [1, 2, ..., 8. 9], so the empty range gets [] instead of nothing.

I think I prefer the first way.
History
Date User Action Args
2018-11-18 21:43:02mdksetrecipients: + mdk, rhettinger, ncoghlan, steven.daprano, serhiy.storchaka, seluj78
2018-11-18 21:43:02mdksetmessageid: <1542577382.84.0.788709270274.issue35200@psf.upfronthosting.co.za>
2018-11-18 21:43:02mdklinkissue35200 messages
2018-11-18 21:43:02mdkcreate