[issue42161] Remove private _PyLong_Zero and _PyLong_One variables

2022-01-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 243c31667cc15a9a338330ad9b2a29b1cd1c76ec by Raymond Hettinger in branch 'main': bpo-42161: Hoist the _PyLong_GetOne() call out of the inner loop. (GH-30656) https://github.com/python/cpython/commit/243c31667cc15a9a338330ad9b2a29b1cd1c76ec -

[issue46411] modernize exception handling in tests

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

[issue46390] Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

2022-01-18 Thread Kumar Aditya
Kumar Aditya added the comment: These tests seems to be expected to fail on alpine. See https://github.com/alpinelinux/aports/blob/b36ed9bba2fdbf49a98dfdc3377c29271525082f/main/python3/APKBUILD#L123 -- nosy: +kumaraditya303 ___ Python tracker

[issue46417] [subinterpreters] Clear static types in Py_Finalize()

2022-01-18 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue46390] Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

2022-01-18 Thread Christian Heimes
Christian Heimes added the comment: I would put it differently: The package maintainer of Python on Alpine decided to ignore all test failures in these test modules. -- ___ Python tracker __

[issue30268] Make mimetypes.guess_type accept path-like objects

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Allow querying a Path's mime-type ___ Python tracker ___ __

[issue45644] Make json.tool soak up input before opening output for writing

2022-01-18 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +methane nosy_count: 4.0 -> 5.0 pull_requests: +28860 pull_request: https://github.com/python/cpython/pull/30659 ___ Python tracker ___ ___

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___ _

[issue16482] pdb.set_trace() clobbering traceback on error

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: patch review -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2022-01-18 Thread STINNER Victor
STINNER Victor added the comment: See also: https://discuss.python.org/t/virtual-environments-vs-nix-python-upgrades/12588 "Virtual environments vs. *nix Python upgrades". -- nosy: +vstinner ___ Python tracker

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +28861 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30660 ___ Python tracker ___

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I created GH-30660 in order to try to enhance the docs. Ned and Eric, would you mind taking a look at the PR? -- ___ Python tracker ___ _

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8c2fd09f365e082cfceb29afdf38953cdd670946 by Pablo Galindo Salgado in branch 'main': bpo-46339: Include clarification on assert in 'get_error_line_from_tokenizer_buffers' (#30545) https://github.com/python/cpython/commit/8c2fd09f365e082cf

[issue46390] Multiple test failures on Alpine 3.15 / musl-1.2.2-r7

2022-01-18 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: -kumaraditya303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue46323] Use _PyObject_Vectorcall in Modules/_ctypes/callbacks.c

2022-01-18 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: -kumaraditya303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue46391] Library multiprocess leaks named resources.

2022-01-18 Thread XD Trol
XD Trol added the comment: loop file owner. -- nosy: +benjamin.peterson, sbt ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue46392] MessageIDHeader is too strict for message-id

2022-01-18 Thread bpoaugust
bpoaugust added the comment: When the library is being used to parse existing emails, I think it needs to do the minimum validation and canonicalisation. It may be useful in some circumstances to report where the input is not syntactically correct, but I'm not sure it is helpful to truncate

[issue46422] Why do we need `dis.Positions`?

2022-01-18 Thread Nikita Sobolev
New submission from Nikita Sobolev : While working on https://github.com/python/cpython/pull/30058 I've noticed that `Positions` namedtuple is kinda strange, source: https://github.com/python/cpython/blame/8c2fd09f365e082cfceb29afdf38953cdd670946/Lib/dis.py#L204-L213 Why? 1. It is not used. `g

[issue43950] Include column offsets for bytecode instructions

2022-01-18 Thread Nikita Sobolev
Nikita Sobolev added the comment: I've opened a new issue about unused `dis.Positions` here: https://bugs.python.org/issue46422 -- nosy: +sobolevn ___ Python tracker ___

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28862 pull_request: https://github.com/python/cpython/pull/30661 ___ Python tracker _

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28863 pull_request: https://github.com/python/cpython/pull/30662 ___ Python tracker ___ __

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset bdf2ab1887a2edfb089a3c2a1590cf1e84ea0048 by Erlend Egeberg Aasland in branch 'main': bpo-46402: Promote SQLite URI tricks in `sqlite3` docs (GH-30660) https://github.com/python/cpython/commit/bdf2ab1887a2edfb089a3c2a1590cf1e84ea0048 --

[issue45691] Partial moving of core objects to interpreter state is incorrect at best, unsafe at worse.

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

[issue46417] [subinterpreters] Clear static types in Py_Finalize()

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

[issue46417] [subinterpreters] Clear static types in Py_Finalize()

2022-01-18 Thread Petr Viktorin
Petr Viktorin added the comment: If we have static types, that means there is a mechanism to share some objects across interpreters. And if that's the case, why can't small ints (like sys.float_info.n_unnamed_fields) be static & shared as well? -- nosy: +petr.viktorin __

[issue1043134] Add preferred extensions for MIME types

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: PR14375 indeed adds a test for this as well (test_preferred_extension). -- nosy: +iritkatriel resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5 ___ Python t

[issue41791] mimetypes module does not recognize jp2 type

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: It is found by the module-level guess_type but not by the MimeType class's guess_type: >>> from mimetypes import MimeTypes >>> MimeTypes().guess_type('test.jp2') (None, None) >>> mimetypes.guess_type('test.jp2') ('image/jp2', None) >>> That difference is the

[issue46423] CLI: Addition assignment for tuples

2022-01-18 Thread Ali Ramezani
New submission from Ali Ramezani : In CLI (Command Line Interpreter): A tuple has a list component then try to += that component. Since tuple doesn't allow assignment then it raises error but actually does that. If you try actual equivalence (A=A+B) it does not. Python 3.9.1 (tags/v3.9.1:1e5d

[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Nikita Sobolev
New submission from Nikita Sobolev : This condition is not covered: https://github.com/python/cpython/blob/bdf2ab1887a2edfb089a3c2a1590cf1e84ea0048/Lib/typing.py#L1674-L1677 I propose to add a test for it, because `Annotated[int]` is invalid. PR is on its way :) -- components: Tests

[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28864 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30663 ___ Python tracker ___ _

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: As noted in Issue32462, the fact that system files take precedence over the definitions in the sodlib is a feature, so the proposed patch to reverse this behaviour cannot be applied unless it is decided to change the API in this way. That would require a disc

[issue32462] validate mime types loaded from system files. Document that system files take precedence.

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- title: mimetypes.guess_type() returns incorrectly formatted type -> validate mime types loaded from system files. Document that system files take precedence. type: behavior -> enhancement versions: +Python 3.11 -Python 3.7 __

[issue32462] validate mime types loaded from system files. Document that system files take precedence.

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: I've closed Issue46035 as a duplicate of this. -- nosy: +iritkatriel ___ Python tracker ___ ___ Pyt

[issue32462] validate mime types loaded from system files. Document that system files take precedence.

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: I've closed Issue43975 as a duplicate of this. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue43975] Incorrect MIME type returned for .js files Windows 10.

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> validate mime types loaded from system files. Document that system files take precedence. ___ Python tracker

[issue40255] Fixing Copy on Writes from reference counting and immortal objects

2022-01-18 Thread STINNER Victor
Change by STINNER Victor : -- title: Fixing Copy on Writes from reference counting -> Fixing Copy on Writes from reference counting and immortal objects ___ Python tracker ___

[issue46417] [subinterpreters] Clear static types in Py_Finalize()

2022-01-18 Thread STINNER Victor
STINNER Victor added the comment: > If we have static types, that means there is a mechanism to share some > objects across interpreters. Sharing objects between interpreters is bad and is causing complex bugs. See a recent example of an object traveling from one interpreter to another and t

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-18 Thread STINNER Victor
Change by STINNER Victor : -- components: +Interpreter Core -Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-18 Thread STINNER Victor
Change by STINNER Victor : -- title: [subinterpreters] Clear static types in Py_Finalize() -> Clear static types in Py_Finalize() for embedded Python ___ Python tracker ___ __

[issue46423] CLI: Addition assignment for tuples

2022-01-18 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. This is a long-standing and known behaviour. It's been discussed a good few times before, and (quite apart from potential problems with backwards compatibility) no-one has yet come up with convincing alternative behaviours. See https

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread milahu
milahu added the comment: this issue is different than Issue32462 because here, both entries are valid ``` cat /etc/mime.types | grep javascript application/javascriptjs application/x-javascript js ``` but the alphabetical ordering of the file makes the last entry take precedence

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread milahu
milahu added the comment: edit: - mimetype_of_ext[ext] = mimetype + else: +# add new entry +mimetype_of_ext[ext] = mimetype -- ___ Python tracker ___ __

[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Ken Jin
Ken Jin added the comment: New changeset 32398294fb3fcf4ee74da54722fd0221c4e6cb74 by Nikita Sobolev in branch 'main': bpo-46424: [typing] cover `Annotation[arg]` invalid usage in tests (GH-30663) https://github.com/python/cpython/commit/32398294fb3fcf4ee74da54722fd0221c4e6cb74 -- _

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: duplicate -> status: closed -> open type: behavior -> enhancement ___ Python tracker ___ __

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: Ok, I reopened this as an enhancement request for mimetypes to know about the 'deprecated' types. If you want to push it forward it might be a good idea to bring this up on python-ideas as well. -- ___ Python tracke

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2022-01-18 Thread Steve Dower
Steve Dower added the comment: New changeset 7407fe4c25ba0308d49e3e88e4a107ef32251cdc by Steve Dower in branch 'main': bpo-46028: Calculate base_executable by resolving symlinks in a venv (GH-30144) https://github.com/python/cpython/commit/7407fe4c25ba0308d49e3e88e4a107ef32251cdc --

[issue46028] 3.11.0a3: under tox, sys._base_executable is wrong

2022-01-18 Thread Steve Dower
Steve Dower added the comment: Merged my PR, but I want to leave this open in commit review for now - I'm not sure it deals with all the issues here, and probably not everything from the Discourse thread linked by Victor (though it might come close). -- stage: patch review -> commit

[issue46424] `typing.Annotated` one type argument usage is not covered in tests

2022-01-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46410] TypeError when parsing regexp with unicode named character sequence escape

2022-01-18 Thread Matthew Barnett
Matthew Barnett added the comment: They're not supported in string literals either: Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> "\N{KEYCAP NUMBER SIGN}" File "", l

[issue43869] Fix documentation of epoch/time.time

2022-01-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset ff7703c4b609a697ada8165fd1c52a73404b6d07 by Miguel Brito in branch 'main': bpo-43869: Improve epoch docs (GH-25777) https://github.com/python/cpython/commit/ff7703c4b609a697ada8165fd1c52a73404b6d07 -- _

[issue43869] Fix documentation of epoch/time.time

2022-01-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28865 pull_request: https://github.com/python/cpython/pull/30664 ___ Python tracker ___ __

[issue43869] Fix documentation of epoch/time.time

2022-01-18 Thread STINNER Victor
STINNER Victor added the comment: I was going to close the change, but I had a last look and... oh... I found that the Python test suite checks that the Epoch is 1970-01-01 at 00:00 since 2008! I wrote GH-30664 to add an explicit test and I updated the doc. -- __

[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

2022-01-18 Thread milahu
milahu added the comment: python-ideas thread https://mail.python.org/archives/list/python-id...@python.org/thread/V53XGQPIY7ZAISMTQHPHKGWZNSN5EXQG/ -- ___ Python tracker ___

[issue46392] MessageIDHeader is too strict for message-id

2022-01-18 Thread bpoaugust
bpoaugust added the comment: I think an id of the form should be allowed, but it generates obs-id-left => local-part => obs-local-part => word *("." word) word => atom => [CFWS] 1*atext [CFWS] '' should also be allowed but generates ' (A A)' and '' gives ' ' -- _

[issue46417] Clear static types in Py_Finalize() for embedded Python

2022-01-18 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- nosy: +phsilva ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43869] Fix documentation of epoch/time.time

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

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

2022-01-18 Thread Nikita Sobolev
New submission from Nikita Sobolev : While working on a similar issue for `test_typing.py` (https://bugs.python.org/issue46416) I wondered: how many other modules also have this problem? So, after several hours of local testing, I got several problems: - Lib/test/test_compileall.py Uses rel

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

2022-01-18 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

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

2022-01-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28866 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30666 ___ Python tracker ___ _

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

2022-01-18 Thread Ethan Furman
Ethan Furman added the comment: I suggest your grouping of PRs be by error type -- so have batches of "relative import" fixes and batches of "TESTFN" fixes, etc. -- nosy: +ethan.furman ___ Python tracker __

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

2022-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1292aa6db5bed889a3c87df443754fcae0177801 by Nikita Sobolev in branch 'main': bpo-46425: Fix direct invocation of multiple test modules (GH-30666) https://github.com/python/cpython/commit/1292aa6db5bed889a3c87df443754fcae0177801 -- no

[issue12067] Doc: remove errors about mixed-type comparisons.

2022-01-18 Thread Humbdrag
Change by Humbdrag : -- pull_requests: +28867 pull_request: https://github.com/python/cpython/pull/30667 ___ Python tracker ___ ___

[issue46426] Improve tests for the dir_fd argument

2022-01-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There is a flaw in tests for the dir_fd argument in test_posix. All these tests open a current directory as dir_fd, so all paths are relative to the current directory. They will pass in case of the following errors: 1. dir_fd, src_dir_fd or dst_dir_fd ar

[issue46426] Improve tests for the dir_fd argument

2022-01-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +28868 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30668 ___ Python tracker ___

[issue20823] [doc] Clarify copyreg.pickle() documentation

2022-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28870 pull_request: https://github.com/python/cpython/pull/30670 ___ Python tracker ___ __

[issue20823] [doc] Clarify copyreg.pickle() documentation

2022-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 65940fa5c12a4b4a0650c7845044ffd63b94e227 by Kumar Aditya in branch 'main': bpo-20823: Clarify copyreg.pickle() documentation (GH-30230) https://github.com/python/cpython/commit/65940fa5c12a4b4a0650c7845044ffd63b94e227 -- ___

[issue20823] [doc] Clarify copyreg.pickle() documentation

2022-01-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28869 pull_request: https://github.com/python/cpython/pull/30669 ___ Python tracker _

[issue20823] [doc] Clarify copyreg.pickle() documentation

2022-01-18 Thread miss-islington
miss-islington added the comment: New changeset 8527f7a722aee3d9025267cc7ff2eb8afa38d166 by Miss Islington (bot) in branch '3.9': bpo-20823: Clarify copyreg.pickle() documentation (GH-30230) https://github.com/python/cpython/commit/8527f7a722aee3d9025267cc7ff2eb8afa38d166 -- __

[issue20823] [doc] Clarify copyreg.pickle() documentation

2022-01-18 Thread miss-islington
miss-islington added the comment: New changeset 9238a52cbc39c17ca6c7a8cbda32808dd5522a59 by Miss Islington (bot) in branch '3.10': bpo-20823: Clarify copyreg.pickle() documentation (GH-30230) https://github.com/python/cpython/commit/9238a52cbc39c17ca6c7a8cbda32808dd5522a59 -- _

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

2022-01-18 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thank you, Ethan. Good idea! Will do from the second PR. Thanks for merging, Serhiy. -- ___ Python tracker ___ __

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

2022-01-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nikita, thanks for doing this. Ethan's suggestion has two advantages. 1. It would fix most backport issues. By containing a mix of changes, PR-30666 cannot be backported as is. 'unittest.main' should always backport unless there is a context conflict. But

[issue46045] NetBSD: do not use POSIX semaphores

2022-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 60ceedbdd5b5fb22803039a59954798d931f659a by Thomas Klausner in branch 'main': bpo-46045: Do not use POSIX semaphores on NetBSD (GH-30047) https://github.com/python/cpython/commit/60ceedbdd5b5fb22803039a59954798d931f659a -- nosy: +ser

[issue46402] Enhance sqlite3 to avoid implicit creation?

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

[issue44024] Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

2022-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b by Géry Ogam in branch 'main': bpo-44024: Improve the TypeError message in getattr and hasattr (GH-25863) https://github.com/python/cpython/commit/16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b -- _

[issue44024] Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

2022-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Géry. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46402] Enhance sqlite3 to avoid implicit creation?

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

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

2022-01-18 Thread neonene
New submission from neonene : In pcbuild.proj, "PreferredToolArchitecture" property looks misused, which I think is useful giving us two selections of a compiler (32bit or 64bit) for any target architecture (Win32/x64/ARM/ARM64). I think the property can be unused there. This means a partial

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

2022-01-18 Thread neonene
Change by neonene : -- keywords: +patch pull_requests: +28873 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30673 ___ Python tracker ___

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Ned Batchelder
Ned Batchelder added the comment: BTW, I'm fine with this being closed, since the functionality I wanted is available and documented. -- ___ Python tracker ___ __

[issue46392] MessageIDHeader is too strict for message-id

2022-01-18 Thread R. David Murray
R. David Murray added the comment: The general idea is that the string version of the header should contain all of the original information, but the parsed elements (the things returned by special header attributes) will contain the valid data, if any. So if the string version of the header

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread John Marshall
John Marshall added the comment: Ping -- This issue has an associated PR that expands the multiprocessing.Process.exitcode documentation to cover normal, sys.exit(), and exception-raised termination of the child process. https://github.com/python/cpython/pull/30142 The PR has been avail

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > BTW, I'm fine with this being closed, since the functionality I wanted is > available and documented. Great. I was considering closing it as soon as the backports have landed (I had to manually fix them bco. make suspicious failures). -- _

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +davin, pitrou versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-b

[issue15500] Python should support exporting thread names to the OS

2022-01-18 Thread Oleg Iarygin
Oleg Iarygin added the comment: @r.david.murray > It is indeed the compatibility that is the worse issue. The problem is what > people have gotten used to and may have coded their applications to > expect/deal > with. I agree with you that most people would *not* find it surprising to see >

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread miss-islington
miss-islington added the comment: New changeset 3852269b91fcc8ee668cd876b3669eba6da5b1ac by John Marshall in branch 'main': bpo-45554: Document multiprocessing.Process.exitcode values (GH-30142) https://github.com/python/cpython/commit/3852269b91fcc8ee668cd876b3669eba6da5b1ac -- __

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28874 pull_request: https://github.com/python/cpython/pull/30674 ___ Python tracker _

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28875 pull_request: https://github.com/python/cpython/pull/30675 ___ Python tracker ___ __

[issue15500] Python should support exporting thread names to the OS

2022-01-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Two things: 1) I agree this is an extremely valuable addition for any package or application that does a non-trivial use of threads in Python. 2) It should at least be exposed as a standalone function in the `threading` module, *and* ideally also be called

[issue44024] Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

2022-01-18 Thread Géry
Géry added the comment: Thanks for the review Serhiy. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread miss-islington
miss-islington added the comment: New changeset 4449a1694a0fd2c63fcef5eb7d0ad1d7dfbb6077 by Miss Islington (bot) in branch '3.10': bpo-45554: Document multiprocessing.Process.exitcode values (GH-30142) https://github.com/python/cpython/commit/4449a1694a0fd2c63fcef5eb7d0ad1d7dfbb6077 ---

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46428] 3.11.0a3 vs 3.11.0a4

2022-01-18 Thread YoSTEALTH
New submission from YoSTEALTH : Getting compilation error for an Cython project, since upgrade from `3.11.0a3` to `3.11.0a4`, same code. /opt/python/3.11/bin/python3 setup.py build_ext --inplace -j18 clean --all # 3.11.0a3 # prefix/usr includedir

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 01e6cbefd3d0f60c942ed711131f5d638dde1227 by Erlend Egeberg Aasland in branch '3.10': [3.10] bpo-46402: Promote SQLite URI tricks in sqlite3 docs (GH-30660) (GH-30671) https://github.com/python/cpython/commit/01e6cbefd3d0f60c942ed711131f5d638dde1

[issue46402] Enhance sqlite3 to avoid implicit creation?

2022-01-18 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 0ae22577606f1b52e3b6c2de6c5b307518044605 by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-46402: Promote SQLite URI tricks in sqlite3 docs (GH-30660) (#30672) https://github.com/python/cpython/commit/0ae22577606f1b52e3b6c2de6c5b307518044605

[issue46428] 3.11.0a3 vs 3.11.0a4

2022-01-18 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2022-01-18 Thread Irit Katriel
Irit Katriel added the comment: This is issue45711. See Stefan’s comment there. -- ___ Python tracker ___ ___ Python-bugs-list maili

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

2022-01-18 Thread Dennis Sweeney
Change by Dennis Sweeney : -- title: 3.11.0a3 vs 3.11.0a4 -> Cython Build: '_PyErr_StackItem’ has no member named ‘exc_traceback’ ___ Python tracker ___ ___

[issue45554] multiprocessing exitcode is insufficiently documented

2022-01-18 Thread miss-islington
miss-islington added the comment: New changeset 0be4760d85399a308421d9229b5d7f1b4ec718a2 by Miss Islington (bot) in branch '3.9': [3.9] bpo-45554: Document multiprocessing.Process.exitcode values (GH-30142) (GH-30675) https://github.com/python/cpython/commit/0be4760d85399a308421d9229b5d7f1b4

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

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

  1   2   >