[Python-Dev] Problem displaying the warning symbol

2014-11-16 Thread Stefano Borini
Hi, I report a finding (bug?) about the warning unicode symbol, as reported here http://stackoverflow.com/questions/26919799/cannot-make-warning-sign-visible-on-osx-terminal In brief, python fails to correctly encode \u26a0 (warning sign) to utf-8, instead writing a space. It has no problems w

Re: [Python-Dev] Problem displaying the warning symbol

2014-11-16 Thread Stefano Borini
On 11/16/14 8:23 PM, Terry Reedy wrote: Stefano, the right place to send an enquiry about a bug is python-list, not py-dev. ok, sorry, but I wasn't even sure if it was a bug, and what was the root cause. I'm doubtful this is a Python problem though. More likely it is an issue with the cu

Re: [Python-Dev] Why does python use relative instead of absolute path when calling LoadLibrary*

2015-03-13 Thread Stefano Borini
On 3/11/15 9:36 PM, David Cournapeau wrote: Hi, While looking at the import code of python for C extensions, I was wondering why we pass a relative path instead of an absolute path to LoadLibraryEx (see bottom for some context). In python 2.7, the full path existence was even checked before c

Re: [Python-Dev] Reject PEP 472: Support for indexing with keyword arguments

2019-03-16 Thread Stefano Borini
Hello, I am one of the authors of the PEP. I agree with your sentiment. I still think it might be useful in some contexts and I got some positive reactions here and there, but as you said it does not seem to provide a lot of added value. On Fri, 15 Mar 2019 at 21:50, Brett Cannon wrote: > The i

[Python-Dev] Cannot find documented API in PEP-376 (Database of Installed Python Distributions)

2019-04-15 Thread Stefano Borini
anyone have some context for this? I understand it was 10 years ago, so it's mostly a curiosity. Thanks. -- Kind regards, Stefano Borini ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubs

[Python-Dev] Modified parser does not seem to work. What am I doing wrong?

2020-10-16 Thread Stefano Borini
ecreated ast parser and pegen.c with 'make regen-all' and recompiled with make. I tried to enable debug and print the pegen.c debug, but it's a bit heavy and I could not immediately spot the issue. I suspect I am missing something somewhere. Thanks -- Kind regards, Stefano B

[Python-Dev] Re: Modified parser does not seem to work. What am I doing wrong?

2020-10-17 Thread Stefano Borini
skipping the > "slices" part of the subscript and allow the 2nd argument of _Py_Subscript > to be NULL. For example: > > | a=t_primary '[' k=kwargs ']' !t_lookahead { _Py_Subscript(a, NULL, k, > Store, EXTRA) } > > Regards, > Pablo > > On F

[Python-Dev] PEP 637 - Support for indexing with keyword arguments: request for feedback for SC submission

2021-02-02 Thread Stefano Borini
your help. -- Kind regards, Stefano Borini ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at

[Python-Dev] Re: PEP 637 - Support for indexing with keyword arguments: request for feedback for SC submission

2021-02-04 Thread Stefano Borini
ing basic teaching sessions. -- Kind regards, Stefano Borini ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message ar

[Python-Dev] Re: PEP 637 - Support for indexing with keyword arguments: request for feedback for SC submission

2021-02-05 Thread Stefano Borini
he typing module would use it, as illustrated by one of the examples, but > beyond that I can't imagine how this would be used by e.g. dicts and lists. > > > Thanks, > > > /arry > > On 2/2/21 3:36 AM, Stefano Borini wrote: > > Hi all, > > I would

[Python-Dev] Re: PEP 637 - Support for indexing with keyword arguments: request for feedback for SC submission

2021-02-06 Thread Stefano Borini
of a. We don't prescribe anything on that. > > On Tue, Feb 2, 2021 at 2:40 PM Stefano Borini > wrote: > > > > Hi all, > > > > I would like to request feedback by python-dev on the current > > implementation of PEP 637 - Support for indexing with keyword &

[Python-Dev] Re: PEP 637 - Support for indexing with keyword arguments: request for feedback for SC submission

2021-02-06 Thread Stefano Borini
appen, for what matters, and I would not request it). On Sat, 6 Feb 2021 at 11:10, Larry Hastings wrote: > > > On 2/5/21 4:25 PM, Stefano Borini wrote: > > dicts and lists will keep working as before. They will not support > keyword arguments (probably ever, as there is no clear s

[Python-Dev] Re: Python standardization

2021-02-13 Thread Stefano Borini
-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/JZYW4JOTANYIOLYDQ6YHRUP2TWO52OAE/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Kind regards, Stefano B

[Python-Dev] Re: PEP 637 - Support for indexing with keyword arguments: request for feedback for SC submission

2021-02-26 Thread Stefano Borini
: http://python.org/psf/codeofconduct/ -- Kind regards, Stefano Borini ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message

[Python-Dev] Re: Rejecting PEP 637 (Support for indexing with keyword arguments)

2021-03-16 Thread Stefano Borini
are not, however, the main reason we decided to > reject the PEP. > > With our appreciation, > For the whole Python Steering Council, > Thomas. > -- > Thomas Wouters > > Hi! I'm an email virus! Think twice before sending your email to help me > spread! -- Kind

[Python-Dev] Re: On the migration from master to main

2021-03-25 Thread Stefano Borini
On Tue, 23 Mar 2021 at 21:39, Python Steering Council wrote: > This isn’t just about ‘master’ being rooted in slavery. No it's not and I am shocked that such ignorance would exist to believe that. -- Kind regards, Stefano Borini ___ Py

[Python-Dev] 0xfor 3. Parser bug?

2021-04-14 Thread Stefano Borini
t; 3or 50 3 -- Kind regards, Stefano Borini ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.p

[Python-Dev] Re: PEP 622 version 2 (Structural Pattern Matching)

2020-07-10 Thread Stefano Borini
> also serve as introduction and tutorial. > > - PEP 622: https://www.python.org/dev/peps/pep-0622/ > - Playground: > https://mybinder.org/v2/gh/gvanrossum/patma/master?urlpath=lab/tree/playground-622.ipynb > > -- > --Guido van Rossum (python.org/~guido) > Pronouns: he/him (why is my pronoun h

[Python-Dev] Re: PEP 622 version 2 (Structural Pattern Matching)

2020-08-04 Thread Stefano Borini
urn complex(real, imag) case ("polar", r, phi): return complex(r * cos(phi), r * sin(phi)) else: pass -- Kind regards, Stefano Borini ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-

[Python-Dev] Re: Resurrecting PEP-472

2020-08-31 Thread Stefano Borini
On Sat, 29 Aug 2020 at 19:33, Antoine Pitrou wrote: > Agreed with Victor. Please create a new PEP. on it. -- Kind regards, Stefano Borini ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev

[Python-Dev] Re: Resurrecting PEP-472

2020-09-01 Thread Stefano Borini
First draft is available as a draft PR on https://github.com/python/peps/pull/1579 This draft contains just the motivation, not the implementation decisions. I'll add that in the upcoming nights, but it's now open for comments. On Mon, 31 Aug 2020 at 22:50, Stefano Borini wrote: >