[issue46246] importlib.metadata.DeprecatedList appears to be missing __slots__

2022-03-14 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue47009] Streamline list.append for the common case

2022-03-14 Thread Inada Naoki
Inada Naoki added the comment: Hmm. Would you measure benefit from inlining and skipping incref/decref separately? If benefit of inlining is very small, making _PyList_AppendTakeRef() as regular internal API looks better to me. -- nosy: +methane

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-14 Thread Vedran Čačić
Vedran Čačić added the comment: You mean `type(object).__str__(object)` instead of `type(object).__str__()`, obviously. -- nosy: +veky ___ Python tracker ___ _

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +29963 pull_request: https://github.com/python/cpython/pull/31865 ___ Python tracker ___

[issue35228] Index search in CHM help crashes viewer

2022-03-14 Thread Inada Naoki
Inada Naoki added the comment: I know chm is handy. But Microsoft abandoned it already. I think we should stop providing chm. -- ___ Python tracker ___ ___

[issue47010] Implement zero copy writes in SelectorSocketTransport in asyncio

2022-03-14 Thread Kumar Aditya
New submission from Kumar Aditya : Currently, _SelectorSocketTransport transport creates a copy of the data before sending which in case of large amount of data, can create multiple giga bytes copies of data before sending. Script demonstrating current behavior: -

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29964 pull_request: https://github.com/python/cpython/pull/31866 ___ Python tracker ___ __

[issue47011] Cloned turtle pen is not cleared completely

2022-03-14 Thread Learn Coding
New submission from Learn Coding : When calling clear() method on a cloned turtle, some painted lines still remain on the screen. -- components: Library (Lib) files: testturtle.py messages: 415125 nosy: learncoding priority: normal severity: normal status: open title: Cloned turtle pen

[issue47011] Cloned turtle pen is not cleared completely

2022-03-14 Thread Learn Coding
Learn Coding added the comment: Tested on Windows 10 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue47009] Streamline list.append for the common case

2022-03-14 Thread Dennis Sweeney
Dennis Sweeney added the comment: The attached _PyList_AppendTakeRef.diff has the ceval.c, but this implementation: int _PyList_AppendTakeRef(PyListObject *self, PyObject *newitem) { assert(self != NULL && newitem != NULL); assert(PyList_Check(self)); Py_ssize_t len = PyList_GET_S

[issue43253] asyncio open_connection fails when a socket is explicitly closed

2022-03-14 Thread Maximilian Hils
Maximilian Hils added the comment: asvetlov: Sorry if I articulated myself badly, but I do think this is a valid bug. It's unfortunately hard to provide a better repro (I tried), but we are hitting this regularly when mitmproxy is accepting connections under heavy load. We're just calling `a

[issue47012] Speed up iteration of bytes and bytearray

2022-03-14 Thread Kumar Aditya
New submission from Kumar Aditya : Benchmark and results are attached in the PR. -- messages: 415129 nosy: gvanrossum, kumaraditya303 priority: normal pull_requests: 29965 severity: normal status: open title: Speed up iteration of bytes and bytearray type: performance versions: Python 3

[issue43215] Document Happy Eyeballs arguments of asyncio.open_connection

2022-03-14 Thread Illia Volochii
Change by Illia Volochii : -- pull_requests: +29966 pull_request: https://github.com/python/cpython/pull/31868 ___ Python tracker ___ __

[issue43215] Document Happy Eyeballs arguments of asyncio.open_connection

2022-03-14 Thread Illia Volochii
Change by Illia Volochii : -- pull_requests: +29967 pull_request: https://github.com/python/cpython/pull/31869 ___ Python tracker ___ __

[issue40001] ignore errors in SimpleCookie

2022-03-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya nosy_count: 3.0 -> 4.0 pull_requests: +29968 pull_request: https://github.com/python/cpython/pull/19214 ___ Python tracker ___ __

[issue40001] ignore errors in SimpleCookie

2022-03-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: -29968 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue40001] ignore errors in SimpleCookie

2022-03-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: -BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue46994] Accept explicit contextvars.Context in asyncio create_task() API

2022-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 9523c0d84f351a610dc651b234461eb015fa3b82 by Andrew Svetlov in branch 'main': bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API (GH-31837) https://github.com/python/cpython/commit/9523c0d84f351a610dc651b234461eb015fa3b8

[issue46994] Accept explicit contextvars.Context in asyncio create_task() API

2022-03-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue47010] Implement zero copy writes in SelectorSocketTransport in asyncio

2022-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Known problem, PR is welcome! I expect the fix is not trivial. -- ___ Python tracker ___ ___ Pyth

[issue46843] PersistentTaskGroup API

2022-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think we should close the PR now. I'm open to the discussion resurrection in Python 3.12 or 3.13, when aiotools implementation will be battle-tested. -- ___ Python tracker __

[issue46987] Remove _PySys_GetObjectId / _PySys_GetObjectId

2022-03-14 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset bb1c543f4a183f5cfdf15aad59f59094d50b37fd by Dong-hee Na in branch 'main': bpo-46987: Remove _PySys_GetObjectId / _PySys_GetObjectId (GH-31835) https://github.com/python/cpython/commit/bb1c543f4a183f5cfdf15aad59f59094d50b37fd -- _

[issue46987] Remove _PySys_GetObjectId / _PySys_GetObjectId

2022-03-14 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue43215] Document Happy Eyeballs arguments of asyncio.open_connection

2022-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 649cc9d688f79765cf052429683b708678c26fbd by Illia Volochii in branch '3.9': [3.9] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31868) https://github.com/python/cpython/commit/649cc9d688f79765cf052429683b7086

[issue43215] Document Happy Eyeballs arguments of asyncio.open_connection

2022-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset c6828408342cb1a2f8ba5038adccfbc1a95250cc by Illia Volochii in branch '3.10': [3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31869) https://github.com/python/cpython/commit/c6828408342cb1a2f8ba5038adccfb

[issue46991] Specialize list[slice]

2022-03-14 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +29969 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31870 ___ Python tracker ___

[issue47010] Implement zero copy writes in SelectorSocketTransport in asyncio

2022-03-14 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +29970 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31871 ___ Python tracker ___ ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-03-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset f00ced8396f2d7683e58b9d5ebbf5797992bf477 by Christian Heimes in branch 'main': bpo-40280: select: Use NULL for empty fdset (GH-31865) https://github.com/python/cpython/commit/f00ced8396f2d7683e58b9d5ebbf5797992bf477 -- _

[issue45150] Add a file_digest() function in hashlib

2022-03-14 Thread Aur Saraf
Aur Saraf added the comment: Tarek, Are you still working on this? Would you like me to take over? Aur -- nosy: +Aur.Saraf ___ Python tracker ___ ___

[issue42514] Relocatable framework for macOS

2022-03-14 Thread Shakeeb Alireza
Shakeeb Alireza added the comment: I have struggled with this exact issue in my py-js project (https://github.com/shakfu/py-js) which embeds a python3 interpreter in a max/msp plugin or in a relocatable folder (package) structure. For the latter case, Greg's solution, which is based on stand

[issue45150] Add a file_digest() function in hashlib

2022-03-14 Thread Tarek Ziadé
Tarek Ziadé added the comment: @Aur, go for it, I started to implement it and got lost into the details for each backend.. -- ___ Python tracker ___ __

[issue47011] Cloned turtle pen is not cleared completely

2022-03-14 Thread Learn Coding
Change by Learn Coding : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue18309] Make python slightly more relocatable

2022-03-14 Thread Shakeeb Alireza
Shakeeb Alireza added the comment: I have exactly the same need and use-case as Mathias in my project which includes a requirement to embed python3 in a relocatable folder structure w which serves as an application package (https://github.com/shakfu/py-js). This can be done using the Framewo

[issue45150] Add a file_digest() function in hashlib

2022-03-14 Thread Aur Saraf
Aur Saraf added the comment: OK, I'll give it a go. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue46923] Implement stack overflow protection for supported platforms

2022-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: issue33955 is an older issue about implementing the current functionality for this on macOS, which has an API for querying stack limits. -- nosy: +ronaldoussoren ___ Python tracker

[issue46991] Specialize list[slice]

2022-03-14 Thread Ken Jin
Ken Jin added the comment: Closed for now. See https://github.com/python/cpython/pull/31870#issuecomment-1066884537 for an explanation. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18309] Make python slightly more relocatable

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: In Python 3.11, Modules/getpath.c has been rewritten in Python: Modules/getpath.py. Maybe it's now simpler to hack this file. But you must rebuild Python to take changes in account. -- ___ Python tracker

[issue37907] speed-up PyLong_As*() for large longs

2022-03-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: > So I think `encoding="locale"` should use real locale encoding (ACP on > Windows) regardless UTF-8 mode is enabled or not. If you want to change the default, would it be possible to add a function to get this encoding? --

[issue47000] Make encoding="locale" uses locale encoding even in UTF-8 mode is enabled.

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: There are multiple "locale encodings": * "current" locale encoding: locale.nl_langinfo(locale.CODESET) * "Python" locale encoding: locale.getpreferredencoding(False), ignore the locale in UTF-8 Mode (always return "UTF-8"), ignore the locale on Android and V

[issue18309] Make python slightly more relocatable

2022-03-14 Thread Shakeeb Alireza
Shakeeb Alireza added the comment: Thanks, Victor. I can imagine getpath.py will be more hackable (even if it is frozen). Still, it replicates the old algorithm: # Before any searches are done, the location of the executable is # determined. If Py_SetPath() was called, or if we are running

[issue46843] PersistentTaskGroup API

2022-03-14 Thread Guido van Rossum
Guido van Rossum added the comment: Okay. -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2022-03-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue40735] test_nntplib depends on unreliable external servers

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: It tomorrow a test_nntplib test fails too often, I suggest to simply skip it, since PEP 594 is accepted. Especially tests using external real NNTP servers. -- ___ Python tracker

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 11c25b87aeed162d422bc18530fe9699f311e586 by Victor Stinner in branch 'main': bpo-46906: Mention native endian in PyFloat_Pack8() doc (GH-31866) https://github.com/python/cpython/commit/11c25b87aeed162d422bc18530fe9699f311e586 -- _

[issue46906] Add PyFloat_(Pack|Unpack)(2|4|8) to the public C API

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: msgpack and bitstruct use the newly added functions: my two PRs got merged. msgpack was my main motivation to add these functions :-) Thanks to great reviews, the functions got a new better documentation! I close the issue. Thanks again for reviews! ---

[issue46920] Remove code made dead long ago with #if 0

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset e885ac3d5f2fd83617ab75a098aab269b7a446c3 by Oleg Iarygin in branch 'main': bpo-46920: Remove code that has no explainer why it was disabled (GH-31814) https://github.com/python/cpython/commit/e885ac3d5f2fd83617ab75a098aab269b7a446c3 --

[issue46920] Remove code made dead long ago with #if 0

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset a52f82baf246e2fbbc58fe03ef7a51f3cc9514e1 by Oleg Iarygin in branch 'main': bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (GH-31812) https://github.com/python/cpython/commit/a52f82baf246e2fbbc58fe03ef7a51f3cc951

[issue46920] Remove code made dead long ago with #if 0

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 13b041222399152acb555337572bd1d571734984 by Oleg Iarygin in branch 'main': bpo-46920: Remove code that has explainers why it was disabled (GH-31813) https://github.com/python/cpython/commit/13b041222399152acb555337572bd1d571734984 --

[issue46920] Remove code made dead long ago with #if 0

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: Can this issue be closed? Or is there remaining dead code that you want to remove? -- ___ Python tracker ___ ___

[issue46587] datetime and time tests use non-portable "%4Y" format

2022-03-14 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +29971 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31873 ___ Python tracker ___

[issue47013] 3.10: test_bdb test_distutils fail on s390x Fedora Rawhide Clang Installed 3.10

2022-03-14 Thread STINNER Victor
New submission from STINNER Victor : Since build 298, test_bdb test_distutils fail on s390x Fedora Rawhide Clang Installed 3.10: https://buildbot.python.org/all/#/builders/694/builds/298 2 changes of build 298: * bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)(21 hours ago) * [3.10

[issue47013] 3.10: test_bdb test_distutils fail on s390x Fedora Rawhide Clang Installed 3.10

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: Reproduce: $ ./configure --prefix /opt/py310 && make clean && make && make install $ cd /somewhere/else/ $ /opt/py310/bin/python3 -m test -v test_bdb ... FAIL: test_skip (test.test_bdb.StateTestCase) ... $ /opt/py310/bin/python3 -m test -v test_distutils ...

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: This update broke the "s390x Fedora Rawhide Clang Installed 3.10" buildbot: bpo-47013. -- nosy: +vstinner ___ Python tracker ___ ___

[issue47013] 3.10: test_bdb test_distutils fail on s390x Fedora Rawhide Clang Installed 3.10

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: See: [BUG] Having setuptools installed causes cpython stdlib build to fail https://github.com/pypa/setuptools/issues/3007 -- ___ Python tracker _

[issue47013] test_bdb and test_distutils fail on installed Python 3.9 and 3.10 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: x86 Gentoo Installed with X 3.9: https://buildbot.python.org/all/#builders/527/builds/474 4 tests failed: test_bdb test_distutils test_importlib test_peg_generator Python 3.9 gets two more issues: test_importlib and test_peg_generator. ==

[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: AMD64 Fedora Stable Clang Installed 3.x: https://buildbot.python.org/all/#builders/350/builds/1621 2 re-run tests: test_bdb test_distutils -- title: test_bdb and test_distutils fail on installed Python 3.9 and 3.10 (setuptools 60.9.3, pip 22.0.4)

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: > This update broke the "s390x Fedora Rawhide Clang Installed 3.10" buildbot: > bpo-47013. test_bdb and test_distutils fail on 3.9, 3.10 and main branches when run on an installed Python. I didn't check Python 3.7. -- __

[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: > $ ./configure --prefix /opt/py310 && make clean && make && make install > $ cd /somewhere/else/ > $ /opt/py310/bin/python3 -m test -v test_bdb I also reproduce test_bdb and test_distutils failures on the main branch. -- ___

[issue45786] Avoid allocating when exiting frame; it may be unsafe.

2022-03-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 2.0 -> 3.0 pull_requests: +29972 pull_request: https://github.com/python/cpython/pull/31874 ___ Python tracker ___ ___

[issue46920] Remove code made dead long ago with #if 0

2022-03-14 Thread Oleg Iarygin
Change by Oleg Iarygin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31415] Add -X option to show import time

2022-03-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29973 pull_request: https://github.com/python/cpython/pull/31875 ___ Python tracker ___ __

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > If it's already turning into a rewrite, how feasible would it be to adopt > Brett's `py` launcher? I looked at it already, and I'd have to write literally the same code to implement what's needed :) (as well as learning Rust and convincing everyone to let us

[issue46920] Remove code made dead long ago with #if 0

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: Thanks Oleg Iarygin for the cleanup! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-14 Thread Steve Dower
Steve Dower added the comment: >> Why can't the filename of the "foo"-like file in the test be >> simply os_helper.TESTFN, as done in some other tests? > > I suppose the current working directory will be fine. I was looking to keep > the test on a NTFS filesystem, with known behavior, but the

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Paul Moore
Paul Moore added the comment: > as well as potentially being able to be a script or .pyz launcher with a > simple rename. Would it be possible to also make the launcher work when prepended to a zipfile? That's a really useful use-case (make a zipapp automatically runnable, but still a singl

[issue47014] ProactorEventLoop ignores Ctrl+C after closing unrelated loop

2022-03-14 Thread Maximilian Hils
New submission from Maximilian Hils : When a (second) ProactorEventLoop is garbage-collected, the current ProactorEventLoop starts to ignore Ctrl+C on Windows until it is woken up. The attached repro shows a minimal example. Uncommenting the `create_task` call or not using a second event loop

[issue31415] Add -X option to show import time

2022-03-14 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 29624e769c5c3c1e59c6acc8b69383ead53e8a9f by Victor Stinner in branch 'main': bpo-31415: importtime was made by Inada Naoki (GH-31875) https://github.com/python/cpython/commit/29624e769c5c3c1e59c6acc8b69383ead53e8a9f -- _

[issue47001] deadlock in ctypes?

2022-03-14 Thread Rocco Matano
Rocco Matano added the comment: I forgot to say thank you. I would like to make up for that: Thank you, Eryk. -- ___ Python tracker ___ ___

[issue18309] Make python slightly more relocatable

2022-03-14 Thread Mathias Fröhlich
Mathias Fröhlich added the comment: Hey, Shakeeb Alireza is right, the original problem was an application that links and embeds against libpython*{so,dll,dynlib} and should more easily find components like /*/lib*/python*.*/site.py and most probably now it needs to find getpath.py as well.

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: I'd like to, the main challenge with that is it'd invalidate the code signature on the file, which will make it basically unusable (at the very least, you'll get warnings). A simple rename does not. But yeah, it can probably go in. Hopefully my restructure will

[issue46950] Windows 11, VENV not working with case sensitive windows paths

2022-03-14 Thread Darrel O'Pry
Darrel O'Pry added the comment: I've done some additional troubleshooting today. I have case sensitivity enabled in my git checkouts where I am creating the virtual env. I do this for a more consistent cross-platform experience for managing code with team members also using linux and macos.

[issue46890] getpath problems with framework build

2022-03-14 Thread Steve Dower
Steve Dower added the comment: The sys module gets initialised in _PySys_UpdateConfig() in Python/sysmodule.c. It gets called later in pylifecycle.c. But it ought to just copy directly from the config. However, it's the site.py module that actually updates sys.prefix for the venv. So you ma

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-14 Thread Eryk Sun
Eryk Sun added the comment: I was following the pattern of StatAttributeTests.test_access_denied(), which uses the current user's temp directory to get a filesystem that supports security. It would probably be better to skip tests if the filesystem of the current working directory doesn't

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > It would probably be better to skip tests if the filesystem of the current > working directory doesn't support the test, Yes, this would be good. Then whoever is configuring the test runner can move where tests are run to make sure it is supported. There are

[issue47008] Add Lib/site-packages to .gitignore

2022-03-14 Thread Dennis Sweeney
Change by Dennis Sweeney : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Brett Cannon
Brett Cannon added the comment: "Practically nothing can be reused - there's no registry, no shebang handling, and our process launching on Windows is already very complex (and has to remain that way for compatibility)." I do process the shebang to restrict searching, or did you mean somethi

[issue30677] [doc] mention that os.mkdir() raises FileNotFound if path does not exist

2022-03-14 Thread Irit Katriel
Irit Katriel added the comment: New changeset 879fbd9472753149b627f32add3ddca90ac47ab7 by slateny in branch 'main': bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) https://github.com/python/cpython/commit/879fbd9472753149b627f32add3ddca90ac47ab7 -- no

[issue30677] [doc] mention that os.mkdir() raises FileNotFound if path does not exist

2022-03-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +29974 pull_request: https://github.com/python/cpython/pull/31877 ___ Python tracker _

[issue30677] [doc] mention that os.mkdir() raises FileNotFound if path does not exist

2022-03-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +29975 pull_request: https://github.com/python/cpython/pull/31878 ___ Python tracker ___ __

[issue47013] test_bdb and test_distutils fail on installed Python 3.9, 3.10 and 3.11 (setuptools 60.9.3, pip 22.0.4)

2022-03-14 Thread Ned Deily
Ned Deily added the comment: (The buildbot failures were triggered by yesterday's merges for Issue46986 which updated the bundled setuptools in ensurepip. I'm reverting those merges now to unblock planned releases.) -- nosy: +jaraco, ned.deily versions: +Python 3.7, Python 3.8 _

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > I do process the shebang to restrict searching, or did you mean something > else? That's what I meant. Guess I missed seeing it when scanning the code (probably I should've read the docs :D ) > And registry support [is > planned](https://github.com/brettcan

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Ned Deily added the comment: My apologies for not testing running the test suite with installed Pythons as I usually do and thanks, Victor, for noting the buildbot failures. I'm reverting these setuptools updates to avoid blocking releases. We can track the issue with setuptools in bpo-47013

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29976 pull_request: https://github.com/python/cpython/pull/31879 ___ Python tracker ___ ___

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-14 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've had the same issue and fixed it with: brew remove --ignore-dependencies gettext @Ned thanks for help! -- nosy: +andrei.avk ___ Python tracker __

[issue46975] clang: error: linker command failed with exit code 1 (use -v to see invocation) on m1 mac

2022-03-14 Thread Ned Deily
Change by Ned Deily : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Ned Deily added the comment: New changeset 19f69993ae97db0bbea3b845a33b060b73b658b3 by Ned Deily in branch 'main': Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31879) https://github.com/python/cpython/commit/19f69993ae97db0bbea3b845a33b060b73b658b3 -- ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29977 pull_request: https://github.com/python/cpython/pull/31880 ___ Python tracker ___ ___

[issue47015] Update tests from asyncore to asyncio

2022-03-14 Thread Oleg Iarygin
New submission from Oleg Iarygin : PEP 594 – Removing dead batteries from the standard library [1] removes asyncore and asynchat in 3.12 with the following note: > The asyncore module is also used in stdlib tests. The tests for ftplib, > logging, smptd, smtplib, and ssl are partly based on asy

[issue47015] Update tests from asyncore to asyncio

2022-03-14 Thread Oleg Iarygin
Change by Oleg Iarygin : -- keywords: +patch pull_requests: +29978 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31876 ___ Python tracker ___ ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29979 pull_request: https://github.com/python/cpython/pull/31881 ___ Python tracker ___ ___

[issue30677] [doc] mention that os.mkdir() raises FileNotFound if path does not exist

2022-03-14 Thread miss-islington
miss-islington added the comment: New changeset efa72501599029d9ac3f8a2e5ce900302c7d8f56 by Miss Islington (bot) in branch '3.10': [3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) (GH-31877) https://github.com/python/cpython/commit/efa72501599029d9ac3f8a

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +29980 pull_request: https://github.com/python/cpython/pull/31882 ___ Python tracker ___ ___

[issue30677] [doc] mention that os.mkdir() raises FileNotFound if path does not exist

2022-03-14 Thread miss-islington
miss-islington added the comment: New changeset b4fd91b4d931dd97ceaf76750d227dd042c236f8 by Miss Islington (bot) in branch '3.9': [3.9] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) (GH-31878) https://github.com/python/cpython/commit/b4fd91b4d931dd97ceaf7675

[issue30677] [doc] mention that os.mkdir() raises FileNotFound if path does not exist

2022-03-14 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Ned Deily added the comment: New changeset 80cc10fa7d5f41daaf59ae9173022303f35a403c by Ned Deily in branch '3.7': Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31882) https://github.com/python/cpython/commit/80cc10fa7d5f41daaf59ae9173022303f35a403c --

[issue31415] Add -X option to show import time

2022-03-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 12.0 -> 13.0 pull_requests: +29981 pull_request: https://github.com/python/cpython/pull/31883 ___ Python tracker ___

[issue31415] Add -X option to show import time

2022-03-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +29982 pull_request: https://github.com/python/cpython/pull/31884 ___ Python tracker ___ __

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Ned Deily added the comment: New changeset 0cfcc0cbee4a0d48c412169f46b7199728fb298a by Ned Deily in branch '3.10': Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31880) https://github.com/python/cpython/commit/0cfcc0cbee4a0d48c412169f46b7199728fb298a -- ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Ned Deily added the comment: New changeset 1b1239205d1b7ace1b054477c14fe77d54f471c4 by Ned Deily in branch '3.9': Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31881) https://github.com/python/cpython/commit/1b1239205d1b7ace1b054477c14fe77d54f471c4 --

  1   2   >