Re: [Python-ideas] SI scale factors in Python

2016-08-27 Thread David Mertz
It really feels like the OP simply wants Python to become a language for circuit design, with no consideration of general pulse usability, not of other domains. Little in the proposal translates well outside his particular domain, and the differences between domains simply make the proposed

Re: [Python-ideas] SI scale factors alone, without units or dimensional analysis

2016-08-27 Thread David Mertz
>> Proposal number two: don't make any changes to the syntax, but treat these as *literally* numeric scale factors. >> k = kilo = 10**3 >> M = mega = 10**6 >> G = giga = 10**9 >> >> int_value = 8*M float_value = 8.0*M >> fraction_value = Fraction(1, 8)*M >> decimal_value = Decimal("1.2345")*M

Re: [Python-ideas] SI scale factors in Python

2016-08-25 Thread David Mertz
I have trouble imagining situations in which SI units would help readability over scientific notation. On the one hand reading it always involves mental conversion to the exponents, so this is just an extra step. E.g. this equality is evident at a glance: 1e3 * 1e6 * 1e-9 == 1 This one would

Re: [Python-ideas] Let’s make escaping in f-literals impossible

2016-08-19 Thread David Mertz
Ok. My .vimrc is probably different from yours. I'm sure you are right I *could* make that happen. But I haven't so far. On Aug 19, 2016 1:50 PM, "C Anthony Risinger" <anth...@xtfx.me> wrote: > On Fri, Aug 19, 2016 at 3:39 PM, David Mertz <me...@gnosis.cx> wrote: >

Re: [Python-ideas] From mailing list to GitHub issues

2016-08-13 Thread David Mertz
I find email list VASTLY easier to deal with than any newfangled web-based custom discussion forum. Part of that is that it is a uniform interface to every list I belong too, and I can choose my own MUA. With all those web things, every site works a little bit different from every other one, that

<    7   8   9   10   11   12