[Python-ideas] Hijacking threads [was: Changing the meaning of bool.__invert__]
Alexander Belopolsky
alexander.belopolsky at gmail.com
Thu Apr 7 22:17:16 EDT 2016
More information about the Python-ideas mailing list
Thu Apr 7 22:17:16 EDT 2016
- Previous message (by thread): [Python-ideas] Hijacking threads [was: Changing the meaning of bool.__invert__]
- Next message (by thread): [Python-ideas] Hijacking threads [was: Changing the meaning of bool.__invert__]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Apr 7, 2016 at 9:56 PM, Ethan Furman <ethan at stoneleaf.us> wrote: > In the recent thread about changing the meaning of __invert__ on bools I > was accused of an attempted hijack. > > Can anybody please enlighten me as to what, exactly, I did wrong? > You greatly expanded the scope of the discussion. The original thread was focused on a single feature, and a not so widely used one. You asked 6-7 (rhetorical?) questions below that have nothing to do with the original topic. > > Original post follows: > > > I think the str() of a value, while possibly being the most > > interesting piece of information (IntEnum, anyone?), is hardly the > > most intrinsic. > > > > If we do make this change, besides needing a couple major versions to > > make it happen, will anything else be different? > > > > - no longer subclass int? > > - add an "unknown" value? > > - how will indexing work? > > - or any of the other operations? > > - don't bother with any of the other mathematical operations? > > - counting True's is not the same as adding True's > > > > I'm not firmly opposed, I just don't see a major issue here -- I've > > needed an Unknown value for more often that I've needed ~True to be > > False. > > -- > ~Ethan~ > _______________________________________________ > Python-ideas mailing list > Python-ideas at python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160407/a46183a8/attachment.html>
- Previous message (by thread): [Python-ideas] Hijacking threads [was: Changing the meaning of bool.__invert__]
- Next message (by thread): [Python-ideas] Hijacking threads [was: Changing the meaning of bool.__invert__]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list