[issue47199] multiprocessing: micro-optimize Connection.send_bytes() method

2022-04-02 Thread Ma Lin
New submission from Ma Lin : `bytes(m)` can be replaced by memoryview.cast('B'), then no need for data copying. m = memoryview(buf) # HACK for byte-indexing of non-bytewise buffers (e.g. array.array) if m.itemsize > 1: m = memoryview(bytes(m)) n =

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

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 59be9cd748728b03ac61287681c3010bcec5e558 by Christian Heimes in branch 'main': bpo-40280: Detect if WASM platform supports threading (GH-32243) https://github.com/python/cpython/commit/59be9cd748728b03ac61287681c3010bcec5e558 --

[issue47199] multiprocessing: micro-optimize Connection.send_bytes() method

2022-04-02 Thread Ma Lin
Change by Ma Lin : -- keywords: +patch pull_requests: +30318 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32247 ___ Python tracker ___

[issue47152] Reorganize the re module sources

2022-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1be3260a90f16aae334d993aecf7b70426f98013 by Serhiy Storchaka in branch 'main': bpo-47152: Convert the re module into a package (GH-32177) https://github.com/python/cpython/commit/1be3260a90f16aae334d993aecf7b70426f98013 --

[issue47147] Allow `return yield from`

2022-04-02 Thread Patrick Reader
Patrick Reader added the comment: As the one who wrote the code, I can guarantee you that the StopIteration value is not always None. But I understand your point that for most other users it is always None, and therefore having special syntax might be misleading. --

[issue47196] Function pointer cast in test_imp

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 7000cd70164707e28ba045b5c036ca7ed73f5dc4 by Hood Chatham in branch 'main': bpo-47196: Fix function pointer cast in test_imp (GH-32244) https://github.com/python/cpython/commit/7000cd70164707e28ba045b5c036ca7ed73f5dc4 -- nosy:

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

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4ed8a9a589d2eee7442e0c9417515a707e504faa by Christian Heimes in branch 'main': bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238) https://github.com/python/cpython/commit/4ed8a9a589d2eee7442e0c9417515a707e504faa --

[issue47143] Add types.copy_class() which updates closures

2022-04-02 Thread Lumír Balhar
Lumír Balhar added the comment: Do you think it's a good idea to start a PR with a copy of the implementation from attrs for Python 3.11? We can then add tests for the new function and also some for dataclasses where this new function is needed and try to find all corner cases. --

[issue47195] importlib lock race issue in deadlock handling code

2022-04-02 Thread Richard Purdie
Richard Purdie added the comment: This is a production backtrace after I inserted code to traceback if tid was already in _blocking_on. It is being triggered by a warning about an unclosed asyncio event loop and confirms my theory about nested imports, in the production case I'd guess being

[issue47193] Use zlib-ng rather than zlib in binary releases

2022-04-02 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27817] tkinter string variable misinterpreted as boolean

2022-04-02 Thread Irit Katriel
Change by Irit Katriel : -- stage: test needed -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 16a809ffb7af14898ce9ec8165960d96cbcd4ec3 by Miss Islington (bot) in branch '3.10': bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)

[issue47152] Reorganize the re module sources

2022-04-02 Thread Anthony Sottile
Anthony Sottile added the comment: would it be possible to expose `parse_template` -- or at least some way to validate that a regex replacement string is correct prior to executing the replacement? I'm currently using that for my text editor:

[issue47202] Feature request: Throw an error when making impossible evaluation against an empty list

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This sort of thing would be better caught by a linter or type checker. For example, mypy with the `--warn-unreachable` option will flag the `while None:` example. Iterating over an empty list will not currently be caught by mypy, but it's common in real

[issue47152] Reorganize the re module sources

2022-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Is the "import _locale" still used in re/__init__.py? It cannot see any > reference to it in the code and test_re still if it's removed. It is true. > *Maybe* it's time to consider that re.template() and re.Scanner are no longer > experimental? Maybe

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: Could you please open a distro bug with Ubuntu and report the issue? We require a pkg-config file for TCL/TK. -- ___ Python tracker ___

[issue26023] Missing signatures operator module

2022-04-02 Thread Irit Katriel
Irit Katriel added the comment: I think this was fixed by now, this is an excerpt from help(operator): lshift(a, b, /) Same as a << b. lt(a, b, /) Same as a < b. matmul(a, b, /) Same as a @ b. mod(a, b, /) Same as a % b. mul(a, b, /)

[issue47147] Allow `return yield from`

2022-04-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I concur with Terry. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___

[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-02 Thread StaticBits
New submission from StaticBits : When I try importing the default library "binascii" using the command "import binascii", the result is the following error (also in the title): ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application. I've reinstalled

[issue47152] Reorganize the re module sources

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: It's funny to still see mentions of "experimental stuff" in Python 3.11 (2022), whereas these "experimental stuff" are there for 20 years. *Maybe* it's time to consider that re.template() and re.Scanner are no longer experimental? Maybe change their status

[issue47152] Reorganize the re module sources

2022-04-02 Thread Ma Lin
Ma Lin added the comment: In `Modules` folder, there are _sre.c/sre.h/sre_constants.h/sre_lib.h files. Will them be put into a folder? -- ___ Python tracker ___

[issue22738] improve 'python -h' documentation for '-c'

2022-04-02 Thread Irit Katriel
Irit Katriel added the comment: Closing as the discussion stalled about 7 years ago and was then leaning towards rejecting the suggestion. -- nosy: +iritkatriel resolution: -> rejected stage: needs patch -> resolved status: open -> closed ___

[issue47201] pip3.10.4 is configured with locations that require TLS/SSL, however the ssl module in Python is not available

2022-04-02 Thread Alessandro Pioli
New submission from Alessandro Pioli : After installation of 3.4.10 with openssl procedure https://docs.python.org/3/using/unix.html#on-linux on centos 7.9 pip get this error: pip3.10 install -r requirements.txt WARNING: pip is configured with locations that require TLS/SSL, however the ssl

[issue47202] Feature request: Throw an error when making impossible evaluation against an empty list

2022-04-02 Thread Luminair
New submission from Luminair : Below are four examples of impossible code that operates on nothing. The latter two continue silently, throwing no errors. I saw a bug sneak by because of this. I wonder if it is within the scope of Python's design to throw Exceptions in these situations? x =

[issue37387] test_compileall fails randomly on Windows when tests are run in parallel

2022-04-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: bpo-47089 is a duplicate of this issue and is fixed. This issue should be closed as well. -- ___ Python tracker ___

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

2022-04-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30324 pull_request: https://github.com/python/cpython/pull/32253 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Anthony Sottile
Anthony Sottile added the comment: this appears to break the tkinter extension for ubuntu bionic (18.04) -- I'm not entirely sure on the correct fix here but I get the following from trying to build there: 2022-04-02T15:52:08.0910452Z Python build finished successfully!

[issue47152] Reorganize the re module sources

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: $ ls Lib/re/ _compiler.py _constants.py __init__.py _parser.py Thanks, that's a nice enhancement! Serhiy: Would you mind to explicitly document the 3 deprecated modules in What's New in Python 3.11?

[issue47143] Add types.copy_class() which updates closures

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: Lumír Balhar: > Do you think it's a good idea to start a PR with a copy of the implementation > from attrs for Python 3.11? We can then add tests for the new function and > also some for dataclasses where this new function is needed and try to find > all

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 0f0f85e9d8088eb789cda35477900df32adff546 by Miss Islington (bot) in branch '3.9': bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)

[issue47200] Add ZipInfo.mode property

2022-04-02 Thread Sam Ezeh
Change by Sam Ezeh : -- pull_requests: +30323 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32252 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Anthony Sottile
Anthony Sottile added the comment: the `tk-dev` package on ubuntu bionic does not ship with a `pkg-config` file for tk so it does not build properly there: ``` root@f0dd06a3e87c:/cpython# dpkg -L tk8.6-dev | grep pc root@f0dd06a3e87c:/cpython# ``` (a note: bionic reaches end of life in

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: Please attach your config.log file. Did configure tell you that you are missing pkg-config? -- ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: As I said already, we require a pkg-config file for TCL/TK detection. It turned out to be too painful and too complicated to implement manual TCL/TK detection in configure.ac. Erlend and I tried and eventually gave up. If your platform does not provide

[issue47200] Add ZipInfo.mode property

2022-04-02 Thread Sam Ezeh
New submission from Sam Ezeh : Initially, I was looking at bpo-18262 and saw the following Stack Overflow thread that was linked. https://stackoverflow.com/questions/434641/how-do-i-set-permissions-attributes-on-a-file-in-a-zip-file-using-pythons-zip/6297838 I've attached a patch that gives

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread Steve Dower
Steve Dower added the comment: New changeset 6066739ff7794e54c98c08b953a699cbc961cd28 by Zachary Ware in branch 'main': bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241) https://github.com/python/cpython/commit/6066739ff7794e54c98c08b953a699cbc961cd28

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +30319 pull_request: https://github.com/python/cpython/pull/32248 ___ Python tracker

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30320 pull_request: https://github.com/python/cpython/pull/32249 ___ Python tracker ___

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30321 pull_request: https://github.com/python/cpython/pull/32250 ___ Python tracker ___

[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30322 pull_request: https://github.com/python/cpython/pull/32251 ___ Python tracker ___

[issue47202] Feature request: Throw an error when making impossible evaluation against an empty list

2022-04-02 Thread Luminair
Luminair added the comment: Thank you for the quick response Jelle! I do like mypy, and I will file this with them. Good luck with the migration to GitHub :) -- ___ Python tracker

[issue47202] Feature request: Throw an error when making impossible evaluation against an empty list

2022-04-02 Thread Eric V. Smith
Eric V. Smith added the comment: As Jelle says, this can't be a runtime Exception. At best mypy or a linter could make iterating over an known empty list (like a literal []) a warning, not an error as suggested by the OP. I sometimes "comment out" loops by doing something like: for i in

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Anthony Sottile
Anthony Sottile added the comment: I could, but it's very unlikely to get fixed given I believe 18.04 is in security-only fixes and backporting a pkg-config file seems unlikely this worked two days ago before this patch -- ___ Python tracker

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2022-04-02 Thread Łukasz Langa
Łukasz Langa added the comment: Marek, I can merge a fix for 3.9 for this. I don't think we should be removing _markupbase.ParserBase.error() in 3.9 as GH-8562 is doing. So we'd need a new patch, like GH-17643. However, that will need a test as well. Would you be interested in creating the

[issue47152] Reorganize the re module sources

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: Is the "import _locale" still used in re/__init__.py? It cannot see any reference to it in the code and test_re still if it's removed. The last reference to the _locale module has been removed in 2017 by the commit 898ff03e1e7925ecde3da66327d3cdc7e07625ba.

[issue47192] sys._getframe audit event has frame as argument in 3.8-3.10

2022-04-02 Thread Steve Dower
Steve Dower added the comment: This should be fixed in the docs and also in 3.11. Now that we've shipped releases that include the frame, we should keep doing it. If it's impossible to get a frame object in 3.11 (because it would deoptimize all the work that's been done there), it should

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: Encoding declaration: doc supported encodings -> [doc] Encoding declaration: doc supported encodings versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6

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

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: pmp-p wrote on GH-32253: when using --enable-wasm-dynamic-linking i think --enable-shared should set -fPIC and -s SIDE_MODULE=1 for libpython.so I have not tried --enable-shared with Emscripten yet. So far I have assumed that the result is a fat Python

[issue41395] pickle and pickletools cli interface doesn't close input and output file.

2022-04-02 Thread Adam
Change by Adam : -- nosy: +achhina nosy_count: 7.0 -> 8.0 pull_requests: +30326 pull_request: https://github.com/python/cpython/pull/32257 ___ Python tracker ___

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2022-04-02 Thread Marek Suscak
Marek Suscak added the comment: Alright, the PR is up. This is my first contribution to Python and I had to sign the Contributor Agreement so it may take 1 business day before you're able to accept it. In the meantime, can you please review and let me know if anything needs to change? I

[issue46315] Add support for WebAssembly System Interface (wasm32-wasi)

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 3df0e63aabef905b72fad78256f24b9270c63172 by Christian Heimes in branch 'main': bpo-46315: Use fopencookie only on Emscripten 3.x and newer (GH-32266) https://github.com/python/cpython/commit/3df0e63aabef905b72fad78256f24b9270c63172

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Anthony: you should be able to build the _tkinter by manually specifying the compiler and linker flags using the `TCLTK_CFLAGS` and `TCLTK_LIBS` environment variables. AFAICS, the flags provided by pkgconfig in Ubuntu 20.04 should work well in 18.04

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 694425817ba2b3a796acb3413a7111f6de4bd086 by Miss Islington (bot) in branch '3.9': bpo-45584: Clarify `math.trunc` documentation (GH-29183) https://github.com/python/cpython/commit/694425817ba2b3a796acb3413a7111f6de4bd086 --

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +30337 pull_request: https://github.com/python/cpython/pull/32274 ___ Python tracker ___

[issue45410] python -m test -jN: write stderr in stdout to get messages in order

2022-04-02 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27376] Add mock_import method to mock module

2022-04-02 Thread Irit Katriel
Irit Katriel added the comment: Closing as that's where the discussion of 2016 was leaning. Please raise this on python-ideas if you would like to bring it up again. -- nosy: +iritkatriel resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: PS: Check out ./configure --help -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +30333 pull_request: https://github.com/python/cpython/pull/32267 ___ Python tracker

[issue45114] bad example for os.stat

2022-04-02 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47200] Add ZipInfo.mode property

2022-04-02 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman, twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47200] Add ZipInfo.mode property

2022-04-02 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +alanmcintyre, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4833] Explicit directories for zipfiles

2022-04-02 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +alanmcintyre, twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37387] test_compileall fails randomly on Windows when tests are run in parallel

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate of bpo-47089. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Avoid sporadic failure of test_compileall on Windows ___ Python tracker

[issue47089] Avoid sporadic failure of test_compileall on Windows

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: bpo-37387 was closed as a duplicate of this issue. -- ___ Python tracker ___ ___

[issue45099] asyncio.Task's documentation says that loop arg is removed when it's not

2022-04-02 Thread Jakub Kuczys
Jakub Kuczys added the comment: I'm not sure why this issue was mentioned in GH-32166 since it doesn't really address this but regardless, it appears that my issue has been fixed in PR-31388 and PR-31403 when Serhiy fixed the issue from bpo-46777 so thanks :) --

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +30338 pull_request: https://github.com/python/cpython/pull/32275 ___ Python tracker

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30339 pull_request: https://github.com/python/cpython/pull/32276 ___ Python tracker ___

[issue18624] Add alias for iso-8859-8-i which is the same as iso-8859-8

2022-04-02 Thread David Goncalves
Change by David Goncalves : -- nosy: +dpg nosy_count: 8.0 -> 9.0 pull_requests: +30340 pull_request: https://github.com/python/cpython/pull/32279 ___ Python tracker ___

[issue43557] Deprecate getlocale() and normalize() functions

2022-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: Deprecate getdefaultlocale(), getlocale() and normalize() functions -> Deprecate getlocale() and normalize() functions ___ Python tracker

[issue47196] Function pointer cast in test_imp

2022-04-02 Thread Hood Chatham
Change by Hood Chatham : -- pull_requests: +30341 pull_request: https://github.com/python/cpython/pull/32280 ___ Python tracker ___

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 182e93c3f57b0c72e765c9896066d32e461c0865 by Charlie Zhao in branch 'main': bpo-47031: Improve documentation for `math.nan` (GH-32170) https://github.com/python/cpython/commit/182e93c3f57b0c72e765c9896066d32e461c0865 -- nosy:

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 5b80031fb0d2ea14f0d42a33309ce5464c4a6042 by Miss Islington (bot) in branch '3.9': bpo-47031: Improve documentation for `math.nan` (GH-32170) https://github.com/python/cpython/commit/5b80031fb0d2ea14f0d42a33309ce5464c4a6042 --

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

2022-04-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30331 pull_request: https://github.com/python/cpython/pull/32266 ___ Python tracker ___

[issue46315] Add support for WebAssembly System Interface (wasm32-wasi)

2022-04-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30332 pull_request: https://github.com/python/cpython/pull/32266 ___ Python tracker ___

[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset dc9322a91d48c80afe8329bb509673a2f74fb925 by Miss Islington (bot) in branch '3.9': bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) https://github.com/python/cpython/commit/dc9322a91d48c80afe8329bb509673a2f74fb925

[issue47152] Reorganize the re module sources

2022-04-02 Thread STINNER Victor
STINNER Victor added the comment: The re.template() function and the re.TEMPLATE functions are not documented and not tested. The re.Scanner class is not documented but has a test_scanner() test in test_re. -- ___ Python tracker

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset ebbdbbff5d6840807e46ec61b8a323e94ee88de2 by Arthur Milchior in branch 'main': bpo-45584: Clarify `math.trunc` documentation (GH-29183) https://github.com/python/cpython/commit/ebbdbbff5d6840807e46ec61b8a323e94ee88de2 -- nosy:

[issue45584] Clarifying truncating in documentation

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +30335 pull_request: https://github.com/python/cpython/pull/32272 ___ Python tracker

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 01be5d6446abbdd95d0c18bd19a58a62b05568d8 by Terry Jan Reedy in branch 'main': bpo-24563: Link encoding names to encoding declarations (GH-32274) https://github.com/python/cpython/commit/01be5d6446abbdd95d0c18bd19a58a62b05568d8 --

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset ce6af314ca8529d5ed0f307deb9c33029a69f4cb by Miss Islington (bot) in branch '3.10': bpo-24563: Link encoding names to encoding declarations (GH-32274) https://github.com/python/cpython/commit/ce6af314ca8529d5ed0f307deb9c33029a69f4cb --

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset f4e280d8c5461fa5e928fa07f6cd1779a4ac43ba by Miss Islington (bot) in branch '3.9': bpo-24563: Link encoding names to encoding declarations (GH-32274) https://github.com/python/cpython/commit/f4e280d8c5461fa5e928fa07f6cd1779a4ac43ba --

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46033] Duplicated sentence in for statement documentation

2022-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue44800] Code readability: rename InterpreterFrame to `_Py_framedata`

2022-04-02 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: +30342 pull_request: https://github.com/python/cpython/pull/32281 ___ Python tracker ___

[issue968063] Add fileinput.islastline()

2022-04-02 Thread Irit Katriel
Irit Katriel added the comment: > This doesn't work because fileinput.filename() and fileinput.filelineno() > are going to be wrong and pointing to the next file. You won't have this problem if you work on one file at a time. -- nosy: +iritkatriel

[issue968063] Add fileinput.islastline()

2022-04-02 Thread Irit Katriel
Irit Katriel added the comment: I am closing this as the discussion ended in 2017 with something like three +0s. Please raise this for discussion on python-ideas if you would like to pursue it further. -- resolution: -> rejected stage: patch review -> resolved status: open ->

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2022-04-02 Thread Marek Suscak
Change by Marek Suscak : -- pull_requests: +30325 pull_request: https://github.com/python/cpython/pull/32256 ___ Python tracker ___

[issue26792] docstrings of runpy.run_{module,path} are rather sparse

2022-04-02 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- nosy: +JelleZijlstra nosy_count: 4.0 -> 5.0 pull_requests: +30330 pull_request: https://github.com/python/cpython/pull/32265 ___ Python tracker

[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-02 Thread Eric V. Smith
Change by Eric V. Smith : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue24563] [doc] Encoding declaration: doc supported encodings

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am writing a PR with an internal link. I decided that linking to Standard Encodings is sufficient. The Python Text Encodings section follows that. Anyone wanting to use any of those can experiment to see which work. --

[issue46033] Duplicated sentence in for statement documentation

2022-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 281f980d354d1709018a2dc77f79388faf3e56c0 by Michał D in branch 'main': bpo-46033: Clarify for-statement execution (GH-30025) https://github.com/python/cpython/commit/281f980d354d1709018a2dc77f79388faf3e56c0 -- nosy: +terry.reedy

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the bug report and patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29920] Document cgitb.text and cgitb.html

2022-04-02 Thread Irit Katriel
Irit Katriel added the comment: Closing as the backport to 3.5/3.6 is no longer relevant and also cgitb is deprecated under 594. -- nosy: +iritkatriel resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue47201] pip3.10.4 is configured with locations that require TLS/SSL, however the ssl module in Python is not available

2022-04-02 Thread Christian Heimes
Christian Heimes added the comment: CentOS 7 has an unsupported OpenSSL version. You need to build your own OpenSSL or use my work from https://github.com/tiran/cpython_builddep/#note sudo yum install -y epel sudo yum install -y openssl11-devel sed -i 's/PKG_CONFIG openssl /PKG_CONFIG

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +30328 pull_request: https://github.com/python/cpython/pull/32263 ___ Python tracker

[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: This error will occur when there is a 64-bit/32-bit conflict. Normally, Python extension modules are installed in architecture dependent locations, however user-installed modules (pip install) can share a path referred to as "user site". A quick check from

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30329 pull_request: https://github.com/python/cpython/pull/32264 ___ Python tracker ___

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 319a70cf99c9866c7fa47deecf04f6ebcfe35a54 by Miss Islington (bot) in branch '3.10': bpo-47031: Improve documentation for `math.nan` (GH-32170) https://github.com/python/cpython/commit/319a70cf99c9866c7fa47deecf04f6ebcfe35a54 --

[issue45114] bad example for os.stat

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset c93a0ac6972221787d8bea1c41a9feb667ed3d2c by 180909 in branch 'main': bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) https://github.com/python/cpython/commit/c93a0ac6972221787d8bea1c41a9feb667ed3d2c -- nosy:

[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30334 pull_request: https://github.com/python/cpython/pull/32268 ___ Python tracker ___

  1   2   >