What about something like:
f"{x:₹d}"
₹ = Indian Rupees symbol
I realize it is not ASCII but ₹ would be, for the target audience,
both easy to type
(Ctrl-Alt-4 on Windows Indian English keyboard layout)
and be mnemonic
("format number like you would format an amount in rupees").
Stephan
2018
On 2/1/2018 12:05 AM, David Mertz wrote:
So overall I do like Nick's approach better than my initial suggestion
or Eric's one that is similar to mine.
Oops, I'd forgotten that you (David) had proposed a single character in
your original email. I'm not trying to claim the idea! The important
On 01.02.2018 00:40, Chris Angelico wrote:
> On Thu, Feb 1, 2018 at 10:15 AM, Chris Barker wrote:
>> I still have no ide4a why there is such resistance to this -- yes, it's a
>> fairly small benefit over a package no PyPi, but there is also virtually no
>> downside.
>
> I don't understand it eith
Maybe it is happening but not in the way that you would expect
https://mail.python.org/pipermail/python-dev/2018-January/152029.html
Anyway, do we conclude, or at least a significant part, that is something
desiderable but some constraints do not allow to work on that?
Also, more technically Iw
On Feb 1, 2018 12:17 AM, "Stephan Houben" wrote:
What about something like:
f"{x:₹d}"
₹ = Indian Rupees symbol
I realize it is not ASCII but ₹ would be, for the target audience,
both easy to type and be mnemonic
("format number like you would format an amount in rupees").
I like how iconic
On Thu, 1 Feb 2018 at 07:34 Pau Freixes wrote:
> Maybe it is happening but not in the way that you would expect
>
> https://mail.python.org/pipermail/python-dev/2018-January/152029.html
>
>
As one of the people who works at Microsoft and has Steve as a teammate I'm
well aware of what MS contribut
On Thu, Feb 1, 2018 at 12:55 PM, Brett Cannon wrote:
>
>
> On Thu, 1 Feb 2018 at 07:34 Pau Freixes wrote:
[..]
>> 2) Regarding the Yuris proposal to cache bultin functions, why this
>> strategy cant be used for objects and their attributes within the function
>> scope? Technically which is the re
I'm not sure I understand Pau's question but I can assure that my
optimizations were fully backwards compatible and preserved all of
Python attribute lookup semantics. And they made some macrobenchmarks
up to 10% faster.
Unfortunately I failed at merging them in 3.7. Will do that for 3.8.
I wa
> On 30 Jan 2018, at 05:45, Nick Coghlan wrote:
>
> I'll also note that one of the things we (and others) *have* been
> putting quite a bit of time into is the question of "Why do people
> avoid using extension modules for code acceleration?".
I think that is simple. Those that try give up bec
Hi!
Most of the classes (even if very simple like datetime.datetime) cannot be
serialized to JSON by default.
Would it be a good idea for the default json.JSONEncoder to call the
__json__ dunder method automatically if the object has one?
I can't find anything about why this protocol or PEP does
On 1/31/2018 6:15 PM, Chris Barker wrote:
I still have no idea why there is such resistance to this [spelling corrected]
Every proposal should be resisted to the extent of requiring clarity,
consideration of alternatives, and sufficient justification.
yes, it's a fairly small benefit over
On 01/02/18 21:34, Terry Reedy wrote:
On 1/31/2018 6:15 PM, Chris Barker wrote:
I still have no idea why there is such resistance to this [spelling
corrected]
Every proposal should be resisted to the extent of requiring clarity,
consideration of alternatives, and sufficient justification.
Nick Coghlan wrote:
- "," would be short for ",3," with decimal digits
- "_" would be short for "_3_" with decimal digits
- "_" would be short for "_4_" with binary/octal/hexadecimal digits
Is it necessary to restrict "," to decimal? Why not make
"," and "_" orthogonal?
While "," with non-deci
On Thu, Feb 01, 2018 at 08:45:13PM +, Kiss, György wrote:
> Hi!
>
>
> Most of the classes (even if very simple like datetime.datetime) cannot be
> serialized to JSON by default.
>
> Would it be a good idea for the default json.JSONEncoder to call the
> __json__ dunder method automatically if
On 2 February 2018 at 06:15, Barry Scott wrote:
>
>
> On 30 Jan 2018, at 05:45, Nick Coghlan wrote:
>
> I'll also note that one of the things we (and others) *have* been
> putting quite a bit of time into is the question of "Why do people
> avoid using extension modules for code acceleration?".
>
On 2 February 2018 at 08:23, Greg Ewing wrote:
> Nick Coghlan wrote:
>>
>> - "," would be short for ",3," with decimal digits
>> - "_" would be short for "_3_" with decimal digits
>> - "_" would be short for "_4_" with binary/octal/hexadecimal digits
>
>
> Is it necessary to restrict "," to decima
On Thu, Feb 01, 2018 at 10:20:00AM +0100, M.-A. Lemburg wrote:
> In general, we have only added new encodings when there was an encoding
> missing which a lot of people were actively using. We asked for
> official documentation defining the mappings, references showing
> usage and IANA or similar
17 matches
Mail list logo