[Python-Dev] Do we need port some extension modules to the modules directory?

2020-04-12 Thread Hai Shi
Hi, I notice some modules not in modules directory(for example: _warnings、marshal in python directory). Do we need port those modules to modules directory? Sorry for my noisy info. Bests Wishs, Hai Shi ___ Python-Dev mailing list -- python-dev@pyth

[Python-Dev] Re: Do we need port some extension modules to the modules directory?

2020-04-12 Thread Skip Montanaro
> I notice some modules not in modules directory(for example: > _warnings、marshal in python directory). Do we need port those modules to > modules directory? I strongly suspect the answer is "no." Modules which aren't in the Modules directory are built directly into the Python executable. Us

[Python-Dev] Re: Providing fix for modulefinder.py regression on Windows

2020-04-12 Thread Barry Scott
> On 11 Apr 2020, at 16:28, Barry Scott wrote: > > modulefinder.py does not open source files in "rb" which > prevents compile() from applying the encoding rules. > snip I have created the bpo, the pr and have the checks passing except that I need a NEWS.d entry to make bedevere/news happy. I

[Python-Dev] Re: Providing fix for modulefinder.py regression on Windows

2020-04-12 Thread Eric V. Smith
On 4/12/2020 4:08 PM, Barry Scott wrote: On 11 Apr 2020, at 16:28, Barry Scott > wrote: modulefinder.py does not open source files in "rb" which prevents compile() from applying the encoding rules. snip *I have created the bpo, the pr and have the checks passi

[Python-Dev] Re: Providing fix for modulefinder.py regression on Windows

2020-04-12 Thread Victor Stinner
Barry Scott created https://bugs.python.org/issue40260 and https://github.com/python/cpython/pull/19488. Victor Le dim. 12 avr. 2020 à 22:11, Barry Scott a écrit : > > > On 11 Apr 2020, at 16:28, Barry Scott wrote: > > modulefinder.py does not open source files in "rb" which > prevents compile(