[issue19820] docs are missing info about module attributes

2019-08-21 Thread Michael Anckaert
Change by Michael Anckaert : -- keywords: +patch pull_requests: +15071 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15359 ___ Python tracker <https://bugs.python.org/issu

[issue37914] class timedelta, support the method hours and minutes in field accessors

2019-08-22 Thread Michael Anckaert
Michael Anckaert added the comment: I would support this addition. The timedelta class already has accessors for days and seconds, why not for hours and minutes? The implementation should make use of the idiomatic way as Serhiy mentioned. >>> timedelta(hours=25).seconds // 3

[issue17306] Improve the way abstract base classes are shown in help()

2019-08-22 Thread Michael Anckaert
Michael Anckaert added the comment: I would be very interested and motivated to work on this. I'll start by taking a look at the pointers Raymond gave. If anyone can chime in with some more information / guidance that would be awesome. -- nosy: +michaelanc

[issue37917] Warning regarding collections ABCs still present in 3.9

2019-08-22 Thread Michael Anckaert
New submission from Michael Anckaert : When importing an ABC from the collections module in Python 3.9 there is a warning that this is deprecated since Python 3.3 and will stop working in Python 3.9. Should this warning be removed and lead to an ImportError? Python 3.9.0a0 (heads

[issue37914] class timedelta, support the method hours and minutes in field accessors

2019-08-22 Thread Michael Anckaert
Michael Anckaert added the comment: Thank you for the clarification Paul. It makes sense to me now to not include those accessors. On Thu, 22 Aug 2019 at 17:46, Paul Ganssle wrote: > > Paul Ganssle added the comment: > > > I would support this addition. The timedelta cl

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-02 Thread Michael Yoo
New submission from Michael Yoo : Version: Python 3.7.3 When I run this code: import asyncio class TestAsyncGenerator: def __init__(self): pass async def aiter(self): yield 1 yield 2 async def main(): gen = TestAsyncGenerator() async for number in

[issue38021] pep425 tag for AIX is inadequate

2019-09-03 Thread Michael Felt
New submission from Michael Felt : PEP425 stats the platform tag is what distutils.util.get_platform() (and sysconfig.get_platform()) returns. By that definition - anything is okay, as long as something is returned. However, in practice, it is insufficient. Simplest case - there is no

[issue38021] pep425 tag for AIX is inadequate

2019-09-04 Thread Michael Felt
Michael Felt added the comment: Thank you Ned. Not a justification perhaps, but a way to specify that it is support. Three+ years ago when I first worked on something for Lib/ctypes to get find_library() et al working for AIX I was also asked to add it as _aix.py similar to the macos

[issue38021] pep425 tag for AIX is inadequate

2019-09-04 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +15337 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15678 ___ Python tracker <https://bugs.python.org/issu

[issue38021] pep425 tag for AIX is inadequate

2019-09-08 Thread Michael Felt
Michael Felt added the comment: When testing the PR with --with-pydebug I started getting the following error: root@x066:[/data/prj/python/git/pr-test]./python '-X' 'tracemalloc' -m test test_venv Run tests sequentially 0:00:00 [1/1] test_venv test test_venv failed -- Tr

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Michael Foord
Michael Foord added the comment: I'm in favour of a default and "Unconditionally skipped" is fine with me. Although "Skipped" would also be fine. Making @skip work with no arguments is fine. Having to pass in arguments message arguments you don't want is a pai

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Michael Foord
Change by Michael Foord : -- assignee: -> michael.foord components: +Extension Modules -Library (Lib), Tests resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-09-09 Thread Michael Burt
Michael Burt added the comment: This is still a problem when shutil gets a errno.ENOSYS I hit this bug on Microsoft Azure when I mount an Azure File (managed NFS) into an AKS cluster (managed Kubernetes offering) and try to copy a file from the NFS over to the local disk on the node using

[issue30587] Mock with spec object does not ensure method call signatures

2019-09-10 Thread Michael Foord
Michael Foord added the comment: I'd like spec to have signature validation. I don't think the use case for "attribute validation only" (current spec behaviour) is very strong and I'd rather not add new keywords. The mock API is already too complex. I'll take

[issue30587] Mock with spec object does not ensure method call signatures

2019-09-10 Thread Michael Foord
Michael Foord added the comment: This will affect spec and spec_set. -- ___ Python tracker <https://bugs.python.org/issue30587> ___ ___ Python-bugs-list mailin

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-12 Thread Michael Foord
Michael Foord added the comment: That may change though, right? In general I dislike the proliferation of keyword arguments if it's at all possible to avoid. I added way too many of them originally and the mock API is really big. -- ___ P

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-09-12 Thread Michael Foord
Michael Foord added the comment: The code around whether or not to swallow self is hairy. Even if the original spec object is a class we may still be mocking an instance of the class (we don't want users to have to create an instance just to be able to use it as a spec). So we have to

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-09-12 Thread Michael Foord
Michael Foord added the comment: (The code that generated functions was originally borrowed from the decorator module by Michele Simionato. When I first started in Python, around 2002, I was impressed by the Python community as it had two very prominent women amongst the part of the

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-09-12 Thread Michael Foord
Michael Foord added the comment: As discussed with Karthik, I think this is a nice feature enhancement for the wraps functionality and worth fixing. It has the great advantage that the fix is nice and isolated and simple. -- ___ Python tracker

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-09-12 Thread Michael Foord
Michael Foord added the comment: The previous behaviour was unspecified and clearly due to missing functionality, so the advantages of fixing it outweigh any potential compatibility issues. But I'd see it as a feature enhancement fo

[issue38136] Remove AsyncMock.assert_awaited_*

2019-09-12 Thread Michael Foord
Michael Foord added the comment: I'm particularly concerned that we have call_count "sane" for AsyncMock and avoid adding "await_count" if possible. I think we've decided on that. I'm more agnostic on the assert_await* methods. I agree they're a nic

[issue5396] os.read not handling O_DIRECT flag

2019-09-13 Thread Michael Mol
Michael Mol added the comment: I wound up writing it in C++ instead, and my then-employer eventually opened my code. https://github.com/VirtualInterconnect/diskstress -- ___ Python tracker <https://bugs.python.org/issue5

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2019-09-16 Thread Michael Foord
Michael Foord added the comment: I like assertPermutation (with or without the Is, slight preference for without). -- ___ Python tracker <https://bugs.python.org/issue27

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2019-09-21 Thread Michael Tippie
Michael Tippie added the comment: I am getting this error now, too. I'm not sure what's causing it - when I use multiprocessing with a Manager.Queue, if I am passing around an object on the queue stack, I get this error. Would really like it to "just work".

[issue38101] Update devguide triaging keywords

2019-09-22 Thread Ido Michael
Ido Michael added the comment: Hi Lisa, I can take this (first commit), where can I edit the dev guide? I could see someone did update the easy keyword in it? Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/issue38

[issue36947] [Good first issue] Fix 3.3.3.1 Metaclasses Documentation

2019-09-22 Thread Ido Michael
Ido Michael added the comment: Hey, Is someone working on this issue? Can I take it? Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/issue36

[issue27873] multiprocessing.pool.Pool.map should take more than one iterable

2019-09-22 Thread Ido Michael
Ido Michael added the comment: Hey, Is it still open? What else needs to be done? Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/issue27

[issue15436] __sizeof__ is not documented

2019-09-22 Thread Ido Michael
Ido Michael added the comment: I can add those changes if someone didn't take it already? Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/is

[issue38101] Update devguide triaging keywords

2019-09-22 Thread Ido Michael
Ido Michael added the comment: Thanks Karthikeyan! Found it, so for the last one pep3121, would you like to describe PEP in general or Extension Module Initialization and Finalization? Ido -- ___ Python tracker <https://bugs.python.

[issue36210] correct AIX logic in setup.py for (non-existant) optional extensions

2019-09-24 Thread Michael Felt
Michael Felt added the comment: Hi all, Now that I have finally noticed that the 3.8 branches are active for AIX bots I see something that I had always thought was in the 3.8 branch, but is not yet. https://github.com/python/cpython/pull/12202 Seems the backport never succeeded. Although

[issue36210] correct AIX logic in setup.py for (non-existant) optional extensions

2019-09-24 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +15955 pull_request: https://github.com/python/cpython/pull/16376 ___ Python tracker <https://bugs.python.org/issue36

[issue36210] correct AIX logic in setup.py for (non-existant) optional extensions

2019-09-24 Thread Michael Felt
Michael Felt added the comment: Added a backport for 3.8. p.s. - what is the file "name of the past"? -- ___ Python tracker <https://bugs.python.o

[issue37883] threading.Lock.locked is not documented

2019-09-26 Thread Ido Michael
Ido Michael added the comment: Hey Remi, I've fixed it and created PR on the issue. Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/is

[issue37883] threading.Lock.locked is not documented

2019-09-26 Thread Ido Michael
Ido Michael added the comment: P.S PR: https://github.com/python/cpython/pull/16420 -- ___ Python tracker <https://bugs.python.org/issue37883> ___ ___ Python-bug

[issue37883] threading.Lock.locked is not documented

2019-09-27 Thread Ido Michael
Change by Ido Michael : -- keywords: +patch pull_requests: +16017 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16420 ___ Python tracker <https://bugs.python.org/issu

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-09-28 Thread Ido Michael
Change by Ido Michael : -- pull_requests: +16037 pull_request: https://github.com/python/cpython/pull/16457 ___ Python tracker <https://bugs.python.org/issue37

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-09-28 Thread Ido Michael
Ido Michael added the comment: Fixed this issue since the CLA of the past user wasn't signed. Added a check for the socket type in each of the methods: sock_recv, sock_recv_into, sock_sendall, sock_connect, sock_accept. PR: GH-16457 -- nosy: +Ido Mi

[issue37970] urllib.parse docstrings incomplete

2019-09-28 Thread Ido Michael
Change by Ido Michael : -- keywords: +patch pull_requests: +16039 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16458 ___ Python tracker <https://bugs.python.org/issu

[issue37970] urllib.parse docstrings incomplete

2019-09-28 Thread Ido Michael
Ido Michael added the comment: Committed a PR: GH-16458 I've read all of the thread and changed the docstring to the latest suggestion by @zach.ware Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/is

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-28 Thread Ido Michael
Ido Michael added the comment: @ned.deily any thoughts? I can start working on it. Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/issue38

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-09-28 Thread Ido Michael
Change by Ido Michael : -- keywords: +patch pull_requests: +16048 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16463 ___ Python tracker <https://bugs.python.org/issu

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-09-28 Thread Ido Michael
Ido Michael added the comment: I've fixed the documentation according to the thread. Here's the PR: GH-16463 Ido -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.o

[issue23284] Improve termcap detection in setup.py

2019-09-29 Thread Michael Everitt
Change by Michael Everitt : -- nosy: +veremitz ___ Python tracker <https://bugs.python.org/issue23284> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-09-29 Thread Michael Everitt
New submission from Michael Everitt : tinfo library detection as part of ncurses is inconsistent, and causes build failure when expected symbols aren't found at link-time. This breaks compilation of the 'readline' module as the attached log shows. It seems to work in some con

[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-09-29 Thread Michael Everitt
Michael Everitt added the comment: May have confused the '_readline' extension with the '_ncurses' extension .. apologies! attaching build.log from x86_64. -- Added file: https://bugs.python.org/file48632/build-x86_64-uclibc.log __

[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-10-02 Thread Michael Everitt
Michael Everitt added the comment: Attached patch seems to fix build failure for python2.7 with uclibc-ng. -- keywords: +patch Added file: https://bugs.python.org/file48639/fix-tinfo-probably-python-2_7.patch ___ Python tracker <ht

[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-10-02 Thread Michael Everitt
Michael Everitt added the comment: Attached patch seems to fix build with python3.6 withh uclibc-ng. Tested on x86_64 and ARMv6zk. -- Added file: https://bugs.python.org/file48640/fix-tinfo-probably-python-3_6.patch ___ Python tracker <ht

[issue38351] Modernize email example from %-formatting to f-string

2019-10-09 Thread Ido Michael
Ido Michael added the comment: So what was decided? I can fix this issue and I can wait for a final conclusion as it wasn't clear from the thread. -- nosy: +Ido Michael ___ Python tracker <https://bugs.python.org/is

[issue38516] PEP 3132 -- Extended Iterable Unpacking inconsistent assignment of * variable

2019-10-18 Thread Michael Jaquier
New submission from Michael Jaquier : x = [1,2,3] Case (1) *b, = x *b == [1, 2, 3] Case(2) *b, _ = x b = [1,2] Is it not more logical for this to give consistent values regardless. i.e., *b, = [1,2,3] ; b == [1,2] *b, _ = [1,3,2] ; b == [1,2] ; _ == [3] -- components

[issue36752] test multiprocessing: test_rapid_restart() crash on AIX

2019-10-18 Thread Michael Felt
Michael Felt added the comment: Please let me be much more specific. This specific bot failure is from when I ran the bot using XLC as a compiler. Because I could not solve it on my own, and did not get any hints in time (see issue35828) Since my work schedule intensified I switched the bot

[issue38645] datetime.datetime.fromtimestamp(0, tzlocal()) throws error

2019-10-30 Thread Michael Zhang
New submission from Michael Zhang : Discovered this while trying to use a function in `boto3`. Seems like when tzlocal() is passed with a 0 to datetime.datetime.fromtimestamp(), it throws an "[Errno 22] Invalid argument" error. Using 3.7.4 via Anaconda on Windows 10, and tzlocal()

[issue38645] datetime.datetime.fromtimestamp(0, tzlocal()) throws error

2019-10-31 Thread Michael Zhang
Michael Zhang added the comment: I think it might be something Windows specific; the original comment includes the version and code to reproduce. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38645] datetime.datetime.fromtimestamp(0, tzlocal()) throws error

2019-10-31 Thread Michael Zhang
Michael Zhang added the comment: Yeah, seconded with my own tracing as well. -- ___ Python tracker <https://bugs.python.org/issue38645> ___ ___ Python-bug

[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

[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
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-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

[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

[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

[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
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

[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

[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

[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

[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 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

[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

[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: 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

[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

[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

[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

[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

[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

[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

[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', &

[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 &

[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

[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

[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

[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

[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

[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

[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.

[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

[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

[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

[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:

[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

[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

[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-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-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:

[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

[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

[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
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-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-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

[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

<    3   4   5   6   7   8   9   10   11   12   >