[issue33065] IDLE debugger: failure stepping through module loading

2020-04-21 Thread Timothy Geiser
Timothy Geiser added the comment: I wish I could be more helpful than to just pipe up with a "this bug affects me, too," note, but wanted to poke this bug report since it's been dormant for 14 months. With Python 3.8.2 I tried using the pgpdump module (version 1.5, installe

[issue33065] IDLE debugger: failure stepping through module loading

2020-04-21 Thread Timothy Geiser
Timothy Geiser added the comment: It looks like the IDLE debugger seems to call repr on objects to present in the Locals list, even before they've been properly initialized. If __repr__ needs to refer to variables that don't exist until __init__ is done (and I don't think it

[issue33065] IDLE debugger: failure stepping through module loading

2020-04-23 Thread Timothy Geiser
Timothy Geiser added the comment: Looks good when testing both the minimal example and the pgpdump original case. I added the import at the top, and changed the original line 173 from value = repr(value) to value = reprlib.repr(value) This is based on lines 160 & 161 in reprlib (we ne

[issue33065] IDLE debugger: failure stepping through module loading

2021-01-09 Thread Timothy Geiser
Timothy Geiser added the comment: This issue is still open, 8.5 months after identifying the underlying cause. What needs done to get a fix for this merged? Manual testing, or adding test cases? Anything I can do to help? I have 3.9.1 successfully built on a Raspberry Pi that I can reproduce

[issue24892] bytes.join() won't take it's own type as the argument

2015-08-18 Thread Timothy Geiser
New submission from Timothy Geiser: You can't join bytes on another bytes object. (Everything below applies to bytearray, as well) >>> x = b'foo' >>> y = b'barbaz' >>> x.join(y) Traceback (most recent call last): File "", li

[issue24892] bytes.join() won't take it's own type as the argument

2015-08-18 Thread Timothy Geiser
Timothy Geiser added the comment: I believe the special case has already been made: iterating over bytes-like objects returns ints. Natually, join() should take the same thing. Also, constructor bytearray(iterable_of_ints), the mutable-sequence expression ba[i:j:k] = t, and the function