Re: [Python-ideas] π = math.pi

2017-06-01 Thread Guyzmo via Python-ideas
On Thu, Jun 01, 2017 at 11:49:43AM +0200, Victor Stinner wrote:
> How do you write π (pi) with a keyboard on Windows, Linux or macOS?

Use the compose key 

for linux: https://help.ubuntu.com/community/ComposeKey
for windows: https://github.com/SamHocevar/wincompose
for macosx: http://lol.zoy.org/blog/2012/06/17/compose-key-on-os-x

Then I wrote my own ~/.XCompose file with:

  : "π"   U03C0  # 
GREEK SMALL LETTER PI

so it's like the vim digraphs.

Cheers,

-- 
zmo
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/


Re: [Python-ideas] Fwd: Define a method or function attribute outside of a class with the dot operator

2017-02-10 Thread Guyzmo via Python-ideas
Hi list,

I'm quite neutral to this proposition, as it's not a use case I see
often myself needing.

On Fri, Feb 10, 2017 at 02:55:31PM +0100, Stephan Houben wrote:
[…]
> But if I don't understand the dot in `class foo.bar:', then what?
> It's probably somewhere buried in the language spec for `class' but
> realistically
> I am now going to blight Stackoverflow with my questions.
[…]

but this is definitely not a reason to dismiss a proposal. A language is
aimed at evolves and introduce new syntax features, and yes,
stackoverflow will get questions about it, blog articles written and
RTFW updated, so you'll get the info you'll need fastly.

Cheers,

-- 
Guyzmo
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

[Python-ideas] Simon's ideas [Was: How to respond to trolling (Guido van Rossum)]

2017-01-12 Thread Guyzmo via Python-ideas
Hello Simon,

I'm mostly lurking this mailing list and this is my first post, so
hello everybody .

On Thu, Jan 12, 2017 at 12:13:03PM +0800, Simon Lovell wrote:
> I feel I have to respond to this one.

This discussion hasn't much to do on this mailing list and it's only
generating noise. Please, would be kind enough to keep discussing this
on python-list (aka comp.lang.python) where it belongs?

And eventually, once discussion settles on realistic changes that /can/ be
added to python you might want to submit a PEP:

http://legacy.python.org/dev/peps/pep-0001/

To quote the above linked document, I believe this applies to your
situation:

> Asking the Python community first if an idea is original helps prevent
> too much time being spent on something that is guaranteed to be
> rejected based on prior discussions (searching the internet does not
> always do the trick). It also helps to make sure the idea is
> applicable to the entire community and not just the author.

And read 5 times the following part before posting here again:

> Just because an idea sounds good to the author does not mean it will
> work for most people in most areas where Python is used.

Even though I can only believe this is not your intent, in the end it
looks pretty clear that many people, including myself, are being annoyed
by these threads making the signal/noise ratio of this list very low.

As I've read the original mail I knew it would end up in a low
signal/noise ratio discussion because even I wanted to lecture you,
Simon, about languages, grammar and compilers. Instead I killed the
original thread (plonk!), as I find little interest in this discussion,
but it keeps on respawning as some posters are breaking the threads.

So please, be kind and have some netiquette. 

Thank you,

-- 
Bernard `Guyzmo` Pratz
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/