[issue22543] -W option cannot use non-standard categories

2022-03-11 Thread Michael Merickel
Michael Merickel added the comment: Updated affected versions as I ran into this on 3.9.7. -- nosy: +mmerickel versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue22

[issue46810] multiprocessing.connection.Client doesn't support ipv6

2022-02-20 Thread Michael Hupfer
New submission from Michael Hupfer : Hi there, connecting a multiprocessing.connection.Client to an ipv6 address is not possible, since the address family is not passed into the constructor of class SocketClient. The constructor determines the family by calling address_type(address), which

[issue46764] Wrapping a bound method with a @classmethod no longer works

2022-02-15 Thread Michael J. Sullivan
Change by Michael J. Sullivan : -- keywords: +patch pull_requests: +29517 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31367 ___ Python tracker <https://bugs.python.org/issu

[issue46764] Wrapping a bound method with a @classmethod no longer works

2022-02-15 Thread Michael J. Sullivan
New submission from Michael J. Sullivan : class A: def foo(self, cls): return 1 class B: pass class B: bar = classmethod(A().foo) B.bar() In Python 3.8 and prior, this worked. Since Python 3.9, it produces "TypeError: A.foo() missing 1 required positional argument: 

[issue12029] Allow catching virtual subclasses in except clauses

2022-02-07 Thread Michael McCoy
Michael McCoy added the comment: Checking my comment history here, a past me was terribly bad at linking the correct PR on github.This is the correct link: https://github.com/python/cpython/pull/6461 On Mon, Feb 7, 2022 at 10:12 AM Guido van Rossum wrote: > > Guido van Rossum add

[issue40170] [C API] Prepare PyTypeObject structure for a stable ABI: avoid accessing members in the public API

2022-01-28 Thread Michael Felt
Change by Michael Felt : -- nosy: -Michael.Felt ___ Python tracker <https://bugs.python.org/issue40170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46557] Logging captured warnings with a format string unnecessarily groups warnings together

2022-01-27 Thread Michael P. Nitowski
Michael P. Nitowski added the comment: Of course, here's an example script to reproduce: ``` import logging import warnings import sentry_sdk from sentry_sdk.integrations.logging import LoggingIntegration logging.captureWarnings(True) sentry_logging = LoggingIntegration(

[issue46557] Logging captured warnings with a format string unnecessarily groups warnings together

2022-01-27 Thread Michael P. Nitowski
Change by Michael P. Nitowski : -- keywords: +patch pull_requests: +29154 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30975 ___ Python tracker <https://bugs.python.org/issu

[issue46557] Logging captured warnings with a format string unnecessarily groups warnings together

2022-01-27 Thread Michael P. Nitowski
New submission from Michael P. Nitowski : Systems that aggregate logs like Sentry will group all captured warnings under the same event which makes it difficult to assess common warnings -- components: Library (Lib) messages: 411947 nosy: mnito priority: normal severity: normal status

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-11-15 Thread Michael Curran
Michael Curran added the comment: PR: https://github.com/python/cpython/pull/26204 Looks like a maintainer needs to allow a workflow to run for the remaining checks. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-11-15 Thread Michael Curran
Michael Curran added the comment: As requested, I created a pr which adds a test to show the crash. It is marked as expected failure on 32 bit (x86) and runs successfully as expected on x64. What would be the next steps in moving this issue forward? I don't think I have the knowledge

[issue45771] urllib.request.urlopen can leak socket.timeout to callers

2021-11-09 Thread Michael Thorpe
Change by Michael Thorpe : -- keywords: +patch pull_requests: +27748 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29499 ___ Python tracker <https://bugs.python.org/issu

[issue45771] urllib.request.urlopen can leak socket.timeout to callers

2021-11-09 Thread Michael Thorpe
New submission from Michael Thorpe : urllib.request.urlopen can raise socket.timeout, outside of the documented contract, if reading response data times out. -- components: Library (Lib) messages: 406038 nosy: thorpe-dev priority: normal severity: normal status: open title

[issue35828] test_multiprocessing_fork: segmentation error in PyDict_GetItem on AIX

2021-11-06 Thread Michael Felt
Michael Felt added the comment: I stopped running my bot. I have no idea if this is also an issue on 3.9+ And since noone will look at this in it's present state. I'd recommend closing. -- ___ Python tracker <https://bugs.python.o

[issue45686] ElementTree.Element.extend: bad error message when error occurs in generator

2021-11-01 Thread Michael Wayne Goodman
New submission from Michael Wayne Goodman : Both the Python and C versions of xml.etree.ElementTree allow Element.extend() to accept a sequence or an iterable, such as a generator expression (although the docs only mention "sequence"; that's a separate problem): >>&g

[issue40885] Cannot pipe GzipFile into subprocess

2021-10-22 Thread Michael Herrmann
Michael Herrmann added the comment: I just encountered what seems to be the inverse problem of this issue: #45585 -- nosy: +mherrmann.at ___ Python tracker <https://bugs.python.org/issue40

[issue45585] Gzipping subprocess output produces invalid .gz file

2021-10-22 Thread Michael Herrmann
New submission from Michael Herrmann : Consider the following: import gzip import subprocess with gzip.open('test.gz', 'wb') as f: subprocess.run(['echo', 'hi'], stdout=f) with gzip.open('test.gz', 'rb') as f: print(f.re

[issue45528] mmap: constants not listed in the documentation

2021-10-21 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Also, the first sentences of third paragraph have some problems: > For both the Unix and Windows versions of the constructor, > access may be specified as an optional keyword > parameter. access accepts one of four values: ACCESS_READ, >

[issue39247] dataclass defaults and property don't work together

2021-10-21 Thread Michael Robellard
Michael Robellard added the comment: An example of multiple descriptors would be to have: @cached_property @property def expensive_calc(self): #Do something expensive -- ___ Python tracker <https://bugs.python.org/issue39

[issue39247] dataclass defaults and property don't work together

2021-10-21 Thread Michael Robellard
Michael Robellard added the comment: I can confirm that Juan Arrivillaga (juanpa.arrivillaga) workaround does work. Given that it works, then wouldn't it be relatively trivial to do what Thomas701 suggests and add a descriptor parameter to fields. Then apply the descriptor after al

[issue45528] mmap: constants not listed in the documentation

2021-10-19 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: I have added a draft PR on GitHub that adds the lists of constants. As mentioned in the PR, there are a few things that I think could be added before merging: 1. Update descriptions in mmap.mmap, and maybe the intro, to link to relevant sections. 2

[issue45528] mmap: constants not listed in the documentation

2021-10-19 Thread Michael Wayne Goodman
Change by Michael Wayne Goodman : -- keywords: +patch pull_requests: +27343 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29075 ___ Python tracker <https://bugs.python.org/issu

[issue45528] mmap: constants not listed in the documentation

2021-10-19 Thread Michael Wayne Goodman
New submission from Michael Wayne Goodman : Some constants mentioned in the mmap module documentation are not listed as module contents (i.e., with permalinks), so the mentions do not appear as links and it's not explicit that they are in the mmap module namespace. For instance, ACCESS

[issue45384] Accept Final as indicating ClassVar for dataclass

2021-10-14 Thread Michael Sullivan
Michael Sullivan added the comment: I tend to agree with Carl that making Final imply ClassVar for dataclass would make things worse. For better or worse (mostly better, but there are downsides like this!), dataclass class bodies are essentially written in their own domain specific

[issue43329] Multiprocessing Manager Client Not Reconnecting

2021-10-02 Thread Michael L. Boom
Michael L. Boom added the comment: Is there anything that I can do, or the company I work for can do, to get a developer assigned to fix this bug? It is hard to use multiprocessing remote method calls without this bug being fixed. The software wouldn't be robust enough for produ

[issue45093] Add method to compare dicts accounting for order

2021-09-03 Thread Michael Rans
Michael Rans added the comment: Thanks for all your help and advice. -- ___ Python tracker <https://bugs.python.org/issue45093> ___ ___ Python-bugs-list mailin

[issue45093] Add method to compare dicts accounting for order

2021-09-03 Thread Michael Rans
Michael Rans added the comment: Thank you. Another case is in round trip processing of JSON or YML. Other cases are where you would prefer an OrderedDict over a dict. I think the method would help clarify things because it would make it obvious that it is for ordered comparisons while the

[issue45093] Add method to compare dicts accounting for order

2021-09-02 Thread Michael Rans
Michael Rans added the comment: My use case is in testing. Currently I use an OrderedDict, but since dict introduced ordering in 3.7, I was considering switching. For my test, I need to check that the dictionary is the same both in content and order. I can indeed use your one liner, but

[issue45093] Add method to compare dicts accounting for order

2021-09-02 Thread Michael Rans
Change by Michael Rans : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue45093> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45093] Add method to compare dicts accounting for order

2021-09-02 Thread Michael Rans
New submission from Michael Rans : I suggest adding a method that allows comparing dicts taking into account the order - an ordered compare (since == does not do that). (Also for my other issue (https://bugs.python.org/issue45092) where I suggested that set be ordered to reduce confusion

[issue45092] Make set ordered like dict

2021-09-02 Thread Michael Rans
New submission from Michael Rans : Now that dict is ordered, it is a bit confusing that set isn't as well. I suggest making set ordered too. -- messages: 400974 nosy: mcarans priority: normal severity: normal status: open title: Make set ordered like dict type: behavior ver

[issue44817] os.path.realpath fails with WinError 161

2021-08-05 Thread Michael Förderer
Michael Förderer added the comment: Done. -- ___ Python tracker <https://bugs.python.org/issue44817> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44817] os.path.realpath fails with WinError 161

2021-08-04 Thread Michael Förderer
Michael Förderer added the comment: Updated with ERROR_BAD_NETPATH (53). What about following errors: - ERROR_LOCK_VIOLATION (33) - ERROR_DEV_NOT_EXIST (52) - ERROR_BAD_NET_RESP (58) - ERROR_UNEXP_NET_ERR (59) - ERROR_NETNAME_DELETED (64) - ERROR_NETWORK_ACCESS_DENIED (65) - ERROR_BAD_DEV_TYPE

[issue44817] os.path.realpath fails with WinError 161

2021-08-02 Thread Michael Förderer
Change by Michael Förderer : -- keywords: +patch pull_requests: +26081 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27574 ___ Python tracker <https://bugs.python.org/issu

[issue44817] os.path.realpath fails with WinError 161

2021-08-02 Thread Michael Förderer
New submission from Michael Förderer : Using os.path.realpath(...) in the MVFS of Clearcase SCM (virtual file system) in Windows 10 a exception occures: X:\my_view\tools\python\3_8>python.exe Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32 T

[issue44790] Recursion causes Crash

2021-07-30 Thread Michael Wang
New submission from Michael Wang : Ultimately it seems that deep recursion after setting the recursion limit actually crashes python -- components: Interpreter Core files: bug.py messages: 398619 nosy: michaeljwang10 priority: normal severity: normal status: open title: Recursion

[issue39820] Bracketed paste mode for REPL: don't execute pasted command before ENTER is pressed explicitly

2021-07-27 Thread Michael Hofmann
Change by Michael Hofmann : -- nosy: +mhofmann ___ Python tracker <https://bugs.python.org/issue39820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44578] dict/list with more than two type parameters doesn't raise a TypeError

2021-07-07 Thread Michael
Change by Michael : -- title: dict with more than two type parameters doesn't raise a TypeError -> dict/list with more than two type parameters doesn't raise a TypeError ___ Python tracker <https://bugs.pytho

[issue44578] dict with more than two type parameters doesn't raise a TypeError

2021-07-07 Thread Michael
Michael added the comment: Same for list btw Python 3.9.6 (default, Jul 7 2021, 11:41:04) [Clang 12.0.5 (clang-1205.0.22.9)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> list[str, str, str] list[str, s

[issue44578] dict with more than two type parameters doesn't raise a TypeError

2021-07-07 Thread Michael
New submission from Michael : dict with three type parameters is legal (e.g., dict[str, str, str]), where I expected a TypeError. When using typing.Dict, it does raise a TypeError. Example in python 3.9: >>> from typing import Dict >>> Dict[str, str, str] # Raises a Type

[issue44547] fraction.Fraction does not implement __int__.

2021-07-02 Thread Michael Amrhein
Michael Amrhein added the comment: The background is an implementation of __pow__ for a fixed-point decimal number: SupportsIntOrFloat = Union[SupportsInt, SupportsFloat] def __pow__(self, other: SupportsIntOrFloat, mod: Any = None) -> Complex: if isinstance(other, Supports

[issue44547] fraction.Fraction does not implement __int__.

2021-07-01 Thread Michael Amrhein
New submission from Michael Amrhein : While int, float, complex and Decimal implement __int__, Fraction does not. Thus, checking for typing.SupportsInt for fractions fails, although int() succeeds, because Fraction implements __trunc__. This looks inconsistent. Easiest fix seems to be

[issue40066] Enum: modify __repr__, __str__; update docs

2021-06-30 Thread Michael Cuthbert
Michael Cuthbert added the comment: It may be helpful for the enum module to come with transitional functions like "pre310_str()" "pre310_repr()" "pre310_flag_str()" etc. so that people who are writing doctests that need to function on both < 3.10 and

[issue43718] HTTP CONNECT response not subject to debug level

2021-06-28 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Thanks Andrei, please ahead and provide the PR. You'll do it faster than I do. -- ___ Python tracker <https://bugs.python.

[issue43329] Multiprocessing Manager Client Not Reconnecting

2021-06-18 Thread Michael L. Boom
Michael L. Boom added the comment: I don't think I even got this working on the small scale. The unit test in the bug report is about as small as it gets and it doesn't work. The issue still exists in Python 3.9.5. -- ___ Python track

[issue39247] dataclass defaults and property don't work together

2021-06-05 Thread Michael Robellard
Michael Robellard added the comment: The sample I uploaded doesn't do any processing, but the use case originally had some logic inside the property getter/setter, would the alias idea allow for that? The purpose of the property is to add some logic to compute the value if it ha

[issue44270] shutil.which: does not find path/cmd.ext where ext is not given

2021-05-30 Thread Michael Hirsch, Ph.D.
Michael Hirsch, Ph.D. added the comment: Correction: Example: on Windows if ./foo.exe exists, then shutil.which('./foo') returns None. -- ___ Python tracker <https://bugs.python.o

[issue44270] shutil.which: does not find path/cmd.ext where ext is not given

2021-05-30 Thread Michael Hirsch, Ph.D.
Change by Michael Hirsch, Ph.D. : -- keywords: +patch pull_requests: +25053 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26458 ___ Python tracker <https://bugs.python.org/issu

[issue44270] shutil.which: does not find path/cmd.ext where ext is not given

2021-05-30 Thread Michael Hirsch, Ph.D.
New submission from Michael Hirsch, Ph.D. : The early short-circuit logic in shutil.which() when cmd includes a directory component incorrectly gives None on Windows if the correct filename suffix was not also given. Example: on Windows if ./foo.exe exists, then shutil.which('./fo

[issue44172] curses module may call delwin() on original window before subwindows

2021-05-18 Thread Michael Forney
Change by Michael Forney : -- keywords: +patch pull_requests: +24843 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26226 ___ Python tracker <https://bugs.python.org/issu

[issue44172] curses module may call delwin() on original window before subwindows

2021-05-18 Thread Michael Forney
New submission from Michael Forney : When subwin() is used to create a subwindow for an original window, it does not keep a reference to the original window object. This can result in the original window getting deleted with delwin() before the subwindow. According to the X/Open curses

[issue44139] Unparenthesized tuple doc bug in what's new

2021-05-14 Thread Michael Cuthbert
New submission from Michael Cuthbert : The What's New in Python 3.10 docs demonstrates a richer SyntaxError for this set comprehension: >>> {x,y for x,y in range(100)} File "", line 1 {x,y for x,y in range(100)} ^ SyntaxError: did you forget parentheses

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-04 Thread Seth Michael Larson
Seth Michael Larson added the comment: Leaving a thought here, I'm highlighting that we're now implementing two different standards, RFC 3986 with hints of WHATWG-URL. There are pitfalls to doing so as now a strict URL parser for RFC 3986 (like the one used by urllib3/requests)

[issue43659] AIX: test_curses crashes buildbot

2021-04-28 Thread Michael Felt
Change by Michael Felt : -- type: -> crash ___ Python tracker <https://bugs.python.org/issue43659> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43659] AIX: test_curses crashes buildbot

2021-04-28 Thread Michael Felt
Michael Felt added the comment: Dome some 'dumb' testing - and I hope this helps understand why it is failing: With the the last two func() calls commented out, the function passes: def test_output_string(self): stdscr = self.stdscr encoding = stdsc

[issue40878] Use c99 on the aixtools bot

2021-04-26 Thread Michael Felt
Michael Felt added the comment: Disregard the last mail -seems many routines go to unresolved. On 15/08/2020 20:43, Stefan Krah wrote: > Change by Stefan Krah : > > > -- > assignee: -> skrah > resolution: -> fixed > stage: patch review -> resolved &

[issue43865] win32_ver and getwindowsversion return different Windows 10 build numbers

2021-04-16 Thread Michael Dudley
New submission from Michael Dudley : On my machine platform.win32_ver() and sys.getwindowsversion() are returning different Windows build numbers. I have confirmed this with Python 3.7.6, 3.8.5, and 3.9.2 (all 64-bit) on Windows 10. platform.win32_ver() returns: ('10', &

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-04-14 Thread Michael Curran
Michael Curran added the comment: This bug is reproduceable on both Python 3.8 and 3.9. But not 3.7. Ths bug is seen in the real world, in the context of providing Python callbacks to Win32 API functions, or when implementing comtypes COM objects in Python. For example, we see this crash in

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-04-14 Thread Michael Curran
Michael Curran added the comment: I can also reproduce this. I will attach my own testcase below. So far I see it when the callback is __stdcall (WINFUNCTYPE) and it takes an larger than 4 bytes (E.g. a long long or a VARIANT), with one or more arguments preceeding it such that this argument

[issue39232] asyncio crashes when tearing down the proactor event loop

2021-04-13 Thread Michael Hall
Change by Michael Hall : -- versions: +Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue39232> ___ ___ Python-bugs-list mailing list Unsub

[issue40092] Crash in _PyThreadState_DeleteExcept() at fork in the process child

2021-04-07 Thread Michael Felt
Michael Felt added the comment: Willing to spend more time on this - but the variable names chosen blind me - looks like a circle. And, thinking about the address in the core dump starting with 0xd (segment 13) - confuses me somewhat - as from memory - I thought the shared library code

[issue43718] HTTP CONNECT response not subject to debug level

2021-04-03 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: Looking at https://github.com/python/cpython/blob/63c69440c7adb0de1d191a8d3d100b335d5c2f81/Lib/http/client.py#L898 self.debuglevel is not passed to response_class() and for debugging purposes I miss to see: > send: b'CON

[issue43717] Confusing OSError on HTTP CONNECT failure

2021-04-03 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: When working with proxies and HTTP CONNECT I came across these lines: https://github.com/python/cpython/blob/63c69440c7adb0de1d191a8d3d100b335d5c2f81/Lib/http/client.py#L901-L903 I truly fail to see why this is an OSError. OS

[issue40092] Crash in _PyThreadState_DeleteExcept() at fork in the process child

2021-04-01 Thread Michael Felt
Michael Felt added the comment: OK. Please explain. Looking at tstate assignment In posixmodule.c:PyOSAfterFork_Child() PyStatus status; _PyRuntimeState *runtime = &_PyRuntime; ... PyThreadState *tstate = _PyThreadState_GET(); and later calls st

[issue40092] Crash in _PyThreadState_DeleteExcept() at fork in the process child

2021-04-01 Thread Michael Felt
Michael Felt added the comment: OK: further. Two options are suggested: There are different options to solve this issue: * Reset _tstate_lock before using it... not sure that it's worth it, since we are going to delete the threading.Thread object with its _tstate_lock object an

[issue40092] Crash in _PyThreadState_DeleteExcept() at fork in the process child

2021-04-01 Thread Michael Felt
Michael Felt added the comment: Adding 3.10. While a (sort of) duplicate I also would like to add that before revision "7cb033c423b65def1632d6c3c747111543b342a2" this was not showing up as an issue with test_importlib. my issue was with test_importlib suddenly going into error

[issue43665] AIX: test_importlib regression (ENV change)

2021-03-31 Thread Michael Felt
Michael Felt added the comment: On 31/03/2021 18:46, STINNER Victor wrote: > STINNER Victor added the comment: > > test.test_importlib.test_threaded_import.ThreadedImportTests.test_multiprocessing_pool_circular_import > > This test comes from bpo-41567 and it simply runs a scri

[issue28276] test_loading.py - false positive result for "def test_find" when find_library() is not functional or the (shared) library does not exist

2021-03-31 Thread Michael Felt
Michael Felt added the comment: Sure. Probably have to rebase first. -- ___ Python tracker <https://bugs.python.org/issue28276> ___ ___ Python-bugs-list mailin

[issue43665] AIX: test_importlib regression (ENV change)

2021-03-31 Thread Michael Felt
Michael Felt added the comment: On 30/03/2021 09:40, STINNER Victor wrote: > STINNER Victor added the comment: > > A core dump is a very bad sign of health. > > Can you please try to bisect which test is causing the segfault using > bisect_cmd? Try the command: > > ./p

[issue43659] AIX: test_curses crashes buildbot

2021-03-31 Thread Michael Felt
Michael Felt added the comment: FYI: from a core dump - top of where is: Segmentation fault in winsnstr at 0xd3ebc050 0xd3ebc050 (winsnstr+0x190) a4190002 lhzu r0,0x2(r25) (dbx) where winsnstr(??, ??, ??) at 0xd3ebc050 unnamed block in IPRA.$_curses_window_insstr_impl(self

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2021-03-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Just wasted two hours for this. Can someone really update the documentation of it if this is not going to change. -- nosy: +michael-o ___ Python tracker <https://bugs.python.org/i

[issue43666] AIX: Lib/_aix_support.py may break in a WPAR environment

2021-03-30 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +23845 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25095 ___ Python tracker <https://bugs.python.org/issu

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Michael Felt
Michael Felt added the comment: ./python -m test -vuall -i test_output_string -i test_insert_delete test_curses 2>test.err 1>test.out returns four failures: see attached '-i test_output_string' stops the crash -- Added file: https://bugs.python.org/fi

[issue43666] AIX: Lib/_aix_support.py may break in a WPAR environment

2021-03-30 Thread Michael Felt
New submission from Michael Felt : When working in a WPAR (workload partition) the routines supporting aix_platform() may fail if there is no related builddate for bos.mp64. a) the fileset queried is changed to `bos.rte` b) an extreme value (9988) is returned for any similar (unexpected

[issue43665] AIX: test_importlib regression (ENV change)

2021-03-30 Thread Michael Felt
New submission from Michael Felt : Since issue43517 test_importlib 'fails' (bot status) with ENV_CHANGED. The core dump is caused by SIGTRAP. I need help to learn how to stop the core dump from being cleaned up so I can load it into dbx and hopefully understand/learn with s

[issue43659] AIX: test_curses crashes buildbot

2021-03-30 Thread Michael Felt
Michael Felt added the comment: my default TERM=xterm I'll also use 'ansi' The filenames will be ${TERM}.err and ${TERM}.out for TERM in xterm ansi; do ./python -m test -vuall test_curses 2>${TERM}.err >${TERM}.out done After TERM=ansi - my terminal is in raw mode

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
Michael Felt added the comment: backports needed for 3.8 and 3.9 -- versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +23824 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25074 ___ Python tracker <https://bugs.python.org/issu

[issue43659] AIX: test_curses crashes buildbot

2021-03-29 Thread Michael Felt
New submission from Michael Felt : Since issue42789 the AIX bot's have crashed - to the extent that the bot's did not even return results. Part of this has been resolved, for now, by using: $ export TERM=unknown $ buildbot start buildarea However, the test still crash because A

[issue43329] Multiprocessing Manager Client Not Reconnecting

2021-02-26 Thread Michael L. Boom
New submission from Michael L. Boom : The client doesn't reconnect automatically, or explicitly. I just get BrokenPipeError over and over. Manager: import multiprocessing.managers, os, sys, time class TestClass(object): def test_method(self): prin

[issue43295] datetime.strptime emits IndexError on parsing 'z' as %z

2021-02-22 Thread Noor Michael
Change by Noor Michael : -- keywords: +patch pull_requests: +23411 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24627 ___ Python tracker <https://bugs.python.org/issu

[issue43295] datetime.strptime emits IndexError on parsing 'z' as %z

2021-02-22 Thread Noor Michael
Noor Michael added the comment: I will address the original issue regarding '%z', but the second issue actually has to do with the Unicode representation of Turkish characters. In Turkish, the letter I ('\u0049') is a capital ı ('\u0131') and the letter İ (

[issue20364] Rename & explain sqlite3.Cursor.execute 'parameters' param

2021-02-15 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Sorry, typo in my last statement. I did *not* verify if the behavior is the same with earlier/later versions. -- ___ Python tracker <https://bugs.python.org/issue20

[issue20364] Rename & explain sqlite3.Cursor.execute 'parameters' param

2021-02-15 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Sorry to resurrect an old bug, but I've also found the docs lacking and I can fill in some gaps with some experimental results. Setup: >>> import sqlite3 >>> conn = sqlite3.connect(':memory:') >>>

[issue43125] Trying To Concatenate Bytes and String in SMTPLIB

2021-02-04 Thread Michael L. Boom
New submission from Michael L. Boom : The space is string, and either mechanism and/or response are bytes. smtplib.py:634 response = encode_base64(initial_response.encode('ascii'), eol='') (code, resp) = self.docmd("AUTH", mechanism + " " + re

[issue43003] Parts of the API will be removed in Python 4.0 ?

2021-01-22 Thread Michael Clerx
New submission from Michael Clerx : The unicode C-API documentation has a deprecation warning on this page: https://docs.python.org/3.9/c-api/unicode.html#deprecated-py-unicode-apis stating some functions are Deprecated since version 3.3, will be removed in version 4.0. But as far as I

[issue42930] xml.parsers.expat results differ buffer_text and / or buffer_size

2021-01-15 Thread Michael XU
Michael XU added the comment: Thank you so much Walter. I think that might be it - it fixed this particular instance, and it makes sense given what you have said. I'll proceed to close this up but will follow up if I encounter this issue when the data has changed. Thanks

[issue42930] xml.parsers.expat results differ buffer_text and / or buffer_size

2021-01-14 Thread Michael XU
New submission from Michael XU : More details available here: https://stackoverflow.com/questions/65676934/python-xml-parsers-expat-results-differ-based-on-buffer-text-true-or-false-and Raw data to replicate the issue is available upon request. -- components: XML messages: 385086 nosy

[issue42309] BUILD: AIX-64-bit segmentation fault using xlc-v11

2021-01-06 Thread Michael Felt
Michael Felt added the comment: OK - looking at this again. This looks very similiar to another 'coredump' issue (will have to look for the number later). iirc, when something called 'pgen', or similiar was modified. Here is a lengthy `dbx` dump. If I am reading t

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
Michael L. Boom added the comment: The gcc 10.x seems to think this is also a bug: /local/users/michael.l.boom/gits/scoring_engine/git/aae_build_python_3.9.1/include/python3.9/object.h:633:41: error: expected ‘(’ before ‘PyType_HasFeature’ 633 | #define PyType_FastSubclass(type, flag

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
Michael L. Boom added the comment: The gcc 10.x thinks that the right side of the expression on incoude/python3.9/object.h should be in parentheses. It seems like a Python bug. Perhaps earlier versions of gcc didn't have a problem with this. /local/users/michael.l.boom/gits/scoring_e

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
Michael L. Boom added the comment: I thought the problem was in a Python file. Perhaps I am mistaken. The libxml2 builds fine when using Python 3.8.x. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
New submission from Michael L. Boom : When building libxml2 using Python 3.9.0 or Python 3.9.1 and gcc 10.2.0 I get the below error. Others are having this problem according to my Google search. make[4]: Entering directory '/local/users/michael.l.boom/gits/scoring_engine/git/aae_tm

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-12-21 Thread Michael Felt
Michael Felt added the comment: While my patch in working - was successful in what it attempted to do, it did not fix this test issue. Instead - I reinstalled the `bos.adt.libm-7.2.0.0` fileset, to backout of the so-called bugfix/APAR IV95512. @David - can you take this up with AIX support

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-12-21 Thread Michael Felt
Michael Felt added the comment: I have been doing a lot of research on this. Wish I had thought do start the way I finished. Basically, when math.nextafter() was added all the AIX bots were on systems running AIX earlier than AIX 7.2 TL2. When AIX 7.2 TL2 was released (roughly Q3 2017) a

[issue42701] Discrepency between configure.ac and configure

2020-12-21 Thread Michael Felt
Michael Felt added the comment: The 'issue' is that a package known as autoconf-archive must ALSO be installed - so that aclocal has a definition for ax_check_compile_flag. Guessing that resolution is `third_party` - If not, please explain what the resolution flag i

[issue42701] Discrepency between configure.ac and configure

2020-12-21 Thread Michael Felt
Michael Felt added the comment: This is beginning to look like it is an issue with the version of automake installed: aixtools@gcc119:[/home/aixtools/cpython/cpython-master]automake --version Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE i

[issue42701] Discrepency between configure.ac and configure

2020-12-21 Thread Michael Felt
Michael Felt added the comment: This is what I find via bisect: aixtools@gcc119:[/home/aixtools/cpython/cpython-master]git checkout . && git bisect bad c6d7e82d19c091af698d4e4b3623648e259843e3 is the first bad commit commit c6d7e82d19c091af698d4e4b3623648e259843e3 Author: Petr Viktor

[issue42701] Discrepency between configure.ac and configure

2020-12-21 Thread Michael Felt
New submission from Michael Felt : While working on a PR for issue42323 I get an error with the generated ./configure even without my patch. Working from commit 37a6d5f8027f969418fe53d0a73a21003a8e370d aixtools@gcc119:[/home/aixtools/cpython/cpython-master]git log --oneline | head 37a6d5f

[issue42700] xml.parsers.expat.errors description of codes/messages is flipped

2020-12-20 Thread Michael Wayne Goodman
Change by Michael Wayne Goodman : -- keywords: +patch pull_requests: +22738 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23876 ___ Python tracker <https://bugs.python.org/issu

  1   2   3   4   5   6   7   8   9   10   >