20 Mar
2020
20 Mar
'20
4:25 a.m.
On Fri, Mar 20, 2020 at 03:01:16PM +1100, Chris Angelico wrote:
On Fri, Mar 20, 2020 at 2:59 PM Steven D'Aprano
wrote: On Thu, Mar 19, 2020 at 11:38:28PM +0000, Samuel Colvin wrote:
But it also looks for a "__pretty__" method on objects, and if found uses that to display the object.
Are you aware that dunder names are reserved for Python's use?
Really?
Yes, really. https://docs.python.org/3/reference/lexical_analysis.html#reserved-classes-o...
Somebody better tell SQLAlchemy that they're breaking rules, then.
Lots of people break the rules all the time. Doesn't mean they should. -- Steven