[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Closing this. Thanks, Ned and Eric! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46428] Cython Build: '_PyErr_StackItem’ has no member named ‘exc_traceback’

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue46428] Cython Build: '_PyErr_StackItem’ has no member named ‘exc_traceback’

2022-01-18 Thread YoSTEALTH
YoSTEALTH added the comment: Thanks @iritkatriel will close this, seems like people are aware of this bug as working on fix it :) -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread Eryk Sun
Eryk Sun added the comment: PR 30142 is sufficient for Unix, but it's missing a bit for Windows. In Windows, the C runtime library maps the console event for Ctrl+Break to SIGBREAK. The default handler for SIGBREAK exits with 0xC13A (i.e. STATUS_CONTROL_C_EXIT). This value is unrelated t

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread Eryk Sun
Change by Eryk Sun : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue46427] Correct MSBuild's configuration for _freeze_module.exe

2022-01-18 Thread neonene
neonene added the comment: >This also rolls _freeze_module.exe's architecture back to x64 Correcting: from x86 back to x64 In my recognition, only Win32 _freeze_module.exe is built currently and run on non-ARM machines to generate the code for Win32/x64/ARM/ARM64 targets. -- __

[issue46045] NetBSD: do not use POSIX semaphores

2022-01-18 Thread Thomas Klausner
Thomas Klausner added the comment: Thanks for merging this, @serhiy.storchaka! -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-18 Thread Nikita Sobolev
Nikita Sobolev added the comment: Terry, yes I am using this script to run tests locally: ```bash #!/usr/bin/env bash set -e while read line; do ./python.exe "$line" done < files.txt ``` And this one to populate `files.txt`: ```bash find ./Lib -iname 'test*.py' -o -iname '*tests.py' -exe

[issue43118] inspect.signature() raises RuntimeError on failed to resolve the default argument value

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

[issue45535] Enum's dir() does not contain inherited members

2022-01-18 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +28877 pull_request: https://github.com/python/cpython/pull/30677 ___ Python tracker ___

[issue45535] Enum's dir() does not contain inherited members

2022-01-18 Thread Ethan Furman
Ethan Furman added the comment: New changeset 7c0914d35eaaab2f323260ba5fe8884732533888 by Ethan Furman in branch 'main': bpo-45535: [Enum] include special dunders in dir() (GH-30677) https://github.com/python/cpython/commit/7c0914d35eaaab2f323260ba5fe8884732533888 -- __

[issue13649] termios.ICANON is not documented

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: I agree, there is no point copying over the documentation just for this one constant, there are many others and the doc clearly says where they are listed. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed __

[issue46427] Correct MSBuild's configuration for _freeze_module.exe

2022-01-18 Thread neonene
neonene added the comment: Defenition in general_advanced.xml These options above are corresponded to the following folders in my case: Microsoft Visual Studio\.\VC\Tools\MSVC\\bin\Hostx86 Microsoft Visual Studio\.\VC\Tools\MSVC\\bin\Hostx64 And

[issue35107] untokenize() fails on tokenize output when a newline is missing

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce this on 3.11: >>> tokenize.untokenize(tokenize.generate_tokens(io.StringIO('#').readline)) '#' -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue29860] smtplib.py doesn't capitalize EHLO.

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: It's been 5 years, it's not really a bug, and nobody seems to be interested enough to submit a patch so I'm closing this. Feel free to reopen if you want to pursue this. -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -

[issue46392] MessageIDHeader is too strict for message-id

2022-01-18 Thread bpoaugust
bpoaugust added the comment: Sorry, I think '' is not valid, as spaces are not allowed between words. However I am not seeing the original unfolded source if there is an error, unless I am misunderstanding the API. For example: --- cut here --- import email.header import email.utils import

[issue39854] f-strings with format specifiers have wrong col_offset

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce this on 3.11: >>> ast.parse('f"{x}"').body[0].value.values[0].value.col_offset 3 >>> ast.parse('f"{x!r}"').body[0].value.values[0].value.col_offset 3 -- nosy: +iritkatriel ___ Python tracker

[issue34526] Path.relative_to() taking multiple arguments could be better documented

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___ ___ P

[issue28169] shift exponent overflow

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: 3.7 is no longer maintained. Please open a new issue if you are still seeing this problem on a current version (>= 3.9). -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed __

[issue28477] Add optional user argument to pathlib.Path.home()

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue41791] mimetypes module does not recognize jp2 type

2022-01-18 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue24905] Allow incremental I/O to blobs in sqlite3

2022-01-18 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +28878 pull_request: https://github.com/python/cpython/pull/30680 ___ Python tracker ___ ___

[issue24905] Allow incremental I/O to blobs in sqlite3

2022-01-18 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: PR without mapping protocol and context manager submitted: GH-30680. I've also changed the open API to reflect that of apsw. -- ___ Python tracker __

[issue46391] Library multiprocess leaks named resources.

2022-01-18 Thread XD Trol
Change by XD Trol : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-18 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: The types of `.keys()`, `.items()`, and `.values()` on `collections.OrderedDict` are distinct from those for dict, and they are also not exposed anywhere. Should we put them in a public, documented place too for consistency? >>> import collections >>> od =

[issue46368] faulthandler: add the ability to dump all interpreters, not only the current interpreter

2022-01-18 Thread Hai Shi
Change by Hai Shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue46429] Merge all deepfrozen files into one

2022-01-18 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: gvanrossum, kumaraditya303 priority: normal severity: normal status: open title: Merge all deepfrozen files into one versions: Python 3.11 ___ Python tracker

[issue46429] Merge all deepfrozen files into one

2022-01-18 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch pull_requests: +28879 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30572 ___ Python tracker ___ ___

[issue46429] Merge all deepfrozen files into one

2022-01-18 Thread Guido van Rossum
New submission from Guido van Rossum : This saves some space when strings are shared across deep-frozen module. Kumar measured this at around 0.2 Mbyte. See discussion https://github.com/faster-cpython/ideas/issues/218 -- ___ Python tracker

[issue46399] Addition of `mapping` attribute to dict views classes has inadvertently broken type-checkers

2022-01-18 Thread Inada Naoki
Inada Naoki added the comment: I am not happy about exposing every internal types. I prefer duck typing. Like OrderedDict, not all dict subtypes uses `dict_keys`, `dict_views`, and `dict_items`. If typeshed annotate dict.keys() returns `dict_keys`, "incompatible override" cano not be avoided

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +28880 pull_request: https://github.com/python/cpython/pull/30681 ___ Python tracker ___ __

[issue46425] Multiple test modules fail to run if invoked directly

2022-01-18 Thread Nikita Sobolev
Nikita Sobolev added the comment: Important note, in practice there's also a difference in how one calls some test module: - python Lib/test/test_contextlib.py - python ./Lib/test/test_contextlib.py Example of a test failure because of that: https://github.com/python/cpython/pull/30681 ---

<    1   2