[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Change by Irit Katriel : -- Removed message: https://bugs.python.org/msg399763 ___ Python tracker <https://bugs.python.org/issue44895> ___ ___ Python-bugs-list m

[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Irit Katriel added the comment: I'm pretty sure the frame locals is involved. This leaks (not a is being re-raised, not b): - def test_no_hang_on_context_chain_cycle2(): class A(Exception): pass class B(Exception): pass try: try: ra

[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Irit Katriel added the comment: It's probably not that because this leaks too, and it skips the cleanup: try: raise B() except B: b = sys.exc_info()[1] -- ___ Python tracker <https://bugs.py

[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Irit Katriel added the comment: But this makes it not leak again, so now we know it's the traceback: try: raise B() except B: b = sys.exc_info()[1] b.__traceback__ = None -- ___ Python tr

[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Irit Katriel added the comment: This doesn't leak: try: raise B() except B: tb = sys.exc_info()[1].__traceback__ So this isn't about the traceback being part of the cycle. The B() needs to be

[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Irit Katriel added the comment: I'm using a mac. It typically fails within at most 10-20 iterations. -- ___ Python tracker <https://bugs.python.org/is

[issue44895] refleak test failure in test_exceptions

2021-08-17 Thread Irit Katriel
Irit Katriel added the comment: > Could you outline how are you reproducing the leaks? Sorry I missed this. Just run the script: iritkatriel@Irits-MBP cpython-1 % ./python.exe refleak.py -- 1 -- beginning 6 repetitions 123456 .. -- 2 -- beginning 6 repetitions 123456 .. -

[issue20499] Rounding errors with statistics.variance

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11: >>> statistics.pvariance([0,0,1]) 0.4 >>> statistics.variance([0,0,2]) 1.3335 -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Pyth

[issue28327] statistics.geometric_mean gives incorrect results for mixed int/float inputs

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: I can't reproduce this now: >>> statistics.geometric_mean([2, 3, 5, 7]) 3.80675409583932 >>> statistics.geometric_mean([2, 3, 5, 7.0]) 3.80675409583932 >>> statistics.geometric_mean([2, 3, 5.0, 7.0]) 3.80675409583932 >>&g

[issue28111] geometric_mean can raise OverflowError for large input length

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: I can't reproduce this now (tried on mac and windows): >>> statistics.geometric_mean([0.7 for _ in range(5000)]) 0.7 The current geometric_mean was added in PR12638. Is this issue about a previous version? -- nosy

[issue20389] clarify meaning of xbar and mu in pvariance/variance of statistics module

2021-08-20 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4 ___ Python tracker <https://bugs.python.org/issue20

[issue20389] clarify meaning of xbar and mu in pvariance/variance of statistics module

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: I've closed issue36099 as a duplicate of this. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/is

[issue36099] Clarify the difference between mu and xbar in the statistics documentation

2021-08-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> clarify meaning of xbar and mu in pvariance/variance of statistics module ___ Python tracker <https://bugs.python

[issue27353] Add nroot function to math

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: Is this still needed? It was requested for issue27181, which has been resolved by now. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue27

[issue44960] Add regression test for geometric test

2021-08-20 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26315 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27856 ___ Python tracker <https://bugs.python.org/issu

[issue44960] Add regression test for geometric_mean

2021-08-20 Thread Irit Katriel
Change by Irit Katriel : -- title: Add regression test for geometric test -> Add regression test for geometric_mean ___ Python tracker <https://bugs.python.org/issu

[issue39218] Assertion failure when calling statistics.variance() on a float32 Numpy array

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced this on 3.9 and 3.10. This part of the code in main is still the same, so the issue is probably there even though we don't have numpy with which to test. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -

[issue44960] Add regression test for geometric_mean

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: New changeset f5d7a8d29c49ad47254fa098abb7a510e5e7b45e by Irit Katriel in branch 'main': bpo-44960: add regression test for geometric_mean with mixed int/floa… (#27856) https://github.com/python/cpython/commit/f5d7a8d29c49ad47254fa098abb7a5

[issue44960] Add regression test for geometric_mean

2021-08-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21184] statistics.pvariance with known mean does not work as expected

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: I can't reproduce this on 3.11, was it fixed? >>> import statistics >>> data = [1, 2, 2, 2, 3, 4] >>> statistics.pvariance(data) 0. >>> statistics.pvariance(data, 2.5) 0.91

[issue33084] statistics module: NaN handling in median, median_high an median_low

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: Reproduced in 3.11: >>> import numpy as np >>> import statistics as stats >>> data = [75, 90,85, 92, 95, 80, np.nan] >>> stats.median(data) 90 >>> stats.median_low(data) 90 >>> stats.median_high(data) 90

[issue30999] statistics module: add a general selection function

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: Updating the subject according to the discussion. -- nosy: +iritkatriel title: statistics module: add "key" keyword argument to median, mode, ... -> statistics module: add a general selection function versions: +Python 3.1

[issue11479] Add discussion of trailing backslash in raw string to tutorial

2021-08-20 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted into a github PR, and modified according to the feedback on this issue. -- keywords: +easy nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5

[issue14613] time.time can return NaN

2021-08-25 Thread Irit Katriel
Irit Katriel added the comment: The versions field includes 3.2 and 3.3, but from the discussion it seems the problem was only observed in 2.7, and went away after a third party upgrade. It seems unlikely that we will be ably to make more progress on this issue. I propose we close it and

[issue22764] object lifetime fragility in unittest tests

2021-08-25 Thread Irit Katriel
Irit Katriel added the comment: I don't think this test still exists - I tried to search for it and found nothing. In any case, from the discussion it seems that that is left is to tweak the skip mechanism (assuming the patches were applied). I'll close this soon if nobo

[issue25867] os.stat raises exception when using unicode and no locale is set

2021-08-26 Thread Irit Katriel
Irit Katriel added the comment: It's doing this now, so seems like it has been fixed: % env -i ./python.exe Python 3.11.0a0 ... >>> import os >>> os.stat(u"\xf0") Traceback (most recent call last): File "", line 1, in FileNotFoundErr

[issue45017] move opcode-related logic from modulefinder to dis

2021-08-26 Thread Irit Katriel
New submission from Irit Katriel : The modulefinder library module has logic that understands particular opcodes (such as the scan_opcodes method). This should be encapsulated in the dis module, and modulefinder should not process opcodes directly. -- components: Library (Lib

[issue44874] Deprecate Py_TRASHCAN_SAFE_BEGIN/END

2021-08-27 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26439 pull_request: https://github.com/python/cpython/pull/20104 ___ Python tracker <https://bugs.python.org/issue44

[issue40608] PY3.8 GC segfault (Py_TRASHCAN_SAFE_BEGIN/END are not backwards compatible)

2021-08-27 Thread Irit Katriel
Irit Katriel added the comment: Superseeded by deprecation under Issue44874. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue14088] sys.executable generating canonical path

2021-08-27 Thread Irit Katriel
Irit Katriel added the comment: This is still unresolved: iritkatriel@Irits-MBP Lib % pwd /Users/iritkatriel/src/cpython-1/Lib iritkatriel@Irits-MBP Lib % ../python.exe -m test -v test_sys [snipped] == FAIL: test_executable

[issue45021] Race condition in thread.py

2021-08-27 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +pitrou, vstinner ___ Python tracker <https://bugs.python.org/issue45021> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45021] Race condition in thread.py

2021-08-27 Thread Irit Katriel
Irit Katriel added the comment: I'm seeing this (intermittently) on main branch, could be related? iritkatriel@Irits-MBP cpython-1 % ./python.exe Lib/test/test_importlib/partial/pool_in_threads.py Traceback (most recent call last): Traceback (most recent call last): Traceback (most r

[issue33511] Update config.sub

2021-08-27 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> update config.guess and config.sub ___ Python tracker <https://bugs.python

[issue17120] Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h

2021-08-27 Thread Irit Katriel
Irit Katriel added the comment: I can't find pyconfig.h or "#define _POSIX_C_SOURCE" or "#define _XOPEN_SOURCE". If nobody will object I will soon close this issue as out of date. -- nosy: +iritkatriel resolution: -> out of

[issue36521] Consider removing docstrings from co_consts in code objects

2021-08-28 Thread Irit Katriel
Irit Katriel added the comment: > I'd like to remove docstring from code object at all. > func.__doc__ can be set by MAKE_FUNCTION or STORE_ATTR. I think that would require a change in the signature of PyFunction_New. -- ___ Pyt

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2021-08-28 Thread Irit Katriel
Irit Katriel added the comment: They keys are checked now, so I think this is resolved. (Tested on windows and Mac). >>> os.environ[''] = 'X' Traceback (most recent call last): File "", line 1, in File "/Users/iritkatriel/src/cpython/Lib/os.

[issue19027] undefined symbol: _PyParser_Grammar

2021-08-28 Thread Irit Katriel
Irit Katriel added the comment: We no longer have GRAMMAR_H or _PyParser_Grammar in the code. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bug

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-28 Thread Irit Katriel
New submission from Irit Katriel : The compiler generally uses ADDOP_LOAD_CONST to emit a LOAD_CONST, but there are two places that use ADDOP_O(c, LOAD_CONST, Py_None, consts); This is currently equivalent to ADDOP_LOAD_CONST(c, Py_None); It should be replaced because we may soon change

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-28 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26459 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28015 ___ Python tracker <https://bugs.python.org/issu

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-28 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +Mark.Shannon, gvanrossum ___ Python tracker <https://bugs.python.org/issue45039> ___ ___ Python-bugs-list mailing list Unsub

[issue35391] threading.RLock exception handling while waiting

2021-08-28 Thread Irit Katriel
Irit Katriel added the comment: Have you reproduced the issue on 3.8? I am unable to reproduce this on main (on a Mac). Adding Antoine since I think he fixed a few issues in this area. -- nosy: +iritkatriel, pitrou ___ Python tracker <ht

[issue36258] Incorrect docstring of the ssl module

2021-08-28 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue36

[issue39817] CRITICAL: TypeError: cannot pickle 'generator'

2021-08-28 Thread Irit Katriel
Irit Katriel added the comment: Thank you Andrei. -- nosy: +iritkatriel resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45047] Update demo files

2021-08-29 Thread Irit Katriel
New submission from Irit Katriel : Please explain the issue - in what way should the demo files be updated? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue45

[issue36521] Consider removing docstrings from co_consts in code objects

2021-08-30 Thread Irit Katriel
Irit Katriel added the comment: Are you suggesting that anyone who calls PyFunction_New needs to add a doc string assignment following the call? This is public api, so that would break people’s working code. -- ___ Python tracker <ht

[issue45047] Update demo files

2021-08-30 Thread Irit Katriel
Irit Katriel added the comment: The demos directory is described as follows: “This directory contains a collection of demonstration scripts for various aspects of Python programming.“ Which aspect of python programming does the rat in a maze demo cover which is not already covered by the

[issue31299] Add "ignore_modules" option to TracebackException.format()

2021-08-30 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26511 pull_request: https://github.com/python/cpython/pull/28067 ___ Python tracker <https://bugs.python.org/issue31

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2021-08-30 Thread Irit Katriel
Change by Irit Katriel : -- stage: test needed -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue20658> ___ ___ Pyth

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2021-08-30 Thread Irit Katriel
Irit Katriel added the comment: I see, so intercepting the assignment is not enough. Reopening. -- resolution: out of date -> status: closed -> open ___ Python tracker <https://bugs.python.org/i

[issue44895] refleak test failure in test_exceptions

2021-08-30 Thread Irit Katriel
Irit Katriel added the comment: I think the leak happens when we invoke GC while the recursion limit is exceeded. It goes way if make this change: def recurse_in_body_and_except(): try: recurse_in_body_and_except() except RecursionError as e

[issue34135] The results of time.tzname print broken.

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: issue16322 was closed as a duplicate of issue36779 which was fixed. Does that resolve this problem as well? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue34

[issue44895] refleak test failure in test_exceptions

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: Victor - I am also getting a feeling that this may not be a real leak but rather a bug in the refleaks test bookkeeping. It could be a problem with the way _Py_RefTotal is incremented/decremented. -- ___ Python

[issue45039] use ADDOP_LOAD_CONST consistently

2021-08-31 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker <https://bugs.python.or

[issue24981] Add a test which uses the ast module to compile the stdlib

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: I think there is something like this here: https://github.com/python/cpython/blob/22fe0eb13c3441b71b60aaea0e7fe289a29783da/Lib/test/test_ast.py#L1498 -- nosy: +iritkatriel ___ Python tracker <ht

[issue42791] There is no way to json encode object to str.

2021-08-31 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +ezio.melotti, rhettinger ___ Python tracker <https://bugs.python.org/issue42791> ___ ___ Python-bugs-list mailing list Unsub

[issue42791] There is no way to json encode object to str.

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: See also Issue35111. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue42791> ___ ___ Python-bugs-list m

[issue31299] Add "ignore_modules" option to TracebackException.format()

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: New changeset 863154c9292e70c5a8a1a3f22ef4ee42e2304281 by Irit Katriel in branch 'main': bpo-31299: make it possible to filter out frames from tracebacks (GH-28067) https://github.com/python/cpython/commit/863154c9292e70c5a8a1a3f22ef4ee

[issue44895] refleak test failure in test_exceptions

2021-08-31 Thread Irit Katriel
Irit Katriel added the comment: Oh, I see now what you meant. I think you're right that it's cleanup. I changed dash_R_cleanup to put the sys._clear_type_cache() after clear_caches() and the leak is gone: @@ -166,9 +166,6 @@ def dash_R_cleanup(fs, ps, pic, zdc, abcs):

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-01 Thread Irit Katriel
New submission from Irit Katriel : def format_frame(frame) should be renamed to format_frame_summary(frame_summary) because it takes a FrameSummary obejct and not a frame. This is a new API in 3.11 so it can be changed now. There are also local variables in traceback.py which are called

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: There are places where f is used for an arg or local variable which is a frame, so I'll try f_summary when it's a FrameSummary. -- ___ Python tracker <https://bugs.python.o

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26553 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28112 ___ Python tracker <https://bugs.python.org/issu

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: I'm not sure I follow. We don't have a similar issue with StackSummary - there is no interpreter type for "stack" that you can confuse it with. -- ___ Python tracker <https://bug

[issue44895] refleak test failure in test_exceptions

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: With your patch I don't see a leak for refleak.py, but I still see one for ./python.exe -m test -R 3:3 test_exceptions -m test_no_hang_on_context_chain_cycle2 -m test_recursion_normalizing_infinite_exception -m test_recursion_in_except_handl

[issue44895] refleak test failure in test_exceptions

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: I changed it to +for i in range(2): +dash_R_cleanup(fs, ps, pic, zdc, abcs) +support.gc_collect() (loop twice instead of 3 times) and that seems fine too. -- ___ Python tracker

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: Yes, frame_info is good. -- ___ Python tracker <https://bugs.python.org/issue45075> ___ ___ Python-bugs-list mailing list Unsub

[issue44091] traceback & inspect modules should verify that the .py source file matches the one that the running process is using

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: While we're changing code objects, perhaps consider this as well? -- nosy: +gvanrossum, iritkatriel ___ Python tracker <https://bugs.python.org/is

[issue44091] traceback & inspect modules should verify that the .py source file matches the one that the running process is using

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: It's not only a software updates issue - these kinds of problems show up for developers when they change the code on disk while a program is running and some traceback or pdb show code from the disk which is confusing. I also saw an issue about cha

[issue45083] Incorrect exception output in C

2021-09-01 Thread Irit Katriel
New submission from Irit Katriel : iritkatriel@Irits-MBP cpython % cat exc.py class A: class B: class E(Exception): pass raise A.B.E() iritkatriel@Irits-MBP cpython % cat test.py import exc iritkatriel@Irits-MBP cpython % ./python.exe test.py Traceback (most recent call

[issue45083] Incorrect exception output in C

2021-09-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26560 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28119 ___ Python tracker <https://bugs.python.org/issu

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-01 Thread Irit Katriel
Change by Irit Katriel : -- title: Incorrect exception output in C -> Need to use the exception class qualname when rendering exception (in C code) ___ Python tracker <https://bugs.python.org/issu

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-01 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced this on 3.9 and 3.10 as well. -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/is

[issue22764] object lifetime fragility in unittest tests

2021-09-02 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue22764> ___ ___ Python-bugs-list

[issue35190] doc: collections.abc.Sequence cannot be used to test whether a class provides a particular interface

2021-09-02 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: collections.abc.Sequence cannot be used to test whether a class provides a particular interface (doc issue) -> doc: collections.abc.Sequence cannot be used to test whether a class provides a particular interface versions: +Pyt

[issue23864] doc: issubclass without registration only works for "one-trick pony" collections ABCs.

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: See also issue35190. -- keywords: +easy -patch nosy: +iritkatriel title: issubclass without registration only works for "one-trick pony" collections ABCs. -> doc: issubclass without registration only works for "one-trick pony"

[issue32766] 4.7.7. Function Annotations

2021-09-02 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Mistaken notion in tutorial ___ Python tracker <https://bugs.python

[issue41367] Popen Timeout raised on 3.6 but not on 3.8

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: 3.6 is no longer maintained, so even if there was a bug in 3.6 that was fixed in 3.8 we aren't going to be able to do anything about it. If nobody objects I will close this issue soon. -- nosy: +iritkatriel resolution: -> out of date stat

[issue35693] test_httpservers fails

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: Closing as 3.7 is no longer maintained and this problem was not reproduced in 3.8. -- nosy: +iritkatriel resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracke

[issue44226] Threads shutting down in Py 2.7 but not in Py 3.69 while making SSH connection using Paramiko module

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: Closing again. In addition to what Eric said, both 2.7 and 3.6 are no longer maintained so you will need to reproduce the issue on a current version (>= 3.8) for any of us to investigate it. -- nosy: +iritkatriel resolution: remind -> third

[issue39241] Popen of python3.6 hangs on os.read(errpipe_read, 50000)

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: I'm closing this because 1. both 2.7 and 3.6 are no longer maintained 2. This is not an actual bug report (we don't know what the hanging code was doing) so there is no chance of reproducing it. If you are having problems with this in a curre

[issue26375] Python 2.7.10 and 3.4.4 hang on imaplib.IMAP4_SSL()

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: Michal, is still issue still relevant? The url you mention no longer exists so I can't see if it's still reproducible: % nslookup imap.home.pl Server: 192.168.1.254 Address:192.168.1.254#53 ** server can't find imap.ho

[issue37694] Crash when calling zipimport.zipimporter.__new__().()

2021-09-02 Thread Irit Katriel
Irit Katriel added the comment: Closing as 2.7 and 3.6 are no longer maintained, and you say the crash was gone in 3.7+. On 3.11 it indeed doesn't crash: >>> zipimport.zipimporter.__new__(zipimport.zipimporter).find_module('') :158: DeprecationWarning: zipi

[issue41031] Inconsistency in C and python traceback printers

2021-09-03 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 1.0 -> 2.0 pull_requests: +26578 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28139 ___ Python tracker <https://bugs.python.org/i

[issue41031] Inconsistency in C and python traceback printers

2021-09-03 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue41031> ___ ___ Python-bugs-list mailing list Unsub

[issue1514420] Traceback display code can attempt to open a file named ""

2021-09-03 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26582 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28143 ___ Python tracker <https://bugs.python.org/issue1

[issue1514420] Traceback display code can attempt to open a file named ""

2021-09-03 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.10, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue1514420> ___ ___ Pytho

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-03 Thread Irit Katriel
Irit Katriel added the comment: New changeset 0b58e863df9970b290a4de90c67f9ac30c443817 by Irit Katriel in branch 'main': bpo-45075: distinguish between frame and FrameSummary in traceback mo… (GH-28112) https://github.com/python/cpython/commit/0b58e863df9970b290a4de90c67f9a

[issue45075] confusion between frame and frame_summary in traceback module

2021-09-03 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23354] Loading 2 GiLOC file which raises exception causes wrong traceback

2021-09-03 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix status: open -> closed ___ Python tracker <https://bugs.python.org/issue23354> ___ ___ Python-bugs-

[issue25291] better Exception message for certain task termination scenario

2021-09-03 Thread Irit Katriel
Irit Katriel added the comment: This is doing something different now (on 3.11): iritkatriel@Irits-MBP cpython % ./python.exe ttt.py /Users/iritkatriel/src/cpython/ttt.py:5: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() i am task

[issue16731] [doc] xxlimited/xxmodule docstrings ambiguous

2021-09-04 Thread Irit Katriel
Change by Irit Katriel : -- title: xxlimited/xxmodule docstrings ambiguous -> [doc] xxlimited/xxmodule docstrings ambiguous versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue24612] not operator expression raising a syntax error

2021-09-04 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11: >>> 0 + not 0 File "", line 1 0 + not 0 ^^^ SyntaxError: invalid syntax >>> - not 0 File "", line 1 - not 0 ^^^ SyntaxError: invalid syntax -- nosy: +iritkatriel, pa

[issue42959] AttributeError: module 'signal' has no attribute 'SIGHUP'

2021-09-06 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +iritkatriel nosy_count: 6.0 -> 7.0 pull_requests: +26608 pull_request: https://github.com/python/cpython/pull/23688 ___ Python tracker <https://bugs.python.org/issu

[issue42959] AttributeError: module 'signal' has no attribute 'SIGHUP'

2021-09-06 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: -26608 ___ Python tracker <https://bugs.python.org/issue42959> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45112] Python exception object is different after pickle.dumps and pickle.loads

2021-09-06 Thread Irit Katriel
Irit Katriel added the comment: The default __reduce__ method of Exception returns the arg you pass to the Exception constructor: >>> a = ExcA("a banana") >>> a.__reduce__() (, ('missing a banana',)) >>> This is then pickled, and when unpic

[issue30637] Syntax error reported on compile(...), but not on compile(..., ast.PyCF_ONLY_AST)

2021-09-06 Thread Irit Katriel
Irit Katriel added the comment: Adding Pablo, a.k.a The King of Errors. -- nosy: +iritkatriel, pablogsal ___ Python tracker <https://bugs.python.org/issue30

[issue28451] pydoc.safeimport() raises ErrorDuringImport() if __builtin__.__import__ is monkey patched

2021-09-06 Thread Irit Katriel
Irit Katriel added the comment: It is no longer using the traceback check: https://github.com/python/cpython/blob/37272f5800ee1e9fcb2da4a1766366519b9b3d94/Lib/pydoc.py#L445 -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -&g

[issue30060] Crash with subinterpreters and Py_NewInterpreter()

2021-09-06 Thread Irit Katriel
Irit Katriel added the comment: Closing as there was no followup to Eric's question. Please create a new issue if you still see this problem on a version >= 3.9. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: pen

[issue7391] [doc] restore the "Idioms and Anti-Idioms in Python" document

2021-09-06 Thread Irit Katriel
Change by Irit Katriel : -- title: Re-title the "Using Backslash to Continue Statements" anti-idiom -> [doc] restore the "Idioms and Anti-Idioms in Python" document versions: +Python 3.11 -Python 3.2, Python 3.3 ___

[issue18534] [doc] State clearly that open() 'file' param is "name" attr of the result

2021-09-06 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: State clearly that open() 'file' param is "name" attr of the result -> [doc] State clearly that open() 'file' param is "name" attr of the result versions: +Python 3.10, Pyth

[issue28978] a redundant right parentheses in the EBNF rules of parameter_list

2021-09-06 Thread Irit Katriel
Irit Katriel added the comment: This doc has changed, and it's now like this: parameter_list::= defparameter ("," defparameter)* "," "/" ["," [parameter_list_no_posonly]] | parameter_list_no_posonl

<    13   14   15   16   17   18   19   20   21   22   >