Change by Irit Katriel :
--
resolution: -> duplicate
stage: test needed -> resolved
status: open -> closed
superseder: -> python-gdb.py fails with TypeError("'FakeRepr' object is not
subscriptable") is gdb fails to read debug symbols
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset 8f082e2bf43c1367e30d00874267dd25f7256cd0 by Miss Islington (bot)
in branch '3.9':
bpo-33252: Document that ResourceWarning is ignored by default (GH-30358)
(GH-30396)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
New changeset 01b12942d0ba2fd3c2efdfb796e8816efc607ee7 by Miss Islington (bot)
in branch '3.10':
bpo-33252: Document that ResourceWarning is ignored by default (GH-30358)
(GH-30395)
https://github.com/python/cpython/commit
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
The documentation change in the PR clarifies the current state of things.
@serhiy.storchaka - do you have a view on whether we should aim for an actual
fix, or just document and close?
--
___
Python tracker
Change by Irit Katriel :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue46251>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Irit Katriel :
--
components: +Library (Lib)
resolution: fixed ->
___
Python tracker
<https://bugs.python.org/issue34931>
___
___
Python-bugs-lis
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Irit Katriel :
--
versions: +Python 3.11 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue34538>
___
___
Python-bugs-list mailing list
Unsub
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset 4a792ca95c1a994b07d18fe06e2104d5b1e0b796 by Miss Islington (bot)
in branch '3.9':
bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with multiple
leading periods (GH-30347) (GH-30369)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
New changeset 8184a613b93d54416b954e667951cdf3d069cc13 by Miss Islington (bot)
in branch '3.10':
bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with multiple
leading periods (GH-30347) (GH-30368)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
New changeset 51700bf08b0dd4baf998440b2ebfaa488a2855ba by Irit Katriel in
branch 'main':
bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with multiple
leading periods (GH-30347)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
I'm closing this because there is not enough information here to understand the
issue and there was no reply to follow-up questions.
Please reopen or create a new issue if you are still having a problem with this.
--
nosy: +iritkatriel
resolution
Change by Irit Katriel :
--
keywords: +patch
nosy: +iritkatriel
nosy_count: 5.0 -> 6.0
pull_requests: +28559
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30347
___
Python tracker
<https://bugs.python.org/i
Irit Katriel added the comment:
Fixed in https://github.com/python/cpython/pull/30289.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> behavior
___
Python tracker
<https://bugs.python
Irit Katriel added the comment:
New changeset 65e7c1f90e9136fc61f4af029b065d9f6c5664c3 by Irit Katriel in
branch 'main':
bpo-46219, 46221: simplify except* implementation following exc_info changes.
Move helpers to exceptions.c. Do not assume that exception groups are truthy.
(GH-30289
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset a82baed0e9e61c0d8dc5c12fc08de7fc172c1a38 by Irit Katriel in
branch 'main':
bpo-45615: Add missing test for printing traceback for non-exception. Fix
traceback.py (GH-30091)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
I think this proposal should be rejected. We cannot safely pass control back to
python code in the midst of raising an exception.
--
resolution: -> rejected
status: open -> pending
___
Python tracker
Irit Katriel added the comment:
Can you specify what the flaws your discovered are, either in this issue or
though a PR?
--
nosy: +iritkatriel
___
Python tracker
<https://bugs.python.org/issue45
Irit Katriel added the comment:
... "for falsy ExceptionGroup subclasses"
--
___
Python tracker
<https://bugs.python.org/issue46219>
___
___
Python-b
Change by Irit Katriel :
--
type: -> behavior
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue46216>
___
_
Change by Irit Katriel :
--
keywords: +patch
nosy: +iritkatriel
nosy_count: 2.0 -> 3.0
pull_requests: +28541
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30326
___
Python tracker
<https://bugs.python.org/i
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28540
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30289
___
Python tracker
<https://bugs.python.org/issu
Change by Irit Katriel :
--
pull_requests: +28539
pull_request: https://github.com/python/cpython/pull/30289
___
Python tracker
<https://bugs.python.org/issue45
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28538
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30289
___
Python tracker
<https://bugs.python.org/issu
New submission from Irit Katriel :
Following issue45711, the implementation of except* can be simplified - we do
not need to use POP_EXCEPT_AND_RERAISE to reraise the exception calculated by
PREP_RERAISE_STAR, we can instead
1. Make PREP_RERAISE_STAR not push a dummy lasti to the stack.
2
Change by Irit Katriel :
--
title: except* assumes that an exception group is truth -> except* assumes that
an exception group is truthy
___
Python tracker
<https://bugs.python.org/issu
New submission from Irit Katriel :
except* checks truthiness of the output of PREP_RERAISE_STAR, and this gives
the wrong result for false ExceptionGroup subclasses. See
https://github.com/python/cpython/pull/30302#discussion_r776825568
--
components: Interpreter Core
messages: 409454
Change by Irit Katriel :
--
pull_requests: -28217
___
Python tracker
<https://bugs.python.org/issue45711>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Irit Katriel :
--
pull_requests: -28193
___
Python tracker
<https://bugs.python.org/issue45711>
___
___
Python-bugs-list mailing list
Unsubscribe:
Irit Katriel added the comment:
This is done, there will be more cleanups that this enables but they can have
their own issues.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracke
Change by Irit Katriel :
--
pull_requests: -28503
___
Python tracker
<https://bugs.python.org/issue45711>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28531
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30314
___
Python tracker
<https://bugs.python.org/issu
Change by Irit Katriel :
--
assignee: iritkatriel
components: Interpreter Core
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Remove unused opcode ROT_FOUR
versions: Python 3.11
___
Python tracker
<https://bugs.python.
Irit Katriel added the comment:
BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL have been removed.
--
nosy: +iritkatriel
___
Python tracker
<https://bugs.python.org/issue35
Irit Katriel added the comment:
I think this can be closed as out of date because PyFile_WriteString/Object no
longer use puts and they do check for errors. The error checking of
PyFile_WriteString/Object in the traceback display code was the subject of
Issue45635.
--
nosy
Irit Katriel added the comment:
Zac, the documentation for PyErr_Print [1] states that it clears the error
indicator. This is akin to handling the exception. Was this your intention?
If you want to print the exception without clearing it, I think you would
probably need to call PyErr_Fetch
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28514
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30302
___
Python tracker
<https://bugs.python.org/issu
New submission from Irit Katriel :
Following issue45711 this opcode can be replaced by
ADDOP(c, ROT_THREE);
ADDOP(c, ROT_THREE);
ADDOP(c, POP_EXCEPT);
ADDOP_I(c, RERAISE, 1);
--
assignee: iritkatriel
components: Interpreter Core
messages: 409356
nosy: iritkatriel
priority: normal
Change by Irit Katriel :
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> Propagate qualname from the compiler unit to code objects for
finer grained profiling data
___
Python tra
Irit Katriel added the comment:
This was created about 10 years ago, I wonder if people still feel there is a
need to change something here, or did we all get used to the status quo by now?
In particular, the suggestion is to indicate that the traceback of chained
exceptions is truncated
Irit Katriel added the comment:
I've reproduced this on 3.10 but in 3.11 the result on windows is correct,
f_lasti is of the CALL_FUNCTION_EX opcode.
--
nosy: +iritkatriel
___
Python tracker
<https://bugs.python.org/issue45
Change by Irit Katriel :
--
stage: needs patch -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue9350>
___
___
Pyth
Change by Irit Katriel :
--
resolution: -> works for me
stage: needs patch -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
Please create a new issue if this is still a problem on a currentl version of
python (>= 3.9).
--
resolution: -> out of date
stage: -> resolved
status: pending -> closed
___
Python tra
Change by Irit Katriel :
--
pull_requests: +28503
pull_request: https://github.com/python/cpython/pull/30289
___
Python tracker
<https://bugs.python.org/issue45
Change by Irit Katriel :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue42259>
___
___
Python-bugs-list mailing list
Unsubscribe:
Irit Katriel added the comment:
False alarm, this is already as it should be. Me needs a couple of weeks
offline is all it is.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bug
Change by Irit Katriel :
--
assignee: -> iritkatriel
___
Python tracker
<https://bugs.python.org/issue46155>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Irit Katriel :
Currently ExceptionGroup inherits __new__ from BaseExceptionGroup, it should
have its own __new__ implementation which raises a TypeError if any contained
exception is not an Exception subclass.
--
messages: 409047
nosy: gvanrossum, iritkatriel
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset c66fc0fb53b5316dc325fde3bc738890515d38a4 by Irit Katriel in
branch 'main':
bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the parts
(GH-30159)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
_MutuallyExclusiveGroup inherits add_argument_group from _ArgumentGroup.
--
___
Python tracker
<https://bugs.python.org/issue22
Change by Irit Katriel :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue46107>
___
___
Python-bugs-list mailing list
Unsubscrib
Irit Katriel added the comment:
With the patch:
>>> e = ExceptionGroup("eg", [ValueError(1), TypeError(2)])
>>> e.__note__ = "a note"
>>> e.split(ValueError)
(ExceptionGroup('eg', [ValueError(1)]), ExceptionGroup('eg', [TypeError(2)]))
>>&
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28378
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30159
___
Python tracker
<https://bugs.python.org/issu
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset 8d6155ee9d1b05946f951d0ba602b9f63810fe0f by Irit Katriel in
branch 'main':
bpo-45635: Do not suppress errors in functions called from _PyErr_Display
(GH-30073)
https://github.com/python/cpython/commit/8d6155ee9d1b05946f951d0ba602b9f63810fe0f
Change by Irit Katriel :
--
assignee: -> iritkatriel
___
Python tracker
<https://bugs.python.org/issue46107>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Irit Katriel :
>>> e = ExceptionGroup("eg", [ValueError(1), TypeError(2)])
>>> e.__note__ = "a note"
>>> e.split(ValueError)
(ExceptionGroup('eg', [ValueError(1)]), ExceptionGroup('eg', [TypeError(2)]))
>>> e.split(Val
Change by Irit Katriel :
--
pull_requests: +28377
pull_request: https://github.com/python/cpython/pull/30158
___
Python tracker
<https://bugs.python.org/issue45
Irit Katriel added the comment:
Nesting argument groups and mutually exclusive groups is now deprecated (see
issue22047). Thank you for the bug report.
Note Paul's comment about why nesting mutually exclusive groups does not give
you anything in terms of semantics.
--
nosy
Irit Katriel added the comment:
Nesting argument groups and mutually exclusive groups is now deprecated (see
issue22047). Thank you for the bug report.
--
nosy: +iritkatriel
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Deprecate
Irit Katriel added the comment:
Nesting argument groups and mutually exclusive groups is now deprecated (see
issue22047). Thank you for the bug report.
--
nosy: +iritkatriel
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Deprecate
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
Nesting argument groups and mutually exclusive groups is now deprecated (see
issue22047). Thank you for the bug report.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.p
Irit Katriel added the comment:
New changeset 30322c497e0b8d978f7a0de95985aac9c5daf1ac by Irit Katriel in
branch 'main':
bpo-22047: [argparse] deprecate nested argument groups and mutually exclusive
groups (GH-30098)
https://github.com/python/cpython/commit
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset 0194bbbee6a12264e93d3217c774e226f0a1737d by Miss Islington (bot)
in branch '3.10':
bpo-28816: [doc] clarify that zipimport invokes importers only for python files
(GH-30060) (GH-30133)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
New changeset 4c1effaaee472cc67f3186411a3df4f39af3d71a by Miss Islington (bot)
in branch '3.9':
bpo-28816: [doc] clarify that zipimport invokes importers only for python files
(GH-30060) (GH-30134)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
I know that in unittest2 an unexpected success did not cause the test to fail
(when we moved from unittest2 to unittest at work we got test failures due to
unexpected successes that previously did not show up). I don't know the whole
history of how unittest2
Irit Katriel added the comment:
Yes, this is why I don’t understand the request here. When a test fails you
know which assertion was violated or which line raised an exception. When a
multi line test succeeds, you don’t know which line was supposed to fail
New submission from Irit Katriel :
While reviewing a change nearby, Erlend noticed that there is no test coverage
for the multi-line error case in the traceback printing code added in bpo-43914.
See https://github.com/python/cpython/pull/30073#discussion_r770114429
--
messages
Irit Katriel added the comment:
I don't think adding more information from the test would be helpful - when a
test fails you have (and need) information about what happened. But when a test
succeeds the code of the test basically tells you what happened - all the
assertions passed.
I think
Irit Katriel added the comment:
In verbose mode we do get output like the one in the code.google issue:
% cat tmp.py
import unittest
class TestStringMethods(unittest.TestCase):
@unittest.expectedFailure
def test_upper(self):
self.assertEqual(2, 2)
def test_lower(self
Irit Katriel added the comment:
New changeset a951c95a13c3555ac8fb1c8ee615ba3930ccc6f7 by Irit Katriel in
branch 'main':
bpo-28816: [doc] clarify that zipimport invokes importers only for python files
(GH-30060)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
It works for me on 3.11:
% ./python.exe b.py -h
usage: 11 [-h] [-v] 123456
12345
12345
123 [123456
12345
12345
123 ...]
positional arguments:
123456
12345
12345
123
installation targets
options:
-h, --help
Change by Irit Katriel :
--
nosy: -lys.nikolaou
type: performance -> behavior
versions: +Python 3.10, Python 3.11
___
Python tracker
<https://bugs.python.org/issu
Irit Katriel added the comment:
Another issue due to nesting: issue38590.
--
___
Python tracker
<https://bugs.python.org/issue22047>
___
___
Python-bugs-list m
Change by Irit Katriel :
--
title: argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help
specified crashes -> argparse.BooleanOptionalAction with
default=argparse.SUPPRESS and help specified raises exception
___
Python trac
Change by Irit Katriel :
--
pull_requests: +28341
pull_request: https://github.com/python/cpython/pull/30122
___
Python tracker
<https://bugs.python.org/issue45
Change by Irit Katriel :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue17975>
___
___
Python-bugs-list
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset f0b274d2e21e6c7c1c0f56464070108f9bd00d20 by Miss Islington (bot)
in branch '3.9':
bpo-26952: [argparse] clearer error when formatting an empty mutually…
(GH-30099) (GH-30115)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
New changeset 8e4c96295bd78ae5f70b908e5dbac0da7c4c21bd by Miss Islington (bot)
in branch '3.10':
bpo-26952: [argparse] clearer error when formatting an empty mutually…
(GH-30099) (GH-30114)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
New changeset 86de99588db3beff964137f4fe27dd1077a09b35 by Irit Katriel in
branch 'main':
bpo-26952: [argparse] clearer error when formatting an empty mutually…
(GH-30099)
https://github.com/python/cpython/commit/86de99588db3beff964137f4fe27dd1077a09b35
Irit Katriel added the comment:
The way these two opcodes are combined by the compiler to implement except* is
described in the pseudo code here:
https://github.com/python/cpython/pull/29581#issuecomment-975660029
except* uses JUMP_IF_NOT_EG_MATCH. The excepts (not-*) that collect
Irit Katriel added the comment:
The second opcode that the PR adds is PREP_RERAISE_STAR.
This opcode takes a list that contains:
1. all the exceptions that were raised in the executed except* clauses
2. the unmatched part of the exception group
It constructs the exception group that needs
Irit Katriel added the comment:
Changing type. Crash is typically segfault or hang in c code rather than an
exception.
--
nosy: +iritkatriel
type: crash -> behavior
___
Python tracker
<https://bugs.python.org/issu
Irit Katriel added the comment:
The PR adds two new opcodes. Let's start with the simpler of the two -
JUMP_IF_NOT_EG_MATCH. This is the exception-group variation on
JUMP_IF_NOT_EXC_MATCH.
JUMP_IF_NOT_EXC_MATCH checks for a match by checking if the exception is of the
given type
Irit Katriel added the comment:
Thanks, I think we can close this then.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset d60457a6673cf0263213c2f2be02c633ec2e2038 by Irit Katriel in
branch 'main':
bpo-45292: [PEP-654] add except* (GH-29581)
https://github.com/python/cpython/commit/d60457a6673cf0263213c2f2be02c633ec2e2038
Irit Katriel added the comment:
Closed issue26726 as duplicate of this.
--
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11
___
Python tracker
<https://bugs.python.org/issue39
Irit Katriel added the comment:
Closing as duplicate of issue39464, which has a GitHub PR.
--
nosy: +iritkatriel
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> Allow translating argparse er
Irit Katriel added the comment:
This is over a decade old and the discussion is mostly that it's not worth
doing, so I suggest we close.
--
nosy: +iritkatriel
resolution: -> rejected
status: open -> pending
___
Python tracker
Change by Irit Katriel :
--
keywords: +easy
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue26
701 - 800 of 3641 matches
Mail list logo