[Python-Dev] Windows - rebuilding grammar files

2020-01-14 Thread Abdur-Rahmaan Janhangeer
Greetings list,

On windows i want to play with the grammar file, but according to this
article :

> For Windows, there is no officially supported way of running pgen.
However, you can clone my fork
 and run
build.bat --regen from within the PCBuild directory.

But i don't want to work from his fork. Is there an official way of
regenerating
the files? I just want to have my own keywords. As far as i've understood,
rebuilding won't do it.

Yours,

Abdur-Rahmaan Janhangeer
Mauritius
___
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.python.org/archives/list/python-dev@python.org/message/IBK2T4YR5JARRJOCNHRLI3JN2Z737JXH/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows - rebuilding grammar files

2020-01-14 Thread Inada Naoki
His patch is merged already.
See https://github.com/python/cpython/pull/12654

On Tue, Jan 14, 2020 at 6:20 PM Abdur-Rahmaan Janhangeer
 wrote:
>
> Greetings list,
>
> On windows i want to play with the grammar file, but according to this 
> article:
>
> > For Windows, there is no officially supported way of running pgen. However, 
> > you can clone my fork and run build.bat --regen from within the PCBuild 
> > directory.
>
> But i don't want to work from his fork. Is there an official way of 
> regenerating
> the files? I just want to have my own keywords. As far as i've understood, 
> rebuilding won't do it.
>
> Yours,
>
> Abdur-Rahmaan Janhangeer
> Mauritius
> ___
> 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.python.org/archives/list/python-dev@python.org/message/IBK2T4YR5JARRJOCNHRLI3JN2Z737JXH/
> Code of Conduct: http://python.org/psf/codeofconduct/



-- 
Inada Naoki  
___
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.python.org/archives/list/python-dev@python.org/message/QOSN5633JFMPMY2JGJ3Y5YQHBZ54OLRG/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Windows - rebuilding grammar files

2020-01-14 Thread Abdur-Rahmaan Janhangeer
On Tue, Jan 14, 2020 at 1:26 PM Inada Naoki  wrote:

> His patch is merged already.
> See https://github.com/python/cpython/pull/12654


Thanks, did not know!
___
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.python.org/archives/list/python-dev@python.org/message/WX3RXDXL635KM4JRTKVF6UXOA5OXFZRO/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: Last call for comments on PEP 573 (Module State Access from C Extension Methods)

2020-01-14 Thread Petr Viktorin

On 2020-01-03 14:36, Petr Viktorin wrote:

On 2019-11-25 13:15, Stefan Behnel wrote:

Hi all,

I think that PEP 573 is ready to be accepted, to greatly improve the 
state

of extension modules in CPython 3.9.

https://www.python.org/dev/peps/pep-0573/

It has come a long way since the original proposal and went through 
several

iterations and discussions by various interested people, effectively
reducing its scope quite a bit. So this is the last call for comments on
the latest version of the PEP, before I will pronounce on it. Please keep
the discussion in this thread.


I have received substantial private feedback, and I'll need to make 
another update to:


## Better separate C-API additions:[...]  from CPython implementation details:
## Clarify that ht_module is not inherited
## Specify what "defining class" means more rigorously


The update is here: https://github.com/python/peps/pull/1275

It also includes a more drastic change: it removes the MRO walker from 
the proposal.
Reflecting on the feedback, it became clear to me that a MRO walker, as 
it was described, won't give correct results in all cases: specifically, 
is a slot is overridden by setting a special method from Python code, 
the walker won't be able to find module. Think something like:

c_add = Class.__add__  # where nb_add uses the MRO walker
Class.__add__ = lambda *args: "evil"
c_add(Class(), 0)  # Exception: Defining type has not been found.

This can be solved, but it will need a different design and more 
discussion. I'd rather defer it to the future.
Meanwhile, extension authors can use their own MRO walker if they're OK 
with some surprising edge cases.

___
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.python.org/archives/list/python-dev@python.org/message/PFBAQWQAD3GLDHE6Z7SZ2R6ML57GSN5N/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: About "python-porting" mail list

2020-01-14 Thread Facundo Batista
El dom., 23 de dic. de 2018 a la(s) 14:20, Barry Warsaw
(ba...@python.org) escribió:
>
> On Dec 23, 2018, at 07:29, Facundo Batista  wrote:
> >
> > This list (which I co-admin, with Georg) is getting less and less
> > traffic as months pass by. See:
> >
> >  https://mail.python.org/pipermail/python-porting/
> >
> > The interwebs has been collecting ton of resources about porting py2
> > to 3 during these years. Any not-yet-answered question surely can be
> > done in a list with more participants.
> >
> > Can we kill this list?
>
> Is it a maintenance burden?  If not, then maybe we should wait until 2.7 is 
> EOL’d?  There might be an uptick in traffic as reality sets in for more 
> people.

Hello! Happy new year!

Can we kill this list now? It's barely used, almost no send mails and
no replies...

Thanks,

-- 
.Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org.ar/
Twitter: @facundobatista
___
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.python.org/archives/list/python-dev@python.org/message/MCXHNUQAYIMIXHKISE46PVZA27WCPWGC/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: About "python-porting" mail list

2020-01-14 Thread Barry Warsaw
No objections here either.  CC’ing postmaster.

-Barry

> On Jan 14, 2020, at 07:06, Facundo Batista  wrote:
> 
> El dom., 23 de dic. de 2018 a la(s) 14:20, Barry Warsaw
> (ba...@python.org) escribió:
>> 
>> On Dec 23, 2018, at 07:29, Facundo Batista  wrote:
>>> 
>>> This list (which I co-admin, with Georg) is getting less and less
>>> traffic as months pass by. See:
>>> 
>>> https://mail.python.org/pipermail/python-porting/
>>> 
>>> The interwebs has been collecting ton of resources about porting py2
>>> to 3 during these years. Any not-yet-answered question surely can be
>>> done in a list with more participants.
>>> 
>>> Can we kill this list?
>> 
>> Is it a maintenance burden?  If not, then maybe we should wait until 2.7 is 
>> EOL’d?  There might be an uptick in traffic as reality sets in for more 
>> people.
> 
> Hello! Happy new year!
> 
> Can we kill this list now? It's barely used, almost no send mails and
> no replies...
> 
> Thanks,
> 
> --
> .Facundo
> 
> Blog: http://www.taniquetil.com.ar/plog/
> PyAr: http://www.python.org.ar/
> Twitter: @facundobatista



signature.asc
Description: Message signed with OpenPGP
___
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.python.org/archives/list/python-dev@python.org/message/3FLR2BXNEQFF2ZUKDUVHPMOEGZ57JVRO/
Code of Conduct: http://python.org/psf/codeofconduct/


[Python-Dev] Re: About "python-porting" mail list

2020-01-14 Thread Mark Sapiro
On 1/14/20 10:59 AM, Barry Warsaw wrote:
> No objections here either.  CC’ing postmaster.
> 
> -Barry
> 
>> On Jan 14, 2020, at 07:06, Facundo Batista  wrote:
...
>>
>> Can we kill this list now? It's barely used, almost no send mails and
>> no replies...


The list has been removed. The archives are still available at
.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



signature.asc
Description: OpenPGP digital signature
___
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.python.org/archives/list/python-dev@python.org/message/G7WELJWNYMQAEBEUTNOG4AUHOTOQ5BND/
Code of Conduct: http://python.org/psf/codeofconduct/