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

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28098 pull_request: https://github.com/python/cpython/pull/29872 ___ Python tracker ___

[issue45946] RecursionError when annotating a field with the same name as a field

2021-12-01 Thread Gobot1234
New submission from Gobot1234 : Small snippet to reproduce: ``` from dataclasses import dataclass, field @dataclass class Foo: bool: bool = field() ``` Raises ``` --- RecursionErrorTraceback

[issue25743] [doc] Clarify exactly what \w matches in UNICODE mode

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: It's too late for the 2.7 docs, but the current docs can still be updated. -- keywords: +easy nosy: +iritkatriel title: Clarify exactly what \w matches in UNICODE mode -> [doc] Clarify exactly what \w matches in UNICODE mode versions: +Python 3.10,

[issue39529] Deprecate get_event_loop()

2021-12-01 Thread Min RK
Min RK added the comment: Further digging reveals that `policy.get_event_loop()` is _not_ deprecated while `asyncio.get_event_loop()` is. Is that intentional? Does that mean switching our calls to `get_event_loop_policy().get_event_loop()` should continue to work without deprecation?

[issue45945] compileall.py throws a traceback when using -j0 and thus 'make install' locks up

2021-12-01 Thread Alexander Kanavin
New submission from Alexander Kanavin : Hello, Yocto project has had to disable -j0 for compileall, so that it runs serially. If it doesn't, then 'make install' locks up sporadically, with hanging processes: ``` 3837320 ?SN 0:00 \_ make -j 16 -l 52

[issue11352] Update cgi module doc

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- type: -> enhancement versions: +Python 3.11 -Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue12957] [doc] mmap.resize changes memory address of mmap'd region

2021-12-01 Thread Eryk Sun
Eryk Sun added the comment: mmap no longer allows resizing if the object has buffer exports. For example: >>> m = mmap.mmap(-1, 4096, access=mmap.ACCESS_WRITE) >>> p = (ctypes.c_char * 4096).from_buffer(m) >>> m.resize(8192) Traceback (most recent call last): File "",

[issue30533] missing feature in inspect module: getmembers_static

2021-12-01 Thread hongweipeng
Change by hongweipeng : -- pull_requests: +28100 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/29874 ___ Python tracker ___

[issue45944] Avoid calling isatty() for most open() calls

2021-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What if change FileIO.isatty() instead? If make it returning False without invoking a system call if the file size is non-zero it will eliminate the need to expose _size. -- nosy: +serhiy.storchaka ___ Python

[issue44133] Some C-API symbols (e.g. Py_FrozenMain) are not always exported

2021-12-01 Thread Hai Shi
Change by Hai Shi : -- nosy: +shihai1991 nosy_count: 4.0 -> 5.0 pull_requests: +28101 pull_request: https://github.com/python/cpython/pull/29876 ___ Python tracker ___

[issue45939] PyErr_SetObject documentation lacks mention of reference counting

2021-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Ronald. If we explicitly document that PyErr_SetObject() does not steal reference we would need to document it for every parameter of every function. It would make the documentation worse because it would be more difficult to distinguish

[issue25810] Python 3 documentation for eval is incorrect

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Help is now showing eval(source, globals=None, locals=None, /) with the / that indicates the args are positional only. The docs were updated here to state that the args are positional. -- nosy: +iritkatriel resolution: -> fixed stage: patch review

[issue45945] compileall.py throws a traceback when using -j0 and thus 'make install' locks up

2021-12-01 Thread Alexander Kanavin
Alexander Kanavin added the comment: Here's the full log where you can see what happens. -- Added file: https://bugs.python.org/file50464/log.do_install.1905494 ___ Python tracker

[issue45944] Avoid calling isatty() for most open() calls

2021-12-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +benjamin.peterson, pitrou, stutzbach versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

[issue39529] Deprecate get_event_loop()

2021-12-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: IMHO, asyncio.set_event_loop() and policy.get_event_loop()/policy.set_event_loop() are not deprecated by oversight. In IPython, I think you could use new_event_loop() for getting a new loop instance. Then, save the loop reference somewhere as a direct

[issue39529] Deprecate get_event_loop()

2021-12-01 Thread Min RK
Min RK added the comment: Thank you! I think I have enough information to update. > IMHO, asyncio.set_event_loop()...[is] not deprecated by oversight. I'm curious, what is an appropriate use of `asyncio.set_event_loop()` if you can never get the event loop with `get_event_loop()`? If you

[issue43153] tempfile seems to treat a file as a directory when processing an exception in the onerror()

2021-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree with Andrei. I'll test this approach on Windows. -- ___ Python tracker ___ ___

[issue12957] [doc] mmap.resize changes memory address of mmap'd region

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib), ctypes title: mmap.resize changes memory address of mmap'd region -> [doc] mmap.resize changes memory address of mmap'd region versions: +Python 3.11 -Python 2.7, Python 3.4, Python 3.5 ___

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

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28099 pull_request: https://github.com/python/cpython/pull/29873 ___ Python tracker ___

[issue23453] [doc] Clarify bytes vs text with non-seeking tarfile stream

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: Clarify bytes vs text with non-seeking tarfile stream -> [doc] Clarify bytes vs text with non-seeking tarfile stream versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6 ___

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- assignee: -> christian.heimes dependencies: +"Deep-freeze": skip the marshal step by generating C code, Stop using bootstrap_python for deep-freeze in UNIX builds ___ Python tracker

[issue31196] Blank line inconsistency between InteractiveConsole and standard interpreter

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: How do I check that? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2021-12-01 Thread mike mcleod
mike mcleod added the comment: I have made the changes as indicated in the diff files. I have tested against the latest from my GitHub copy. The result is: ./python -m test -j0 == CPython 3.11.0a2+ (heads/main:3a91617590, Dec 1 2021, 15:11:41) [GCC 11.2.0] ==

[issue45951] Debugger cannot be resolved

2021-12-01 Thread Ben
New submission from Ben : First, I am not a programmer by any stretch of the imagination, and I am just trying to get this error solved. I attempted to highlight and comment out a section of code, maybe 20 lines, and the program froze, greyed out, and gave me a spinning wheel mouse. I

[issue45952] Tools/c-analyzer is out-of-date.

2021-12-01 Thread Eric Snow
New submission from Eric Snow : Some relatively recent changes broke "./python Tools/c-analyzer/c-analyzer.py ...". Also, Tools/c-analyzer/TODO is a bit out of date. -- assignee: eric.snow components: Demos and Tools messages: 407474 nosy: eric.snow priority: normal pull_requests:

[issue45952] Tools/c-analyzer is out-of-date.

2021-12-01 Thread Eric Snow
Eric Snow added the comment: New changeset ee94aa0850191712e6adfc1f4a9df08ec3240195 by Eric Snow in branch 'main': bpo-45952: Get the C analyzer tool working again. (gh-29882) https://github.com/python/cpython/commit/ee94aa0850191712e6adfc1f4a9df08ec3240195 --

[issue45952] Tools/c-analyzer is out-of-date.

2021-12-01 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45954] Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges

2021-12-01 Thread STINNER Victor
New submission from STINNER Victor : In the PyConfig, I tried to avoid double negative, so "no_debug_ranges" should be "debug_ranges". I propose to rename it to "code_debug_ranges" to make it more specific. If there is an agreement on the member name, I can write a PR. --

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: This looks like an issue with 3rd party software cffi. Are you using a fresh build of cffi? The internal ABI of an alpha build changes very often. -- nosy: +christian.heimes ___ Python tracker

[issue45953] Statically allocate interpreter states as much as possible.

2021-12-01 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +28109 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29883 ___ Python tracker

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Vishal, your output shows you’re running 3.8, not 3.10. traceback.print_exception() used to require 3 parameters, now it can make do with just one. See the docs for the details. -- ___ Python tracker

[issue44637] Quoting issue on header Reply-To and other address headers

2021-12-01 Thread Julien Castiaux
Change by Julien Castiaux : -- keywords: +patch pull_requests: +28107 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29881 ___ Python tracker ___

[issue9226] erroneous behavior when creating classes inside a closure

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +28106 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29859 ___ Python tracker

[issue1284670] Allow to restrict ModuleFinder to get "direct" dependencies

2021-12-01 Thread mike mcleod
mike mcleod added the comment: Minor fix after test. -- Added file: https://bugs.python.org/file50467/2.html ___ Python tracker ___

[issue45953] Statically allocate interpreter states as much as possible.

2021-12-01 Thread Eric Snow
New submission from Eric Snow : Currently we allocate each new PyInterpreterState in PyInterpreterState_New(). Furthermore, PyInterpreterState is full of pointers which are almost all allocated on the heap during runtime init. We can statically allocate (and initialize?) most of what goes

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: The easiest way is to remove and rebuild 3rd party software. -- ___ Python tracker ___ ___

[issue30533] missing feature in inspect module: getmembers_static

2021-12-01 Thread Dino Viehland
Change by Dino Viehland : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue30533] missing feature in inspect module: getmembers_static

2021-12-01 Thread Dino Viehland
Dino Viehland added the comment: New changeset c2bb29ce9ae4adb6a8123285ad3585907cd4cc73 by Weipeng Hong in branch 'main': bpo-30533: Add docs for `inspect.getmembers_static` (#29874) https://github.com/python/cpython/commit/c2bb29ce9ae4adb6a8123285ad3585907cd4cc73 --

[issue45889] pathlib: Path.match does not work on paths

2021-12-01 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with Éric and Ronald. -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list

[issue45951] Debugger cannot be resolved

2021-12-01 Thread Ben
Change by Ben : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue11455] issue a warning when populating a CPython type dict with non-string keys

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. >>> A = type("A", (object,), {42: "abc"}) >>> dir(A()) Traceback (most recent call last): File "", line 1, in TypeError: '<' not supported between instances of 'int' and 'str' -- nosy: +iritkatriel type: behavior -> enhancement

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00010015fd26 python.exe`_PyObject_GenericGetAttrWithDict(obj=0x00013feb7a50, name=0x000100fe9350, dict=0x, suppress=0)

[issue45955] Calling read() on HTTPError may cause KeyError in tempfile

2021-12-01 Thread Matt Martz
New submission from Matt Martz : HTTPError may not be fully initialized in some scenarios leading to an inconsistent interface. This is documented in code at: https://github.com/python/cpython/blob/55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0/Lib/urllib/error.py#L45-L50 Unfortunately the way

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-12-01 Thread Vishal Pandey
Vishal Pandey added the comment: hey Irit, Is this issue platform-dependent? I am on ubuntu 20.04, and running python 3.10. I am not getting the same error that you have mentioned below. This is what I am getting. ### hello ... Traceback (most recent call

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
New submission from Christian Heimes : bpo-45696 introduced a _bootstrap_python interpreter, which was used to create frozen and deepfrozen module files. bpo-45873 dropped the _bootstrap_python interpreter again. Instead Python used an existing Python installation to bootstrap the build.

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +eric.snow, gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-12-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 9deb83468c56c7484645e6e3a6d0183cd6a0afd7 by Christian Heimes in branch 'main': bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873) https://github.com/python/cpython/commit/9deb83468c56c7484645e6e3a6d0183cd6a0afd7 --

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: I'm using MacOS 11.6. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-01 Thread Christian Heimes
New submission from Christian Heimes : As of today 3.11-dev requires Programs/_freeze_module to compile Python code to byte code. The dependency on an extra and special tool makes cross building more complicated. The _freeze_module is trivial and can be easily implemented in pure Python

[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-01 Thread STINNER Victor
STINNER Victor added the comment: Oops, sorry, pycurl-7.44.1 and PyGObject-3.42.0 are not affected, they only define Py_SET_TYPE() macro for backward compatibility. So right now, only 14 projects are affected. -- ___ Python tracker

[issue45944] Avoid calling isatty() for most open() calls

2021-12-01 Thread Eryk Sun
Eryk Sun added the comment: > make it returning False without invoking a system call if the file > size is non-zero it will eliminate the need to expose _size. I suggest using the file type instead of the size. There's no reason to call isatty() if it's not an S_IFCHR file. This will avoid

[issue39529] Deprecate get_event_loop()

2021-12-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ages ago, get_event_loop() did not return the current running loop if called from async function context; it returned a loop instance registered with previous set_event_loop(...) call instead. Later we fixed get_event_loop() behavior in 3.5.4 IIRC and added

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I'm unable to reproduce on macOS 11.6 as well (head at 49444fb807ecb396462c8e5f547eeb5c6bc5d4de). -- ___ Python tracker ___

[issue45476] [C API] PEP 674: Disallow using macros as l-value

2021-12-01 Thread STINNER Victor
STINNER Victor added the comment: I updated my ./search_pypi_top_5000.py script to ignore files generated by Cython. On PyPI top 5000, I only found 16 projects impacted by the PEP 674 (16/5000 = 0.3%): * datatable-1.0.0 * frozendict-2.1.1 * guppy3-3.1.2 * M2Crypto-0.38.0 *

[issue31196] Blank line inconsistency between InteractiveConsole and standard interpreter

2021-12-01 Thread Malcolm Smith
Malcolm Smith added the comment: I think it's unlikely that anyone is depending on the ability to enter blank lines in a "try" block in an InteractiveConsole, especially when blank lines terminate the input in almost every other context. Conversely, everyone who's ever entered a multi-line

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Mark Shannon
Mark Shannon added the comment: Works for me on Ubuntu. Python 3.11.0a2+ (heads/main:0aa0bd0563, Dec 1 2021, 11:39:40) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> help("modules") [lots of output, but no assertion failure or segfault] >>>

[issue45753] Further speed up Python-to-Python calls.

2021-12-01 Thread Mark Shannon
Mark Shannon added the comment: New changeset 49444fb807ecb396462c8e5f547eeb5c6bc5d4de by Mark Shannon in branch 'main': bpo-45753: Interpreter internal tweaks (GH-29575) https://github.com/python/cpython/commit/49444fb807ecb396462c8e5f547eeb5c6bc5d4de --

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-12-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28102 pull_request: https://github.com/python/cpython/pull/29877 ___ Python tracker

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-12-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +28103 pull_request: https://github.com/python/cpython/pull/29878 ___ Python tracker ___

[issue31196] Blank line inconsistency between InteractiveConsole and standard interpreter

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: > any difference in behavior is potentially annoying and could throw off > somebody's flow. So I think the InteractiveConsole should be changed to match > the native interpreter. That would make InteractiveConsole more restrictive and break code that is

[issue45947] Place dict (and values) pointers at a fixed (negative) offset from the base of the object.

2021-12-01 Thread Mark Shannon
New submission from Mark Shannon : To get to the dict (or values array) of an object, we currently need 3 dependent loads. By placing the dict at a fixed offset, this can be reduced to one. What was `obj[obj->type->dictoffset]` becomes `obj[FIXED_OFFSET]` See

[issue45948] Unexpected instantiation behavior for xml.etree.ElementTree.XMLParser(target=None)

2021-12-01 Thread Robert Steed
New submission from Robert Steed : Expected instantiation of xml.etree.ElementTree.XMLParser(target=None) to create a parser using default TreeBuilder -- components: XML files: XMLParserFail.py messages: 407458 nosy: rdsteed priority: normal severity: normal status: open title:

[issue45946] RecursionError when annotating a field with the same name as a field

2021-12-01 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45933] Illegal Instrution (Core Dumped)

2021-12-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: Is arch corei7-avx compatible with your CPU? One way to test is to leave out -mtune=... and -march=... when building python. -- nosy: +ronaldoussoren ___ Python tracker

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-12-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset f27bef30438d2f07f19de91e021f34b77ccc4b20 by Rob in branch 'main': bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857) https://github.com/python/cpython/commit/f27bef30438d2f07f19de91e021f34b77ccc4b20 --

[issue39529] Deprecate get_event_loop()

2021-12-01 Thread Min RK
Min RK added the comment: Oops, I interpreted "not deprecated by oversight" as the opposite of what you meant. Sorry! All clear, now. -- ___ Python tracker ___

[issue45947] Place dict (and values) pointers at a fixed (negative) offset from the base of the object.

2021-12-01 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +28104 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29879 ___ Python tracker ___

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-12-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4203a5d1918ca874e305806b787e3c8c6fc35e3e by Miss Islington (bot) in branch '3.9': bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857) (GH-29878) https://github.com/python/cpython/commit/4203a5d1918ca874e305806b787e3c8c6fc35e3e

[issue31196] Blank line inconsistency between InteractiveConsole and standard interpreter

2021-12-01 Thread Malcolm Smith
Malcolm Smith added the comment: I agree that both behaviors are reasonable. However, the InteractiveConsole documentation says it should "closely emulate the behavior of the interactive Python interpreter". Since people are familiar with the native interpreter, any difference in behavior

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also unable to reproduce with HEAD at 8a45ca542a65ea27e7acaa44a4c833a27830e796. Perhaps it is related to your build/dev environment? -- ___ Python tracker

[issue45607] Make it possible to enrich an exception's error message

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +28105 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29880 ___ Python tracker ___

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-01 Thread Eric Snow
Eric Snow added the comment: Ideally we would not have two scripts that do the same thing. -- ___ Python tracker ___ ___

[issue45949] Provide pure-Python implementation of Programs/_freeze_module for cross building

2021-12-01 Thread Eric Snow
Eric Snow added the comment: IIRC, Programs/_freeze_module.c was originally a C implementation of the basic functionality in Tools/freeze/freeze.py. -- nosy: +eric.snow ___ Python tracker

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also unable to reproduce with HEAD at 49444fb807ecb396462c8e5f547eeb5c6bc5d4de. -- ___ Python tracker ___

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-12-01 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45896] Conflicting statements in docs about default support for asyncio subprocesses on Windows

2021-12-01 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset e99c5e039b380199843db4e06974883d9f3ddad0 by Miss Islington (bot) in branch '3.10': bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857) (GH-29877) https://github.com/python/cpython/commit/e99c5e039b380199843db4e06974883d9f3ddad0

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Mark Shannon
Mark Shannon added the comment: When I say "cffi bug", I should say "is cffi not ported to 3.11 yet?" -- ___ Python tracker ___

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Unable to reproduce on macOS 12 with latest 3.11 official build, and my most recent dev build (HEAD at b394af13f69c1a2ac0e7d32dabf6d86443606ab2). -- nosy: +erlendaasland ___ Python tracker

[issue31196] Blank line inconsistency between InteractiveConsole and standard interpreter

2021-12-01 Thread Malcolm Smith
Change by Malcolm Smith : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-12-01 Thread Stephen Rosen
Stephen Rosen added the comment: Probably >90% of the use-cases for chaining classmethod are a read-only class property. It's important enough that some tools (e.g. sphinx) even have special-cased support for classmethod(property(...)). Perhaps the general case of

[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-01 Thread Ali Amin-Nejad
New submission from Ali Amin-Nejad : On macOS, the following minimal example: ``` import tkinter as tk root = tk.Tk() button = tk.Button(root, text="Exit", command=root.destroy) button.pack() root.wm_overrideredirect(True) root.mainloop() ``` yields the following stack trace: ``` Traceback

[issue45933] Illegal Instrution (Core Dumped)

2021-12-01 Thread Tom E
Tom E added the comment: its defos fine because ive tried it without the CFLAGS and same error -- ___ Python tracker ___ ___

[issue25952] code_context not available in exec()

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue35535] time.strptime() unexpectedly gives the same result for %U and %W for 2018

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23183] timeit CLI best of 3: undocumented output format

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted to a GitHub PR. -- keywords: +easy -patch nosy: +iritkatriel ___ Python tracker ___

[issue45889] pathlib: Path.match does not work on paths

2021-12-01 Thread Nick Papior
Nick Papior added the comment: Ok, I can accept a no-fix ;) I'll close this. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___

[issue45956] Add scanf regular expressions to re

2021-12-01 Thread Maxwell Bernstein
Change by Maxwell Bernstein : -- keywords: +patch pull_requests: +28111 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29885 ___ Python tracker

[issue40748] Tutorial 4.7 More on Defining Functions missing screen prompts

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- type: -> behavior versions: +Python 3.11 -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue25933] Unhandled exception (TypeError) with ftplib in function retrbinary/retrlines causes inoperable behavior without crashing

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: -needs review, patch type: behavior -> enhancement versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue38760] Document for urllib.error.HTTPError.headers Should Specify What Version

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42130] AsyncIO's wait_for can hide cancellation in a rare race condition

2021-12-01 Thread James Ferguson
James Ferguson added the comment: Echoing nmatravolgyi's comments - I got here after hitting this bug and I too am amazed it's been around so long and hasn't been addressed. It makes cancellation in my application very unreliable, and the reason I need well-controlled cancellation

[issue45954] Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges

2021-12-01 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +28112 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29886 ___ Python tracker ___

[issue45956] Add scanf regular expressions to re

2021-12-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: The scanf() translation table primarily serves as a way to learn regex syntax for people who only know scanf syntax. It would defeat the educational purpose to immortalize the translation as fixed constants. For the most part, people are better off

[issue28375] cgi.py spam in Apache server logs

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Thanks Sebastian, I'll close this and if someone still sees this problem they will report it. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue25238] Version added of context parameter for xmlrpc.client.ServerProxy incorrect

2021-12-01 Thread Irit Katriel
Irit Katriel added the comment: Both 3.4 and 3.5 are out of maintenance now, so this is no longer relevant. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue12706] timeout sentinel in ftplib and poplib documentation

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue23183] timeit CLI best of 3: undocumented output format

2021-12-01 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___

[issue11352] Update cgi module doc

2021-12-01 Thread Vishal Pandey
Vishal Pandey added the comment: i am working on it. will submit a PR soon. -- nosy: +vishalpandeyvip ___ Python tracker ___ ___

  1   2   >