Re: __init__ patterns

2018-08-30 Thread Terry Reedy
On 8/30/2018 9:43 AM, Steven D'Aprano wrote: On Thu, 30 Aug 2018 06:01:26 -0700, Tim wrote: I saw a thread on reddit/python where just about everyone said they never put code in their __init__ files. Pfft. Reddit users. They're just as bad as Stackoverflow users. *wink* Here's a stackoverf

Re: __init__ patterns

2018-08-30 Thread Steven D'Aprano
On Thu, 30 Aug 2018 06:01:26 -0700, Tim wrote: > I saw a thread on reddit/python where just about everyone said they > never put code in their __init__ files. Pfft. Reddit users. They're just as bad as Stackoverflow users. *wink* > Here's a stackoverflow thread saying the same thing. > https://

RE: __init__ patterns

2018-08-30 Thread Dan Strohl via Python-list
e __init__ Dan > -Original Message- > From: Python-list On > Behalf Of Tim > Sent: Thursday, August 30, 2018 6:01 AM > To: python-list@python.org > Subject: __init__ patterns > > EXTERNAL MAIL: python-list-bounces+d.strohl=f5@python.org > > I saw a thread on redd

Re: __init__ patterns

2018-08-30 Thread Paul Moore
On Thu, 30 Aug 2018 at 14:07, Tim wrote: > > I saw a thread on reddit/python where just about everyone said they never put > code in their __init__ files. > > Here's a stackoverflow thread saying the same thing. > https://stackoverflow.com/questions/1944569/how-do-i-write-good-correct-package-ini

__init__ patterns

2018-08-30 Thread Tim
I saw a thread on reddit/python where just about everyone said they never put code in their __init__ files. Here's a stackoverflow thread saying the same thing. https://stackoverflow.com/questions/1944569/how-do-i-write-good-correct-package-init-py-files That's new to me. I like to put functio