Re: [Python-ideas] Proposal: making __str__ count in time's class

2017-04-09 Thread Eric V. Smith
On 3/8/2017 11:01 AM, Francesco Franchina wrote: Hello everyone, I'm shortly writing to you about a reflection I lately made upon the current functioning of __str__ for the time's class. Before expressing my thought and proposal, I want to make sure we all agree on a simple and clear fact:

Re: [Python-ideas] Proposal: making __str__ count in time's class

2017-03-08 Thread Ethan Furman
On 03/08/2017 08:01 AM, Francesco Franchina wrote: Before expressing my thought and proposal, I want to make sure we all agree on a simple and clear fact: the __str__ magic method is used to give a literal and human-readable representation to the object (unlike __repr__). If __str__ has not

Re: [Python-ideas] Proposal: making __str__ count in time's class

2017-03-08 Thread Barry Scott
> On 8 Mar 2017, at 16:01, Francesco Franchina wrote: > > Hello everyone, > > I'm shortly writing to you about a reflection I lately made upon the current > functioning of __str__ for the time's class. > > Before expressing my thought and proposal, I want to make sure we

[Python-ideas] Proposal: making __str__ count in time's class

2017-03-08 Thread Francesco Franchina
Hello everyone, I'm shortly writing to you about a reflection I lately made upon the current functioning of __str__ for the time's class. Before expressing my thought and proposal, I want to make sure we all agree on a simple and clear fact: the __str__ magic method is used to give a literal and