[issue30700] fileinput inplace clobbers file without leaving backup on decode errors
Change by Irit Katriel : -- components: +IO ___ Python tracker <https://bugs.python.org/issue30700> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38776] rlock_count<0
Irit Katriel added the comment: rlock_count is an unsigned long, so it can't be negative. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue38776> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40608] PY3.8 GC segfault (Py_TRASHCAN_SAFE_BEGIN/END are not backwards compatible)
Irit Katriel added the comment: Have you had a chance to look into this? It took some debugging to get to the bottom of this problem in our system (nothing in the "what's new in python 3.8" doc gave any hint). The solution I went for was to replace the old macros with the new ones. If it's not easy or desirable to fix the old macros, should they not be removed? -- ___ Python tracker <https://bugs.python.org/issue40608> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40042] Enum Flag: psuedo-members have None for name attribute
Irit Katriel added the comment: I believe this is what Rahul means: import enum class Color(enum.Flag): RED = enum.auto() BLUE = enum.auto() GREEN = enum.auto() white = Color.RED | Color.BLUE | Color.GREEN assert white.name is None # Note, however that: assert str(Color.RED | Color.BLUE | Color.GREEN) == "Color.GREEN|BLUE|RED" -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40042> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40608] PY3.8 GC segfault (Py_TRASHCAN_SAFE_BEGIN/END are not backwards compatible)
Irit Katriel added the comment: I've confirmed that my test still segfaults on master, but if I take the Py_TRASHCAN_SAFE_BEGIN(op) from PR 12607 then it doesn't segfault. -- versions: +Python 3.10, Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue40608> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10
Irit Katriel added the comment: The error is coming from here: https://github.com/python/cpython/blob/cb9879b948a19c9434316f8ab6aba9c4601a8173/Objects/frameobject.c#L958 and CO_MAXBLOCKS is defined in Include/cpython/code.h #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */ This is not about recursion or about exception, it's about static nesting level. There is an example here showing an input that gives the same error with >20 nested while blocks: https://github.com/python/cpython/blob/c8f29ad986f8274fc5fbf889bdd2a211878856b9/Lib/test/test_syntax.py#L545 -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue39934> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10
Irit Katriel added the comment: In summary, I think this is not-a-bug. -- ___ Python tracker <https://bugs.python.org/issue39934> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10
Irit Katriel added the comment: Another oddity: This gives the error: for x in '1': for x in '2': for x in '3': for x in '4': for x in '5': for x in '6': for x in '8': for x in '9': for x in '10': for x in '11': for x in '12': for x in '13': for x in '14': for x in '15': for x in '16': for x in '17': for x in '18': for x in '19': for x in '20': for x in '21': for x in '22': pass but this doesn't: for x in '1': for x in '2': for x in '3': for x in '4': for x in '5': for x in '6': for x in '8': for x in '9': for x in '10': for x in '11': for x in '12': for x in '13': for x in '14': for x in '15': for x in '16': for x in '17': for x in '18': for x in '19': for x in '20': for x in '21': pass else: for x in '22': pass -- ___ Python tracker <https://bugs.python.org/issue39934> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10
Irit Katriel added the comment: On windows 10, master: > python.bat --version Running Release|Win32 interpreter... Python 3.10.0a0 >python.bat x.py Running Release|Win32 interpreter... SyntaxError: too many statically nested blocks That's when x.py has the nested for loops without else. The error goes away if I add the else. -- ___ Python tracker <https://bugs.python.org/issue39934> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10
Irit Katriel added the comment: Unlike the 22 nested while, if 1: if 2: ... if 22: pass doesn't error. Is that correct? -- ___ Python tracker <https://bugs.python.org/issue39934> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33867] Module dicts are wiped on module garbage collection
Irit Katriel added the comment: I also can't reproduce it on a later version. If this is a 2.7/3.6 only problem, should the issue be closed? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue33867> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40813] Line number of SyntaxError
Change by Irit Katriel : -- title: Output SyntaxError is not defective -> Line number of SyntaxError ___ Python tracker <https://bugs.python.org/issue40813> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40813] Output SyntaxError is not defective
Irit Katriel added the comment: I don't think it's true that the lineno is correct when compiling a string (Remi's string is just too short): >>> try: ... compile('if __name__ == "__main__":\n print("hello world"\n x=5\n', '', 'exec') ... except SyntaxError as e: ... print("e.lineno=", e.lineno) ... print("e.offset=", e.offset) ... print("e.text=", e.text) ... e.lineno= 3 e.offset= 4 e.text=x=5 >>> Arguably the syntax error is on line 3. Line 2 can be complemented by a line 3 that will make it valid. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40813> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40042] Enum Flag: psuedo-members have None for name attribute
Irit Katriel added the comment: I see in the code of _create_pseudo_member_ that _name_ is deliberately set to None, and furthermore in __str__ and __repr__ the fact that it is None is used to determine whether self is a composite (pseudo) or not. So first question is whether this should be fixed. If so, I see two options: 1. Establish another way to determine whether self is a composite or not, and change they way _name_ is initialised. 2. Leave _name_ as is, but override name (which currently is defined in Enum and simply returns _name_ but can be redefined to do something else). -- ___ Python tracker <https://bugs.python.org/issue40042> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36255] Provide a simple way to delete and edit python's welcome message
Irit Katriel added the comment: I think this issue can be closed, there is nothing to do on it. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue36255> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37378] FatalError: initfsencoding python couldn't find codec Module not found: Encodings
Irit Katriel added the comment: Is this issue resolved? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue37378> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37378] FatalError: initfsencoding python couldn't find codec Module not found: Encodings
Irit Katriel added the comment: Oh, it's closed, sorry for the noise. -- ___ Python tracker <https://bugs.python.org/issue37378> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41114] "TypeError: unhashable type" could often be more clear
Change by Irit Katriel : -- components: +Interpreter Core type: behavior -> enhancement ___ Python tracker <https://bugs.python.org/issue41114> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41051] Flush file after warning is written
Change by Irit Katriel : -- components: +IO type: -> behavior ___ Python tracker <https://bugs.python.org/issue41051> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39862] Why are the union relationships not implemented by default for ≤ and ≥?
Irit Katriel added the comment: The PEP that Raymond linked to says: "Further smarts could have been added to the comparison mechanism, but this limited set of allowed "swaps" was chosen because it doesn't require the infrastructure to do any processing (negation) of return values. The choice of six special methods was made over a single (e.g. __richcmp__) method to allow the dispatching on the opcode to be performed at the level of the C implementation rather than the user-defined method." The pseudo code you suggested assumes that the results of comparisons can be interpreted as booleans, which not always correct and makes your suggestion under-specified. It is not easy to devise a sound and intuitive composition of boolean expressions whose semantics are user-defined. As an aside, I think for the boolean case it is enough that one of them is not NotImplemented, so your pseudo code should have been: def __le__(self, other): result_1 = self.__lt__(other) result_2 = self.__eq__(other) if result_1 is NotImplemented and result_2 is NotImplemented: return NotImplemented return result_1 or result_2 -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue39862> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41866] Document error in chinese version of contextlib.
Irit Katriel added the comment: You might find some information here: https://devguide.python.org/documenting/#translating -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue41866> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11305] TextIOWrapper.readline and str.splitlines have different behavior
Irit Katriel added the comment: I think this documentation enhancement was done under issue36642 (PR 12855). -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue11305> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11305] TextIOWrapper.readline and str.splitlines have different behavior
Irit Katriel added the comment: Sorry, I copied the wrong numbers. The doc change is here: https://github.com/python/cpython/commit/8218bd4caf683ee98c450a093bf171dbca6c4849 -- ___ Python tracker <https://bugs.python.org/issue11305> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40670] supplying an empty string to timeit causes an IndentationError
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python type: -> behavior ___ Python tracker <https://bugs.python.org/issue40670> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37105] Add deprecated-remove information on stream doc
Irit Katriel added the comment: I think this issue can be closed because the deprecation info was added. If it's staying open for the actual removal in 3.10, should the title change accordingly? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue37105> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41824] Docs for typing.ForwardRef don't state that it was added in 3.7
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python title: Docs for typing.ForwardRef don't state that is was added in 3.7 -> Docs for typing.ForwardRef don't state that it was added in 3.7 ___ Python tracker <https://bugs.python.org/issue41824> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40181] IDLE: remove positional-only note from calltips
Change by Irit Katriel : -- assignee: -> terry.reedy components: +IDLE ___ Python tracker <https://bugs.python.org/issue40181> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35767] unittest loader doesn't work with partial test functions
Irit Katriel added the comment: Can this be closed now? -- components: +Tests nosy: +iritkatriel type: -> behavior ___ Python tracker <https://bugs.python.org/issue35767> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40935] Links to Python3 docs for some libs return 404
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python type: -> behavior ___ Python tracker <https://bugs.python.org/issue40935> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38068] clean up configure logic for gettimeofday
Irit Katriel added the comment: Can this be closed now? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue38068> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37263] spawn asyncio subprocesses in a thread pool
Change by Irit Katriel : -- components: +asyncio nosy: +yselivanov type: -> performance ___ Python tracker <https://bugs.python.org/issue37263> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29745] asyncio: Make pause/resume_reading idepotent and no-op for closed transports
Irit Katriel added the comment: Looks like this was done under issue32356, so this issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue29745> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29745] asyncio: Make pause/resume_reading idepotent and no-op for closed transports
Change by Irit Katriel : -- components: +asyncio nosy: +asvetlov, yselivanov type: -> behavior ___ Python tracker <https://bugs.python.org/issue29745> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36255] Provide a simple way to delete and edit python's welcome message
Irit Katriel added the comment: Raymond, I think you intended to close this but missed a click. -- ___ Python tracker <https://bugs.python.org/issue36255> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15877] xml.dom.minidom cannot parse ISO-2022-JP
Irit Katriel added the comment: I don't see this problem on 3.10. Is this still an issue or can this issue be closed? Running Release|Win32 interpreter... Python 3.10.0a0 (heads/bpo17490-dirty:00eb063b66, Sep 27 2020, 13:20:24) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> c = u'\u65e5\u672c\u8a9e' >>> import xml.dom.minidom >>> xml.dom.minidom.parseString('>> ?>%s' % c.encode('UTF-8')) >>> xml.dom.minidom.parseString('>> ?>%s' % c.encode('ISO-2022-JP')) >>> -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue15877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31256] xml.etree.ElementTree: add support for doctype in tostring method
Irit Katriel added the comment: It looks like PR 12225 resolved this issue. Can this be closed then? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue31256> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15128] inspect raises exception when frames are misleading about source line numbers
Irit Katriel added the comment: I think this was fixed by now: I changed the script to print the result: ** import inspect, sys # /etc/hostname is one line, but our source has multiple lines code = compile('\n\n\n1/0', '/etc/hostname', 'exec') try: exec(code, {}) except Exception: tb = sys.exc_info()[2] else: assert False, "unreachable, exec should always raise exception" # this fails with an IndexError print(inspect.getinnerframes(tb)) ** and I got this output: C:\Users\User\src\cpython>python.bat x.py Running Release|Win32 interpreter... [FrameInfo(frame=>, filename='C:\\Users\\User\\src\\cpython\\x.py', lineno=7, function='', code_context=['exec(code, {})\n'], index=0), FrameInfo(frame=>, filename='/etc/hostname', lineno=4, function='', code_context=None, index=None)] -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue15128> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11414] Add import fix for email.Message
Irit Katriel added the comment: Ah sorry this is about adding a 2to3 fixer. I thought the request was to put Message back in __all__. A fixer may still be relevant. -- ___ Python tracker <https://bugs.python.org/issue11414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11414] Add import fix for email.Message
Irit Katriel added the comment: It this still relevant? Presumably anyone who was going to be broken has been broken by now and moved to lower case message. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue11414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27139] Increased test coverage for statistics.median_grouped
Irit Katriel added the comment: This issue can be closed - the added tests have been merged. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue27139> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23833] email.header.Header folding modifies headers that include semi-colons
Irit Katriel added the comment: David, if this was fixed in Python 3 as you say then this issue can be closed now. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue23833> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29107] traceback module incorrectly formats args-less syntax errors
Irit Katriel added the comment: As stated above, this has been fixed in python 3: ** C:\Users\User\src\cpython>type x.py def f(x): global x C:\Users\User\src\cpython>python.bat Running Release|Win32 interpreter... Python 3.10.0a0 (heads/bpo11414-dirty:6595cb0af4, Sep 18 2020, 19:01:13) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import traceback >>> import x Traceback (most recent call last): File "", line 1, in File "C:\Users\User\src\cpython\x.py", line 2 global x ^ SyntaxError: name 'x' is parameter and global >>> try: ... import x ... except: ... traceback.print_exc() ... Traceback (most recent call last): File "", line 2, in File "C:\Users\User\src\cpython\x.py", line 2 global x ^ SyntaxError: name 'x' is parameter and global >>> ** >>> e = SyntaxError("some message", ("myfile.py", None, None, None)) >>> raise e Traceback (most recent call last): File "", line 1, in SyntaxError: some message (myfile.py) >>> try: ... raise e ... except: ... traceback.print_exc() ... Traceback (most recent call last): File "", line 2, in File "", line 2, in File "", line 1, in File "myfile.py", line None SyntaxError: some message ** >>> e = SyntaxError("some message", ("myfile.py", 3, 10, "hello")) >>> raise r Traceback (most recent call last): File "", line 1, in NameError: name 'r' is not defined >>> raise e Traceback (most recent call last): File "", line 1, in File "myfile.py", line 3 hello ^ SyntaxError: some message >>> try: ... raise e ... except: ... traceback.print_exc() ... Traceback (most recent call last): File "", line 2, in File "", line 1, in File "myfile.py", line 3 hello ^ SyntaxError: some message -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue29107> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11414] Add import fix for email.Message
Change by Irit Katriel : -- keywords: +patch pull_requests: +21359 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22313 ___ Python tracker <https://bugs.python.org/issue11414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11414] Add import fix for email.Message
Change by Irit Katriel : -- type: -> behavior versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue11414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29107] traceback module incorrectly formats args-less syntax errors
Irit Katriel added the comment: Since this is a python 2-only issue, I think this issue can be closed. -- ___ Python tracker <https://bugs.python.org/issue29107> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30166] Import command-line parsing modules only when needed
Irit Katriel added the comment: Looks like the backport was done and this issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue30166> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30974] Update os.samefile docstring to match documentation
Irit Katriel added the comment: Since backport to 2.7 is no longer relevant, I think this issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue30974> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"
Irit Katriel added the comment: Looks like this is complete and can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue9146> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29887] test_normalization doesn't work
Irit Katriel added the comment: Looks like this is complete and can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue29887> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange
Irit Katriel added the comment: Backport to 2.7 is no longer relevant, so I think this issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue29334> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37408] [DOC] Precise that Tarfile "format" argument only concerns writing.
Irit Katriel added the comment: I think this is complete and can now be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue37408> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33813] Update overdue 'Deprecated ... removed in 3.x' messages
Irit Katriel added the comment: This looks like a duplicate of issue27032 so I think it can be closed now. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue33813> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34514] assertEqual doesn't use maxDiff when comparing dictionaries
Irit Katriel added the comment: I think this can be closed as not a bug, unless Victor can clarify with an example script why there is an issue. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue34514> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33561] Add .tostring() method to xml.etree.ElementTree.Element
Irit Katriel added the comment: Should this issue be closed as 'rejected', or is there anything left to do? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue33561> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34422] __name__ not available for classes in typing module
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python versions: +Python 3.10, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27032] Remove deprecated html.parser.HTMLParser.unescape()
Irit Katriel added the comment: This issue can be closed now. -- ___ Python tracker <https://bugs.python.org/issue27032> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40838] inspect.getsourcefile documentation doesn't mention it can return None
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python type: -> behavior ___ Python tracker <https://bugs.python.org/issue40838> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24427] subclass of multiprocessing Connection segfault upon attribute acces
Irit Katriel added the comment: The fact that a bug was discovered a long time ago doesn't say anything about its relevance (hence old issues are not automatically closed). In this case I believe the bug is no longer relevant and therefore the issue can be closed. -- ___ Python tracker <https://bugs.python.org/issue24427> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41114] "TypeError: unhashable type" could often be more clear
Irit Katriel added the comment: I think it's reasonable to discuss the problem on python-ideas rather than on a bugs issue, when it's not obvious what the right solution is. -- ___ Python tracker <https://bugs.python.org/issue41114> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17490] Improve ast.literal_eval test suite coverage
Irit Katriel added the comment: I just noticed that the patch by Serhiy has unit tests for this case, expecting ValueError. So this is apprently a feature and not a bug. -- ___ Python tracker <https://bugs.python.org/issue17490> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41114] "TypeError: unhashable type" could often be more clear
Irit Katriel added the comment: Do you think it would help if the exception was of type UnhashableType (subclass of TypeError)? This would give the user a hint that this error is a thing which is worth looking for in the docs and understanding. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue41114> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17490] Improve ast.literal_eval test suite coverage
Irit Katriel added the comment: I think this is a bug in literal_eval: >>> 3+6j (3+6j) >>> 6j+3 (3+6j) >>> ast.literal_eval('3+6j') (3+6j) >>> ast.literal_eval('6j+3') Traceback (most recent call last): File "", line 1, in File "C:\Users\User\src\cpython\lib\ast.py", line 105, in literal_eval return _convert(node_or_string) File "C:\Users\User\src\cpython\lib\ast.py", line 104, in _convert return _convert_signed_num(node) File "C:\Users\User\src\cpython\lib\ast.py", line 78, in _convert_signed_num return _convert_num(node) File "C:\Users\User\src\cpython\lib\ast.py", line 69, in _convert_num _raise_malformed_node(node) File "C:\Users\User\src\cpython\lib\ast.py", line 66, in _raise_malformed_node raise ValueError(f'malformed node or string: {node!r}') ValueError: malformed node or string: literal_eval accepts complex rhs, but not lhs: https://github.com/python/cpython/blame/master/Lib/ast.py#L99 if isinstance(left, (int, float)) and isinstance(right, complex): This was introduced here, I'm not sure why: https://github.com/python/cpython/commit/d8ac4d1d5ac256ebf3d8d38c226049abec82a2a0 In Nick's aborted patch, he removed that check. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue17490> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24427] subclass of multiprocessing Connection segfault upon attribute acces
Irit Katriel added the comment: I think this issue is out of date. 1. I replaced the import statement in the script by "from multiprocessing.connection import Connection" and it gave "AttributeError: 'Crash' object has no attribute 'bar'" rather than a segfault. 2. I can't find "ConnectionObject" in the current codebase. -- components: +Interpreter Core nosy: +iritkatriel type: -> crash ___ Python tracker <https://bugs.python.org/issue24427> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40471] Grammar typo in issubclass docstring
Irit Katriel added the comment: Should this PR be backported? Otherwise this issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40471> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13790] In str.format an incorrect error message for list, tuple, dict, set
Irit Katriel added the comment: This seems complete. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue13790> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18228] AIX locale parsing failure
Irit Katriel added the comment: Looks like this can be closed. -- nosy: +iritkatriel status: pending -> open ___ Python tracker <https://bugs.python.org/issue18228> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40391] io.FileIO.mode doesn't comply with the docs
Irit Katriel added the comment: The mode string is calculated here: https://github.com/python/cpython/blob/master/Modules/_io/fileio.c#L1055 and is based on these four values in the fileio struct: unsigned int created : 1; unsigned int readable : 1; unsigned int writable : 1; unsigned int appending : 1; This is not enough information to distinguish between r+ and w+. That distinction was lost in _io_FileIO___init___impl, where it specified the flags that went into creating fd, but these flags are not saved. The bit fields in this struct add up to 7 bits, so it seems possible to fix this if another bit is allocated for this purpose. If it's not worth it, then the documentation needs to change a little. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40391> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41898] Any logging causes assertLogs to pass
Irit Katriel added the comment: You didn't specify the logger in the assertLogs() call. The documentation says that "The default is the root logger, which will catch all messages." https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertLogs This is behaving as expected. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue41898> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41898] Any logging causes assertLogs to pass
Change by Irit Katriel : -- keywords: +patch pull_requests: +21531 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22526 ___ Python tracker <https://bugs.python.org/issue41898> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32192] Provide importlib.util.lazy_import helper function
Irit Katriel added the comment: This seems complete. Can is be closed? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue32192> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33235] Better help text for dict.setdefault
Irit Katriel added the comment: The help message is now: Help on method_descriptor: setdefault(self, key, default=None, /) Insert key with a value of default if key is not in the dictionary. Return the value for key if key is in the dictionary, else default. This issue should be closed as out of date. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue33235> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40348] Programming FAQ about "What is delegation?": Fix typos
Irit Katriel added the comment: This issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40348> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36568] Typo in socket.CAN_RAW_FD_FRAMES library documentation
Irit Katriel added the comment: This issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue36568> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40202] Misleading grammatically of ValueError Message?
Irit Katriel added the comment: I think this can be closed as a duplicate of 39816. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40202> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29986] Documentation recommends raising TypeError from tp_richcompare
Irit Katriel added the comment: Looks like this issue can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue29986> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30953] Fatal python error when jumping into except clause
Irit Katriel added the comment: This seems resolved. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue30953> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37490] poor documentation for .startswith, .endswith
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issue37490> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41277] documentation: os.setxattr() errno EEXIST and ENODATA
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issue41277> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26214] textwrap should minimize number of breaks in extra long words
Change by Irit Katriel : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue26214> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34798] pprint ignores the compact parameter for dicts
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issue34798> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41755] Docs: Please remove `from distutils.core import setup`
Change by Irit Katriel : -- components: +Distutils ___ Python tracker <https://bugs.python.org/issue41755> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40530] distutils/cygwinccompiler.py doesn't support recent msvc versions
Change by Irit Katriel : -- components: +Distutils nosy: +dstufft, eric.araujo ___ Python tracker <https://bugs.python.org/issue40530> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41134] distutils.dir_util.copy_tree FileExistsError when updating symlinks
Change by Irit Katriel : -- components: +Distutils nosy: +dstufft, eric.araujo type: -> behavior ___ Python tracker <https://bugs.python.org/issue41134> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40430] ast.Slice is no longer a subclass of ast.slice
Irit Katriel added the comment: Looks like the answer is: it is a deliberate change, not a bug. Should this issue be closed? -- components: +Library (Lib) nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue40430> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40534] ShUtil doc deficiencies
Irit Katriel added the comment: for copy and copy2 it doesn't say anything about what happens if dst exists. for copy file, copy tree and move it does. -- assignee: -> docs@python components: +Documentation nosy: +docs@python, iritkatriel ___ Python tracker <https://bugs.python.org/issue40534> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29526] Documenting format() function
Irit Katriel added the comment: It looks like this is complete and can be closed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue29526> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35286] wrong result for difflib.SequenceMatcher
Irit Katriel added the comment: Can this issue be closed? It looks like Boris simply misunderstood the semantics of difflib, which Raymond has clarified. -- components: +Library (Lib) nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue35286> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37963] No URL for docs of pth files
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issue37963> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1690840] xmlrpclib methods submit call on __str__, __repr__
Irit Katriel added the comment: Since this was fixed in python 3, and the backport to python 2 is no longer relevant, I think this issue can now be closed. -- ___ Python tracker <https://bugs.python.org/issue1690840> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1690840] xmlrpclib methods submit call on __str__, __repr__
Irit Katriel added the comment: Python 3.10.0a0 (heads/master:6595cb0af4, Sep 18 2020, 12:33:44) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import xmlrpc.client >>> s = xmlrpc.client.ServerProxy("http://google.com;) >>> print(s.somecall) >>> -- nosy: +iritkatriel status: pending -> open ___ Python tracker <https://bugs.python.org/issue1690840> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings
Irit Katriel added the comment: Since there won't be a python 2.7 backport, should this issue be closed? -- nosy: +iritkatriel status: pending -> open ___ Python tracker <https://bugs.python.org/issue10117> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28964] AST literal_eval exceptions provide no information about line number
Irit Katriel added the comment: Steve, are you planning to work on porting this patch to github? Note: it would need a unit test, and also node is not guaranteed to have a lineno field. -- nosy: +iritkatriel status: pending -> open ___ Python tracker <https://bugs.python.org/issue28964> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37575] Python Documentation on strings (tutorial section 3.1.2.)
Irit Katriel added the comment: I think this issue can be closed (not a bug). -- nosy: +iritkatriel status: pending -> open ___ Python tracker <https://bugs.python.org/issue37575> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23510] multiprocessing bug SyncManager and 'with'
Irit Katriel added the comment: I don't see this problem in python 3.10. Is it a python 2-only issue, and if so then can this issue be closed? Running Release|Win32 interpreter... Python 3.10.0a0 (heads/bpo-24792-dirty:1e183f4de5, Sep 14 2020, 15:53:51) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing.managers >>> with multiprocessing.managers.SyncManager() as s: ... print("here") ... here >>> -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue23510> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39524] Escape sequences in doc string of ast._pad_whitespace
Irit Katriel added the comment: The backport of the patch to 3.8 has failed. -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue39524> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40407] Zipfile couldn`t recognized character set rightly.
Change by Irit Katriel : -- components: +Library (Lib) -2to3 (2.x to 3.x conversion tool) ___ Python tracker <https://bugs.python.org/issue40407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41819] Fix some compiler warnings
Irit Katriel added the comment: Can you give more details about what you're fixing: what were the compiler warnings, which compiler (and which version of the compiler), which system? Also, why did you create the PR against the 3.9 branch rather than master? -- nosy: +iritkatriel ___ Python tracker <https://bugs.python.org/issue41819> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24078] inspect.getsourcelines ignores context and returns wrong line #
Irit Katriel added the comment: I think this was fixed under issue35113. -- nosy: +iritkatriel, xtreak ___ Python tracker <https://bugs.python.org/issue24078> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29108] Documentation: Clarify role of callback with map_async
Change by Irit Katriel : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python title: Python 3.6.0 multiprocessing map_async callback -> Documentation: Clarify role of callback with map_async ___ Python tracker <https://bugs.python.org/issue29108> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33085] *** Error in `python': double free or corruption (out): 0x00007ff5254d50d0 ***
Change by Irit Katriel : -- components: -2to3 (2.x to 3.x conversion tool) ___ Python tracker <https://bugs.python.org/issue33085> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com