Change by Irit Katriel :
--
type: behavior -> enhancement
versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Change by Irit Katriel :
--
resolution: -> works for me
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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 73140de97cbeb01bb6c9af1da89ecb9355921e91 by Hugo van Kemenade in
branch 'main':
bpo-23183: Document the timeit output (GH-30359)
https://github.com/python/cpython/commit/73140de97cbeb01bb6c9af1da89ecb9355921e91
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
Reopening to discuss what the correct behaviour should be.
--
resolution: out of date ->
status: closed -> open
versions: +Python 3.11 -Python 2.7, Python 3.6, Python 3.7, Python 3.8
___
Python tracker
Irit Katriel added the comment:
Apart from the 3.9 backport this is complete.
--
nosy: +iritkatriel, lukasz.langa
versions: -Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue42
Irit Katriel added the comment:
Python 3,7 is no longer maintained. Please create a new issue if you see this
on a current version (>= 3.9) and are able to provide more information.
--
nosy: +iritkatriel
resolution: -> rejected
stage: -> resolved
status: open
Change by Irit Katriel :
--
keywords: -patch
title: mimetypes for python 3.7.5 fails to detect matroska video -> [doc]
clarify what data the mimetypes.MimeTypes class uses
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7
___
Pyt
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
The error() method was removed in issue31844.
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
superseder: -> HTMLParser: undocumented not implemented method
___
Py
Change by Irit Katriel :
--
keywords: +easy
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue45492>
___
___
Pytho
Change by Irit Katriel :
--
keywords: +easy
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue45991>
___
___
Pytho
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 c590b581bba517f81ced2e6f531ccc9e2e22eab5 by Irit Katriel in
branch 'main':
bpo-46328: Add sys.exception() (GH-30514)
https://github.com/python/cpython/commit/c590b581bba517f81ced2e6f531ccc9e2e22eab5
Irit Katriel added the comment:
Thank you Ned.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset 9c2ebb906d1c68c3d571b100c92ceb08805b94cd by Irit Katriel in
branch 'main':
bpo-46344: Fix trace bug in else of try and try-star blocks (GH-30544)
https://github.com/python/cpython/commit/9c2ebb906d1c68c3d571b100c92ceb08805b94cd
Change by Irit Katriel :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue30569>
___
___
Python-bugs-list
Irit Katriel added the comment:
3.7 is no longer maintained. Is this also in newer versions?
Can you submit a pull request to fix it in the main branch?
--
nosy: +iritkatriel
___
Python tracker
<https://bugs.python.org/issue46
Change by Irit Katriel :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Python 3.7.4 does not build on Raspbian Buster with
optimizations
___
Python tracker
<https://bugs.python
Irit Katriel added the comment:
Closed issue38204 as a duplicate of this. I don't know whether the problem
still exists in current python versions.
--
nosy: +iritkatriel
title: Python 3.7.4 does not build on Raspbian Buster -> Python 3.7.4 does not
build on Raspbian Bus
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
Thanks for reporting, but 3.7 is no longer maintained so it's unlikely that
anyone will investigate this anymore. Please create a new issue if you are
seeing this on a current version (>= 3.9).
--
nosy: +iritkatriel
resolution: -> out of date
Irit Katriel added the comment:
>From the discussion is seems like there is nothing that needs to be added to
>the docs. I will close this in a while if nobody objects.
--
nosy: +iritkatriel
status: open -> pending
___
Python tracke
Irit Katriel added the comment:
This is referring to Doc/using/windows.rst
--
assignee: -> docs@python
components: +Documentation
keywords: +easy
nosy: +docs@python, iritkatriel
title: Python (Launcher)3.7.3 CMDLine install/uninstall -> [doc] Clarify the
meaning of /uni
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28742
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30544
___
Python tracker
<https://bugs.python.org/issu
Irit Katriel added the comment:
Yes, you’re right of course ;)
--
___
Python tracker
<https://bugs.python.org/issue46343>
___
___
Python-bugs-list mailin
Irit Katriel added the comment:
Thanks, I have a fix and will make a PR once I've written the test.
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Irit Katriel :
--
keywords: +easy
title: Enhance documentation of os.mkdir() -> [doc] mention that os.mkdir()
raises FileNotFound if path does not exist
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.3, Python 3.4, Python
3.5, Python 3.6, Python
Change by Irit Katriel :
--
keywords: +easy
versions: +Python 3.11 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue28159>
___
___
Pytho
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28733
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30531
___
Python tracker
<https://bugs.python.org/issu
New submission from Irit Katriel :
Following the removal of exc_type and exc_traceback from the interpreter's
active exception in issue45711, we can now provide simplified get-set functions
in the C Api:
PyAPI_FUNC(void) PyErr_GetActiveException(PyObject **);
PyAPI_FUNC(void
Irit Katriel added the comment:
I am unable to reproduce this on 3.11, I get this:
iritkatriel@Irits-MBP cpython % ./python.exe tracer_testcase.py
14
15
16
14
15
16
I am also unable to reproduce the problem in the related issue 16482.
--
nosy: +iritkatriel
status: open -> pend
Irit Katriel added the comment:
iritkatriel@Irits-MBP cpython % cat pdb_traceback.py
import pdb
x = 0
while True:
pdb.set_trace()
y = "line of code not triggering an error"
x += 1
assert x != 3
iritkatriel@Irits-MBP cpython % cat pdb_traceback.py
Change by Irit Katriel :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue6942>
___
___
Python-bugs-list
Change by Irit Katriel :
--
resolution: -> works for me
stage: patch review -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.or
Change by Irit Katriel :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue23902>
___
___
Python-bugs-list
Irit Katriel added the comment:
I added Serhiy as the author of the deepcopy optimization. Although it was the
first to use the 6th item, it is not documented so I wonder if it's the easier
of the two to change.
--
nosy: +iritkatriel
___
Python
Change by Irit Katriel :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue46336>
___
___
Python-bugs-list mailing list
Unsubscribe:
Irit Katriel added the comment:
Cool. I just removed the do-not-merge label from the PR and I guess it's ready
to be reviewed.
--
___
Python tracker
<https://bugs.python.org/issue46
Irit Katriel added the comment:
I thought of something like sys.active_exception() but it seems like a lot to
type. sys.exception() was suggested in pep3134.
Does this change need a pep?
--
___
Python tracker
<https://bugs.python.org/issue46
Irit Katriel added the comment:
Following the changes in issue45711, exc_info[2] is exactly the same as
exc_info[1].__traceback__, so there is no point in making this change now.
--
resolution: -> not a bug
stage: -> resolved
status: open -&g
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 0d639678d33a0f085851a07259b8fe2782943118 by Irit Katriel in
branch 'main':
bpo-46332: use raise..from instead of assigning __cause__ and raising (GH-30517)
https://github.com/python/cpython/commit/0d639678d33a0f085851a07259b8fe2782943118
Change by Irit Katriel :
--
Removed message: https://bugs.python.org/msg410218
___
Python tracker
<https://bugs.python.org/issue46332>
___
___
Python-bugs-list m
Irit Katriel added the comment:
Lib/logging/config.py has this, which looks like it's partly remnants of old
exception handling APIs:
except ImportError:
e, tb = sys.exc_info()[1:]
v = ValueError('Cannot resolve %r: %s' % (s, e))
v.__cause__, v.__traceback__ = e, tb
raise v
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28719
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30517
___
Python tracker
<https://bugs.python.org/issu
Change by Irit Katriel :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue46332>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Irit Katriel :
Lib/logging/config.py has this, which looks like it's partly remnants of old
exception handling APIs:
except ImportError:
e, tb = sys.exc_info()[1:]
v.__cause__, v.__traceback__ = e, tb
raise v
It is clearer if written as:
except ImportError
Change by Irit Katriel :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue46328>
___
___
Python-bugs-list mailing list
Unsubscribe:
Irit Katriel added the comment:
This is part of a larger plan to reduce the footprint of the exc_info triplet
on the language. See
https://gist.github.com/iritkatriel/3927147548b10a7929cb0b680e3adc52
History
--
___
Python tracker
<ht
Change by Irit Katriel :
--
Removed message: https://bugs.python.org/msg410215
___
Python tracker
<https://bugs.python.org/issue46328>
___
___
Python-bugs-list m
Irit Katriel added the comment:
This is part of a larger plan to reduce the footprint of the exc_info footprint
on the language. See
https://gist.github.com/iritkatriel/3927147548b10a7929cb0b680e3adc52
--
___
Python tracker
<ht
Irit Katriel added the comment:
If it takes *args we should assume that it expects the triplet rather than a
single exception. It's not an edge case, it's very common to write __exit__
like that.
--
___
Python tracker
<https://bugs.python.
Irit Katriel added the comment:
I've outlined a different approach here:
https://gist.github.com/iritkatriel/3927147548b10a7929cb0b680e3adc52
Basically, to add introspection capabilities in the C API so that the
interpreter can find out whether __exit__ expects one or three args
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28717
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30514
___
Python tracker
<https://bugs.python.org/issu
New submission from Irit Katriel :
Following to changes in issue45711, the interpreter's internal representation
of the active exception is just the exception instance (the exc_type and
exc_traceback fields were removed).
For backwards compatibility, sys.exc_info() constructs the (typ, val
Change by Irit Katriel :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/
Change by Irit Katriel :
--
stage: needs patch -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue1598083>
___
___
Pyth
Change by Irit Katriel :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue40064>
___
___
Pyth
Irit Katriel added the comment:
Make a PR and we can then tweak it via code reviews, it will be easier.
--
___
Python tracker
<https://bugs.python.org/issue46
Irit Katriel added the comment:
> For this advice (catching Exception and not BaseException) to be correct,
> users should be advised (as they are in the tutorial) to raise exceptions
> derived from Exception (and not BaseException).
I
Irit Katriel added the comment:
Andre, are you saying that we should only RAISE Exception subclasses?
--
___
Python tracker
<https://bugs.python.org/issue46
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 6d07a9fb7cb31433c376a1aa20ea32001da0a418 by Hugo van Kemenade in
branch 'main':
bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360)
https://github.com/python/cpython/commit/6d07a9fb7cb31433c376a1aa20ea32001da0a418
Change by Irit Katriel :
--
keywords: +easy
___
Python tracker
<https://bugs.python.org/issue46291>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Irit Katriel :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue46291>
___
___
Python-bugs-list mailin
Irit Katriel added the comment:
There are other issues in this doc:
1. The paragraph starting with "The except clause may specify a variable after
the exception name.." appears after this face was used in an example. It should
move up.
2. In the User-defined Exceptio
Irit Katriel added the comment:
Andre, I don't follow. The OP is reporting an issue with a line about raising
exceptions. Why is it correct to advise us to raise only Exception subclasses?
--
___
Python tracker
<https://bugs.python.org/issue46
Change by Irit Katriel :
--
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
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
New changeset c55616cf936bd8497d9ff321c03f7379f5f78a0e by Miss Islington (bot)
in branch '3.9':
bpo-46216: remove spurious link to os.system() from os.time() documentation
(GH-30326) (GH-30460)
https://github.com/python/cpython/commit
Irit Katriel added the comment:
If you scroll up, you can see that BaseException was mentioned above:
"All exceptions inherit from BaseException, and so it can be used to serve as a
wildcard"
so I don't think it will add confusion to fix this. And it will be more
accurate.
Gre
Irit Katriel added the comment:
New changeset 273cb8e7577d143830404f6779946a0bedb58758 by Jacob Walls in branch
'main':
bpo-24650: Use full term "generator function" in yield expressions docs
(GH-24663)
https://github.com/python/cpython/commit/273cb8e7577d143830404f6779946a
Change by Irit Katriel :
--
versions: +Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.org/issue24650>
___
___
Python-bugs-list mailing list
Unsub
Irit Katriel added the comment:
This is the check that is preventing qualname being a property:
https://github.com/python/cpython/blob/994f90c0772612780361e1dc5fa5223dce22f70a/Objects/typeobject.c#L2853
Note that it is not the same check used for assignment, which is here:
https
Change by Irit Katriel :
--
keywords: +easy
___
Python tracker
<https://bugs.python.org/issue46279>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Irit Katriel :
--
keywords: +easy
title: bug in dateutil\tz\tz.py -> [doc] Add example of platform-specific
support for negative timestamps to the time doc
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8
___
Pyt
Irit Katriel added the comment:
> I can reproduce the issue on python2.x. I cannot on python3.x.
Did anyone reproduce on python3.X? Why are versions 3.4/3.5 selected?
--
nosy: +iritkatriel
resolution: -> out of date
status: open ->
Irit Katriel added the comment:
Thank you Sam, pkgutil.walk_packages expected None or a list of strings. In
issue24744 an error message was added for a string input as in your example.
--
nosy: +iritkatriel
resolution: -> duplicate
stage: -> resolved
status: open -&g
Change by Irit Katriel :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue33130>
___
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Irit Katriel :
--
keywords: +patch
pull_requests: +28646
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30439
___
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: use the new POP_JUMP_IF_NOT_NONE to simplify except* a bit
type: enhancement
versions: Python 3.11
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 9925e70e4811841556747a77acd89c1a70bf344a by Irit Katriel in
branch 'main':
bpo-45292: [PEP-654] exception groups and except* documentation (GH-30158)
https://github.com/python/cpython/commit/9925e70e4811841556747a77acd89c1a70bf344a
Change by Irit Katriel :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Irit Katriel added the comment:
This is the same as issue32696.
I'm turning this into a documentation issue.
--
assignee: -> docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python, iritkatriel
title: picke cannot dump Exception subclasses with different su
Irit Katriel added the comment:
> Attributes __context__, __cause__ and __traceback__ are not pickled. The
> traceback objects are even not pickleable.
It's not guaranteed that the __cause__ and __context__ are picklable either.
Should we try to pickle them, or should we do
Change by Irit Katriel :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue32696>
___
___
Irit Katriel added the comment:
This isn't really an issue with exceptions, it's just that __reduce__ goes out
of sync with the object's constructor signature. Here's a simple example of the
same:
class Base:
def __init__(self, msg):
self.msg = msg
def __reduce__(self
Change by Irit Katriel :
--
title: subprocess.CalledProcessError's repr changes based on kwargs, and
doesn't unpickle -> pickling and repr of exceptions with kwargs
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5, Python
3.6, Python 3.7, Python
Irit Katriel added the comment:
> I want to known [...] how to implement the logic in code 2 (passing keyword
> only parameter to __new__/__init__ when pickling for class inherted from
> Exception)
This is currently a problem, see issue27015.
--
resolution: -> dup
Irit Katriel added the comment:
> I want to known why it is
It's because Exception implements __reduce__ and that takes precedence over
__getnewargs_ex__. You can see that with this example:
""""
import pickle
class MyException():
def __init__(self, des
Irit Katriel added the comment:
Python 3.6 is no longer maintained. Please create a new issue if you are seeing
this problem on a current (>= 3.9) version of Python.
--
nosy: +iritkatriel
resolution: -> out of date
stage: -> resolved
status: open
Irit Katriel added the comment:
I think this has all been changed by now, in a number of commits.
--
nosy: +iritkatriel
resolution: -> out of date
status: open -> pending
___
Python tracker
<https://bugs.python.org/i
Change by Irit Katriel :
--
resolution: -> out of date
status: open -> pending
___
Python tracker
<https://bugs.python.org/issue34178>
___
___
Python-bugs-
Change by Irit Katriel :
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/issue20854>
___
___
Python-bugs-list
Change by Irit Katriel :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue31137>
___
___
Change by Irit Katriel :
--
keywords: +easy
type: -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issu
601 - 700 of 3641 matches
Mail list logo