[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 ___

[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

[issue43582] SSLContext.sni_callback docs inaccurately describe available handshake info

2022-03-14 Thread Paulo Costa
Paulo Costa added the comment: Hello! Has this been addressed? I'm also working on implementing acme-tls/1 protocol and having exactly the same difficulties -- nosy: +paulo-raca ___ Python tracker

[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 ___

[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 ___

[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 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)

[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)

[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

[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 ___

[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

[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)

[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 ___ ___

[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

[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 --

[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:

[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:

[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:

[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

[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 =

[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 ___

[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 ___

[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

[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:

[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

[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 ___

[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:

[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

[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:

[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

[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

[issue46843] PersistentTaskGroup API

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

[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 ___

[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

[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:

[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!

[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

[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 ___

[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 --

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

2022-03-14 Thread Darrel O'Pry
Darrel O'Pry added the comment: renaming Lib to lib seems to also resolve the problem... -- ___ Python tracker ___ ___

[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 --

[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
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 --

[issue42863] Python venv inconsistent folder structure on windows

2022-03-14 Thread Darrel O'Pry
Darrel O'Pry added the comment: steve, I would be willing to champion this change. The process seems pretty straightforward. Create a release that creates the consistent layout on windows, symlinks the legacy paths, and adds some deprecation warnings. Then in a later release remove the

[issue42863] Python venv inconsistent folder structure on windows

2022-03-14 Thread Steve Dower
Steve Dower added the comment: Considering you've just been encountering issues with mismatched case, you're likely aware of how much harder that will make it to fix. First you'll need a proposal on how to ensure deprecation warnings reach those who need them. I'd suggest for

[issue47017] frozen modules are on by default in dev build

2022-03-14 Thread Guido van Rossum
New submission from Guido van Rossum : At least on Windows and macOS, this repro shows that frozen modules are on in a dev build: Mac: ~/cpython$ ./python.exe -c 'import os; print(os._exists.__code__)' ", line 41> ~/cpython$ ./python.exe -Xfrozen_modules=off -c 'import os;

[issue47017] frozen modules are on by default in dev build

2022-03-14 Thread Guido van Rossum
Change by Guido van Rossum : -- type: -> behavior versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 --

[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.

[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

[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)

[issue31415] Add -X option to show import time

2022-03-14 Thread miss-islington
miss-islington added the comment: New changeset 73943ce7d31595d152dc01bf0008b37c802c0d3b by Miss Islington (bot) in branch '3.9': bpo-31415: importtime was made by Inada Naoki (GH-31875) https://github.com/python/cpython/commit/73943ce7d31595d152dc01bf0008b37c802c0d3b --

[issue45336] xml.etree.ElementTree.write does not support `standalone` option

2022-03-14 Thread Eric Vergnaud
Eric Vergnaud added the comment: Actually there are 2 distinct issues here: - ValueError: cannot use non-qualified names with default_namespace option - lack of 'standalone' option when writing XML PI -- ___ 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

[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

[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 ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread STINNER Victor
STINNER Victor added the comment: Ned Deily: > My apologies for not testing running the test suite with installed Pythons as > I usually do and thanks, Victor, for noting the buildbot failures. Well, the change didn't land into a Python release. Right now, the test suite is only run on an

[issue47016] Create a test verifying bundled pip and setuptools wheels

2022-03-14 Thread Illia Volochii
New submission from Illia Volochii : Bundled pip and setuptools wheels have to be verified manually at the moment when they are upgraded. We can automate this by comparing their checksums to ones provided by Warehouse’s JSON API (e.g., https://pypi.org/pypi/pip/json.) Since such a check

[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.

[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

[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 ___

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

2022-03-14 Thread Steve Dower
Steve Dower added the comment: As a quick (wild) guess, is it expecting the "Lib" directory to be lowercase "lib"? Could you try renaming that directory in your venv and see if it changes anything? -- ___ Python tracker

[issue47016] Create a test verifying bundled pip and setuptools wheels

2022-03-14 Thread Illia Volochii
Change by Illia Volochii : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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 Ned Deily
Change by Ned Deily : -- resolution: -> third party stage: -> 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 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 --

[issue47016] Create a test verifying bundled pip and setuptools wheels

2022-03-14 Thread Illia Volochii
Change by Illia Volochii : -- keywords: +patch pull_requests: +29983 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31885 ___ Python tracker ___

[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 ___

[issue46986] Upgrade ensurepip bundled setuptools to 60.9.3

2022-03-14 Thread Ned Deily
Change by Ned Deily : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue31415] Add -X option to show import time

2022-03-14 Thread miss-islington
miss-islington added the comment: New changeset 9f1587e8d3f18729a0982774c6c4409472cbd9e3 by Miss Islington (bot) in branch '3.10': bpo-31415: importtime was made by Inada Naoki (GH-31875) https://github.com/python/cpython/commit/9f1587e8d3f18729a0982774c6c4409472cbd9e3 --

[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 ___

[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

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

2022-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ctrl-C handling is added by #23057 It uses signal.set_wakeup_fd() https://github.com/asvetlov/cpython/blob/main/Lib/asyncio/proactor_events.py#L631-L634 So, the last event loop steals Ctrl+C handling. Not sure if we can improve it. Running two concurrent

[issue45336] xml.etree.ElementTree.write does not support `standalone` option

2022-03-14 Thread Eric Vergnaud
Eric Vergnaud added the comment: lxml tostring does not support the default_namespace value so not an option -- ___ Python tracker ___

[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

[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

[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

[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 ___

[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 --

[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

[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 >

[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)

[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 ___ ___

[issue45336] xml.etree.ElementTree.write does not support `standalone` option

2022-03-14 Thread Eric Vergnaud
Eric Vergnaud added the comment: This is not a feature request, it's a bug fix request, so should be fixed asap. Why is it a bug ? XML spec says that "the default namespace does not apply to attribute names" (see section 6.3), therefore having a simple attribute name when using a default

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

2022-03-14 Thread Steve Dower
Steve Dower added the comment: Okay, so that means there's some code somewhere that has a lowercase "lib". If you change it back to "Lib", can you do "python -m pip"? If that works, but a direct "pip" does not, it'll be an issue in pip (or a dependency), as those executables are generated

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

2022-03-14 Thread miss-islington
miss-islington added the comment: New changeset f1a5e1b89a526da0d66c5b368c924298291abb1a by Miss Islington (bot) in branch '3.9': bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046) https://github.com/python/cpython/commit/f1a5e1b89a526da0d66c5b368c924298291abb1a

[issue47020] float('nan')==math.nan does NOT evaluate to True (as suggested by documentation).

2022-03-14 Thread Pablo Dumas
New submission from Pablo Dumas : float('nan')==math.nan does NOT evaluate to True (as suggested by documentation). On the other hand, float('inf')==math.inf DOES evaluate to True (as suggested by documentation). Documentation we're referring to:

[issue35844] Calling `Multiprocessing.Queue.close()` too quickly causes intermittent failure (BrokenPipeError)

2022-03-14 Thread Géry
Change by Géry : -- nosy: +maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43721] Documentation of property.{getter, setter, deleter} fails to mention that a *new* property is returned

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

[issue47021] Add separate match and case doc to pydoc

2022-03-14 Thread Duck
New submission from Duck : Currently pydoc (and therefore things like the interactive help prompt) do not have documentation for the soft-keywords "match" and "case". ``` help> match No Python documentation found for 'match'. Use help() to get the interactive help utility. Use help(str) for

  1   2   >