git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Instantiating sub-class from super


On 17/10/19 4:08 AM, Piet van Oostrum wrote:
> DL Neil <PythonList at DancesWithMice.info> writes:
> 
>> That said, if a "trans" person has ovaries or testes (for example) then
>> a non-traditional sexual identification is irrelevant - for medical
>> purposes. Diseases in those areas (and now I'm a long way from a
>> research questionnaire and from Python - but this is roughly how it was
>> explained to me) still apply, and sadly, may in-fact be considerably
>> complicated by any medical processes that may have contributed to a
>> transition.
> 
> So what if a person has both ovaries and testes?
> It is better to keep all options open rather than making hasty subdivisions.

Exactly!

The objective is not to sub-divide, but to ensure that those to whom 
various questions are relevant have their answers recorded, but those 
for whom the section is irrelevant are not over-burdened.


> In this context that means attributes (that can be None) rather than subclasses.

Which seems to be the way we're headed...

Thanks!
-- 
Regards =dn