21 Nov
2017
21 Nov
'17
10:35 p.m.
On Tue, Nov 21, 2017 at 01:35:41PM -0200, Joao S. O. Bueno wrote:
On 21 November 2017 at 13:16, Steven D'Aprano
wrote:
I'd rather leave __str__ and __repr__ alone. Changing them will have huge backwards compatibility implications. I'd rather give bytes a hexdump() method that returns a string:
'2a 2b 2d 2e 2f'
Do you mean, like bytes.hex?
Guido's Time Machine strikes again! -- Steve