Skip to main content
6 events
when toggle format what by license comment
Apr 22, 2015 at 10:55 comment added Arne Thank you. I adapted everything except the change to a list of flags. Not because I don't like it, but at a later stage I need the flags as numbers, and (without knowing it) implementing them as binary values saved me some hassle.
Apr 22, 2015 at 10:37 vote accept Arne
Apr 22, 2015 at 7:31 history edited Quuxplusone CC BY-SA 3.0
added 859 characters in body
Apr 22, 2015 at 7:23 comment added Quuxplusone True. But that's also an excellent reason to dispense with the names altogether and just use "+-noO", if you have the option.
Apr 22, 2015 at 7:17 comment added Janne Karila Assigning names to literals, eg. POSITIVE = 'positive', is a good idea because Python will then be able to catch typos.
Apr 22, 2015 at 6:19 history answered Quuxplusone CC BY-SA 3.0