[issue16894] Function attribute access doesn't invoke methods in dict subclasses

2021-01-01 Thread David Beazley
Change by David Beazley : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue16894> ___ ___ Python-bugs-list

[issue7946] Convoy effect with I/O bound threads and New GIL

2021-01-01 Thread David Beazley
Change by David Beazley : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue7946> ___ ___ Python-bugs-list

[issue12806] argparse: Hybrid help text formatter

2021-01-04 Thread David Steele
David Steele added the comment: For those looking for a solution now, see https://pypi.org/project/argparse-formatter/ -- ___ Python tracker <https://bugs.python.org/issue12

[issue30044] shutil.copystat should (allow to) copy ownership, and other attributes

2021-01-05 Thread David Justo
David Justo added the comment: Hi folks, I'd be interested in contributing to this issue, since it seems "easy" enough, but I'm unsure that consensus was reached about the right solution. >From what I gathered from Giampaolo's comments, we have solutions that shou

[issue34451] docs: tutorial/introduction doesn't mention toggle of prompts

2021-01-05 Thread David Justo
David Justo added the comment: Hi folks! I'm interested in contributing to this issue, but I'm unsure about the context. Can `>>>>` prompts be toggled on-and-off in the docs? I do not see that option. I read that this is possible in javascript-enabled versions of the

[issue42896] Solaris 11.4 crle output not handled correctly

2021-01-11 Thread David Murphy
New submission from David Murphy : >From porting Python 3.7.8 to Solaris 11.4 (base open version) found that the >handling of crle output has changed between Solaris 11.3 and 11.4 and >accommodation has not been made for the change. For example: Solaris 11.3 root@sol11:~/sol_build/p

[issue42896] Solaris 11.4 crle output not handled correctly

2021-01-11 Thread David Murphy
David Murphy added the comment: Forgive any process/workflow errors first time, submitting to Python -- ___ Python tracker <https://bugs.python.org/issue42

[issue29842] Make Executor.map work with infinite/large inputs correctly

2021-01-14 Thread David Lukeš
David Lukeš added the comment: Any updates on this? Making Executor.map lazier would indeed be more consistent and very useful, it would be a shame if the PR went to waste :) It's a feature I keep wishing for in comparison with the older and process-only multiprocessing API. And event

[issue42643] http.server does not support HTTP range requests

2021-01-16 Thread David Bordeynik
Change by David Bordeynik : -- keywords: +patch nosy: +DavidBord nosy_count: 2.0 -> 3.0 pull_requests: +23051 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24228 ___ Python tracker <https://bugs.python.org/i

[issue42960] resources module, FreeBSD update adding RLIMIT_KQUEUES constant

2021-01-18 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 23073 severity: normal status: open title: resources module, FreeBSD update adding RLIMIT_KQUEUES constant versions: Python 3.10 ___ Python

[issue42896] Solaris 11.4 crle output not handled correctly

2021-01-19 Thread David Murphy
Change by David Murphy : -- pull_requests: +23080 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24226 ___ Python tracker <https://bugs.python.org/issu

[issue43179] Remove 32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-15 Thread David Edelsohn
David Edelsohn added the comment: This has nothing to do with AIX. This conversation should include Charalampos Stratakis, but I don't see him as an option for Nosy. It probably is easy to add a s390 31-bit build to one of the buildbots. -- nosy: -aixto...@gmai

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread David Edelsohn
David Edelsohn added the comment: I already am running a Debian s390x buildbot for Python. Someone can adjust the rules for the buildbot to include a 31-bit builder. The Debian buildbot has relatively few builder variants relative to the other s390x targets

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-17 Thread David Edelsohn
David Edelsohn added the comment: I understand the issue is s390, not s390x. I am offering that there already is an s390x worker, so would it be sufficient to build and test Python in 31 bit mode on that worker as opposed to installing a complete s390 Debian system

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-18 Thread David Edelsohn
David Edelsohn added the comment: gcc -m31 -dM -E - < /dev/null -- Added file: https://bugs.python.org/file49817/gcc-s390.txt ___ Python tracker <https://bugs.python.org/issu

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-18 Thread David Edelsohn
David Edelsohn added the comment: gcc -dM -E - < /dev/null -- Added file: https://bugs.python.org/file49818/gcc-s390x.txt ___ Python tracker <https://bugs.python.org/issu

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-18 Thread David Edelsohn
David Edelsohn added the comment: I am not aware of significant use of 31 bit mode. But I don't see the benefit of annoying and discouraging users who want to experiment with Python and with Linux on Z in 31 bit mode. Yes, maintenance theoretically is a burden, but there have be

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-18 Thread David Edelsohn
David Edelsohn added the comment: Victor: https://en.wikipedia.org/wiki/31-bit_computing :-) -- ___ Python tracker <https://bugs.python.org/issue43179> ___ ___

[issue42643] http.server does not support HTTP range requests

2021-02-20 Thread David Bordeynik
David Bordeynik added the comment: I would appreciate a code review - thank you -- ___ Python tracker <https://bugs.python.org/issue42643> ___ ___ Python-bug

[issue43166] Unused letters in Windows-specific pragma optimize

2021-02-20 Thread David Bolen
Change by David Bolen : -- nosy: +db3l ___ Python tracker <https://bugs.python.org/issue43166> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43179] Remove 31/32-bit s390 Linux support (s390-linux-gnu triplet)

2021-02-21 Thread David Edelsohn
David Edelsohn added the comment: Christian, The Python Community Code of Conduct also states: Being respectful of differing viewpoints and experiences. Showing empathy towards other community members. Various developers are passionate about this topic and the entire series of comments has

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-02-28 Thread David Bolen
David Bolen added the comment: I don't think it's actually any change in ceval per se, or any new buffers, just how the compiler code generation has changed due to this commit. Based on some local testing, the triggering issue is the exclusion of the optimization pragma entirel

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-02-28 Thread David Bolen
David Bolen added the comment: I hadn't tested release mode earlier, since the commit only removed the pragma in debug builds, but I just built a release build with the commit in place on the worker and it seems fine. So barring stack changes (enlarging or improving usage) it appear

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread David Bolen
David Bolen added the comment: Steve, where is that configured? If reducing that further would resolve the crashes while retaining ceval debugging, maybe that's a reasonable trade-off, though based on my testing, reverting still seems simpler. Right now the debug build on the bui

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread David Bolen
David Bolen added the comment: Yes, that was the idea (revert the PyDEBUG condition only); it sounds like everyone is on the same page. I've been doing buildbot duties only for a while (no code contributions since long before the current process), so there may be a short delay wh

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-03 Thread David Bolen
Change by David Bolen : -- keywords: +patch pull_requests: +23510 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24739 ___ Python tracker <https://bugs.python.org/issu

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-03 Thread David Bolen
David Bolen added the comment: The win10 buildbot is green again, so I think this can be closed. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-08 Thread David Wood
New submission from David Wood : I have a c function to encrypt values which returns an array of bytes. The function returns proper values outside of python. When used as a python function, the result is incomplete usually 10-20% of the time. If I add a sleep(1) call before returning from

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-08 Thread David Wood
David Wood added the comment: I have not gone to the extent of comparing the direct output against what python gets, although it appears to be incomplete. The following is my encrypt function which has been used successfully for many years in a separate c program, so I have high confidence

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-08 Thread David Wood
David Wood added the comment: Christian - Thank you for this. I did as you suggested however, I still have the same problem. As I pointed out in my original message, the problem does not exist if I insert a sleep(1) statement prior to returning from the function. Additional to that, I

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-08 Thread David Wood
David Wood added the comment: Still no bueno. -- ___ Python tracker <https://bugs.python.org/issue43435> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43451] pydoc terminal suboptimal rendering of complex annotations

2021-03-09 Thread David Wilson
New submission from David Wilson : When viewing docs for classes that use annotations, pydoc's rendering of argument lists is regularly truncated at the terminal edge (if using `less -S`), or wrapped in a manner where quickly scanning the output is next to impossible. My 'classi

[issue43451] pydoc terminal suboptimal rendering of complex annotations

2021-03-09 Thread David Wilson
Change by David Wilson : -- keywords: +patch pull_requests: +23570 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24802 ___ Python tracker <https://bugs.python.org/issu

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-09 Thread David Wood
Change by David Wood : Added file: https://bugs.python.org/file49862/crypt.tar.gz ___ Python tracker <https://bugs.python.org/issue43435> ___ ___ Python-bugs-list mailin

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-09 Thread David Wood
David Wood added the comment: Attached are the basic files. As you can see in the example test9.py, I am generating a random string, encrypting it, decrypting it, and comparing the decrypted result with the original value. This is intended to run on linux and requires the mcrypt library

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-09 Thread David Wood
Change by David Wood : Removed file: https://bugs.python.org/file49862/crypt.tar.gz ___ Python tracker <https://bugs.python.org/issue43435> ___ ___ Python-bugs-list m

[issue43465] ./configure --help describes what --with-ensurepip does poorly

2021-03-10 Thread David Tucker
Change by David Tucker : -- nosy: +tucked ___ Python tracker <https://bugs.python.org/issue43465> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-10 Thread David Wood
David Wood added the comment: Christian/Eric - Thank you both so much for taking time on this. Christian had pointed out the use of memcpy vs strncpy. It turns out that while strncpy is designed to copy a specific number of chars, it turns out that it stops on null. I did make the

[issue43435] Py_BuildValue("y#".... returns incomplete result

2021-03-11 Thread David Wood
Change by David Wood : Removed file: https://bugs.python.org/file49861/crypt.tar.gz ___ Python tracker <https://bugs.python.org/issue43435> ___ ___ Python-bugs-list m

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread David Strobach
Change by David Strobach : -- nosy: +laloch ___ Python tracker <https://bugs.python.org/issue40726> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread David Strobach
David Strobach added the comment: The issue is not limited to ast.Call. Other AST nodes are also affected (e.g. ast.BinOp). It's also not limited to end_lineno attribute. The same applies to end_col_offset. -- ___ Python tracker &

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread David Strobach
David Strobach added the comment: Actually, Xonsh (http://github.com/xonsh/xonsh) tests show that keyword AST nodes are missing 'lineno' attribute, but that could be our fault. -- ___ Python tracker <https://bugs.python.o

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread David Strobach
David Strobach added the comment: > Actually, Xonsh tests show that keyword AST nodes are missing 'lineno' > attribute, but that could be our fault. Yes, our fault. Sorry for the noise. -- ___ Python tracker <https://bugs.py

[issue40780] str.format() handles trailing zeros inconsistently in “general” format

2020-05-26 Thread David Chambers
New submission from David Chambers : According to https://docs.python.org/3/library/string.html#format-specification-mini-language, “insignificant trailing zeros are removed from the significand” when 'g' is specified. I encountered a situation in which a trailing zero is n

[issue40826] PyOS_InterruptOccurred() now requires to hold the GIL: PyOS_Readline() crash

2020-06-03 Thread David Bolen
David Bolen added the comment: I haven't had a chance to look too deeply, but the final set of commits (starting with fa7ab6aa) appear to be the common thread with all branches now failing with timeout exceptions in test_repl on the Windows 10 buildbot. The first instance was in th

[issue40826] PyOS_InterruptOccurred() now requires to hold the GIL: PyOS_Readline() crash

2020-06-03 Thread David Bolen
David Bolen added the comment: It appears the recent commit is causing a CRT exception dialog in test_close_stdin (test_repl.TestInteractiveInterpreter). The dialog can't get answered, which is what leads to the eventual timeout. The assertion is "_osfile(fh) & FOPEN"

[issue40900] uuid module build fix on FreeBSD proposal

2020-06-07 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 19908 severity: normal status: open title: uuid module build fix on FreeBSD proposal type: compile error versions: Python 3.10 ___ Python tracker

[issue40900] uuid module build fix on FreeBSD proposal

2020-06-07 Thread David CARLIER
David CARLIER added the comment: This s about header picked up in a certain order. In case of FreeBSD, the uui_create case is taken which comes from the but ... is detected too. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40826] PyOS_InterruptOccurred() now requires to hold the GIL: PyOS_Readline() crash

2020-06-10 Thread David Bolen
David Bolen added the comment: So a script I use on the buildbot intended to prevent hanging on assertions was failing to work in this particular case, which I've corrected. That changes the failure mode for new Win10 buildbot runs. The test in question (test_close_stdin) still fails

[issue41008] multiprocessing.Connection.poll raises BrokenPipeError on Windows

2020-06-17 Thread David Adam
New submission from David Adam : On Windows 10 (1909, build 18363.900) in 3.7.7 and 3.9.0b3, poll() on a multiprocessing.Connection object can produce an exception: -- import multiprocessing def run(output_socket): for i in range(10): output_socket.send(i) output_socket.close

[issue41067] Haiku build fix - posix module

2020-06-21 Thread David CARLIER
Change by David CARLIER : -- components: Extension Modules nosy: devnexen priority: normal pull_requests: 20203 severity: normal status: open title: Haiku build fix - posix module type: compile error versions: Python 3.10 ___ Python tracker <ht

[issue41201] Long integer arithmetic

2020-07-03 Thread David Srebnick
New submission from David Srebnick : The following program is one way of computing the sum of digits in a number. It works properly for the first case, but fails for the second one. def digitsum(num): digsum = 0 tnum = num while tnum > 0: print("tnum = %d, dig

[issue41206] behaviour change with EmailMessage.set_content

2020-07-03 Thread David Bremner
New submission from David Bremner : Works in 3.8.3, but not in 3.8.4rc1 from email.message import EmailMessage msg = EmailMessage() msg.set_content("") Apparently now at least one newline is required. -- components: email messages: 372971 nosy: barry, bremner, r.david.murra

[issue41215] AIX: build fails for xlc/xlC since new PEG parser

2020-07-06 Thread David Edelsohn
David Edelsohn added the comment: I don't believe that this is an XLC bug, but I suspect that it is undefined behavior / implementation-defined behavior. I suspect that this is tripping over AIX/XLC null behavior. AIX specifically and intentionally maps the first page of memory at addr

[issue41215] AIX: build fails for xlc/xlC since new PEG parser

2020-07-06 Thread David Edelsohn
David Edelsohn added the comment: Maybe XLC was being overly aggressive with speculation and it now is fixed. I can't tell if Michael's earlier comment meant that it no longer crashes with XLC v16. -- ___ Python tracker <https://bu

[issue41231] Type annotations lost when using wraps by default

2020-07-07 Thread David Caro
New submission from David Caro : In version 3.2, bpo-8814 introduced copying the __annotations__ property from the wrapped function to the wrapper by default. That would be the desired behavior when your wrapper function has the same signature than the function it wraps, but in some cases

[issue41231] Type annotations lost when using wraps by default

2020-07-07 Thread David Caro
David Caro added the comment: Hi Terry, That would not work in this case, as I'd want to override all annotations with the wrapper function ones if there's any, instead of merging them. The specific use case, is a type checker (part of TestSlide testing framework), to veri

[issue41231] Type annotations lost when using wraps by default

2020-07-08 Thread David Caro
Change by David Caro : -- keywords: +patch pull_requests: +20538 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21392 ___ Python tracker <https://bugs.python.org/issu

[issue8814] functools.WRAPPER_ASSIGNMENTS should include __annotations__

2020-07-08 Thread David Caro
Change by David Caro : -- nosy: +David Caro nosy_count: 4.0 -> 5.0 pull_requests: +20539 pull_request: https://github.com/python/cpython/pull/21392 ___ Python tracker <https://bugs.python.org/iss

[issue41231] Type annotations lost when using wraps by default

2020-07-08 Thread David Caro
David Caro added the comment: As a note, mypy does not tpyecheck the wrapper functions, probably because it would not be possible with the current code (as the typing hints get lost): https://mypy.readthedocs.io/en/latest/generics.html?highlight=wrapper#declaring-decorators

[issue41231] Type annotations lost when using wraps by default

2020-07-08 Thread David Caro
David Caro added the comment: Elaborating on the last message, given the following code: ``` 1 #!/usr/bin/env python3 2 3 from functools import wraps 4 5 6 def return_string(wrapped): 7 @wraps(wrapped) 8 def wrapper(an_int: int) -> str: 9 return str(wrap

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-10 Thread David Halter
David Halter added the comment: I'm the maintainer of parso. Feel free to addd me to the Nosy List if we have these discussions in the future. Parso is indeed a lib2to3 fork with error recovery, round tripping and incremental parsing as its features. Most pgen2 code has been rewritten

[issue39959] Bug on multiprocessing.shared_memory

2020-07-10 Thread David Parks
David Parks added the comment: Having a flag seems like a good solution to me. I've also encountered this issue and posted on stack overflow about it here: https://stackoverflow.com/questions/62748654/python-3-8-shared-memory-resource-tracker-producing-unexpected-warnings-at-

[issue41295] CPython 3.8.4 regression on __setattr__ in multiinheritance with metaclasses

2020-07-14 Thread David Lord
David Lord added the comment: It appears to be solved in Flask-SQLAlchemy's development version already, as the mixins now inherit from `type`. We caught the issue when we started applying flake8 (possibly through flake8-bugbear). -- nosy: +dav

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-07-14 Thread David Caro
Change by David Caro : -- nosy: +David Caro nosy_count: 5.0 -> 6.0 pull_requests: +20618 pull_request: https://github.com/python/cpython/pull/21473 ___ Python tracker <https://bugs.python.org/issu

[issue41295] CPython 3.8.4 regression on __setattr__ in multiinheritance with metaclasses

2020-07-14 Thread David Caro
Change by David Caro : -- keywords: +patch nosy: +David Caro nosy_count: 5.0 -> 6.0 pull_requests: +20617 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21473 ___ Python tracker <https://bugs.python.org/i

[issue41295] CPython 3.8.4 regression on __setattr__ in multiinheritance with metaclasses

2020-07-14 Thread David Caro
David Caro added the comment: Just sent a PR that fixes the issue (a first approach), let me know if it's addressing the issue correctly or if there's a better way. Thanks! -- ___ Python tracker <https://bugs.python.o

[issue41295] CPython 3.8.4 regression on __setattr__ in multiinheritance with metaclasses

2020-07-17 Thread David Caro
David Caro added the comment: > David, which issue number is this? It's issue41295, pr #21473 -- ___ Python tracker <https://bugs.python.org

[issue20840] AttributeError: 'module' object has no attribute 'ArgumentParser'

2020-07-18 Thread David Friedman
David Friedman added the comment: I know this is 6 years too late, but I had this problem a few minutes ago on Python2.7. Googling didn't find me anything relevant except this bug entry. However, I found the cause myself: I had a test file named argparse.py (and an argparse.pyc) i

[issue41273] asyncio: proactor read transport: use recv_into instead of recv

2020-07-19 Thread David Bolen
David Bolen added the comment: I can at least confirm that this commit is the source of the issue on the Windows 10 buildbot. Interactively, it fails every time with it in place (unlike the buildbot which has had the occasional success) and passes reliably with it reverted. The error

[issue41273] asyncio: proactor read transport: use recv_into instead of recv

2020-07-19 Thread David Bolen
David Bolen added the comment: First, I also no longer see the error with a local PR 21446 build on the Win10 buildbot. As for timing, I believe policy is to revert, but in my view it can probably depend on how short "a bit" is for the fix. We've been in this state for 4-

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-26 Thread David Halter
David Halter added the comment: Parso's incremental parser is a terrible idea. It also works and is pretty fast, but the design is pretty terrible (it took me a lot of fuzzing to make sure that it works decently well). The basic problem is that it's reusing nodes in a mutable way.

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread David Edelsohn
David Edelsohn added the comment: Tony, Please see my reply from 2020-02-05. This is a known "bug" in Python ctypes. This is documented in Python ctypes. This will not be fixed. This cannot be fixed. Python ctypes converts the array to a structure and creates an incorr

[issue41421] Random.paretovariate sometimes raises ZeroDivisionError for small alpha

2020-07-28 Thread David MacIver
New submission from David MacIver : The following code raises a ZeroDivisionError: from random import Random Random(14064741636871487939).paretovariate(0.01) This raises: random.py, line 692, in paretovariate return 1.0 / u ** (1.0/alpha) ZeroDivisionError: float division by zero

[issue41421] Random.paretovariate sometimes raises ZeroDivisionError for small alpha

2020-07-28 Thread David MacIver
David MacIver added the comment: I guess on actual inspection of the code (which I should have done before, sorry) it's obvious why this happens: u ** (1.0 / alpha) will round to 0.0 for small values of u, and the smaller alpha is the higher the probability of that happening, in th

[issue41421] Random.paretovariate sometimes raises ZeroDivisionError for small alpha

2020-07-29 Thread David MacIver
David MacIver added the comment: I should say, I don't actually care about this bug at all: I only ran into it because of trying to recreate the random API and testing that my recreation worked sensibly. I thought I'd do the good citizen thing and report it, but I'm totall

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-07-30 Thread David Halter
David Halter added the comment: @gvanrossum > Does parso have to be pure Python? If not, we could generate C code like we > do for CPython's parser. I would rather write the parser either in C or Rust. So no, parso does not need to be pure Python. > Now, that doesn't w

[issue38628] Issue with ctypes in AIX

2020-08-02 Thread David Edelsohn
David Edelsohn added the comment: I thought that the ctypes documentation mentioned that Arrays passed by Value are converted to Structures. I cannot find it in the ctypes documentation at the moment. But Modules/_ctypes/stgdict.c has a large comment about passing Arrays by Value as

[issue38628] Issue with ctypes in AIX

2020-08-03 Thread David Edelsohn
David Edelsohn added the comment: The example with memchr() never will be correct because it is invalid to call a function with an argument list that doesn't match the function signature. Your comment mentions that the AIX structure is size 16, but it looks like Python calculates th

[issue38628] Issue with ctypes in AIX

2020-08-04 Thread David Edelsohn
David Edelsohn added the comment: As mentioned in the stgdict.c comment, this relates back to #22273 and #29565. The passing of arrays/structs is fragile, to use a euphemism. The ctypes behavior conforms to the x64 Linux ABI and x64 libffi, even the comment from #22273, "Structs tha

[issue41467] asyncio: recv_into() must not return b'' if the socket/pipe is closed

2020-08-05 Thread David Bolen
David Bolen added the comment: Just for the record, this fix also appears to have resolved the issue with the Win10 buildbot from bpo-41273, which was related to the same unraisable exceptions mentioned in bpo-38912. -- nosy: +db3l ___ Python

[issue41273] asyncio: proactor read transport: use recv_into instead of recv

2020-08-05 Thread David Bolen
David Bolen added the comment: It looks like there was an underlying asyncio.recv_into bug that was the likely root issue here. It's recently been fixed in bpo-41467, and test_asyncio is passing on at least the Win10 buildbot. -- ___ P

[issue41506] Inclusion or documentation of extended with syntax in 3.9

2020-08-08 Thread David Halter
Change by David Halter : -- nosy: +davidhalter ___ Python tracker <https://bugs.python.org/issue41506> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41506] Inclusion or documentation of extended with syntax in 3.9

2020-08-08 Thread David Halter
David Halter added the comment: I second this. I just see people complaining about this not working in a lot of tools. This is really not necessary for a feature that should not be used anyway and puts work onto the greater Python ecosystem for no good reason

[issue38628] Issue with ctypes in AIX

2020-08-10 Thread David Edelsohn
David Edelsohn added the comment: +Eryksun,Vinay The patch to address array passing described in issue #22273 introduced regressions for other targets. The 16 byte struct size is specific to x86 ABI and register passing convention. I appreciate that the 16-32 byte size structure causes

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread David Edelsohn
David Edelsohn added the comment: Core developers have full access to AIX system for the asking. Back to you, Stefan. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread David Edelsohn
David Edelsohn added the comment: AIX systems at OSUOSL have been part of the GNU Compile Farm for a decade. It also is the system on which I have been running the Python Buildbot. Any Compile Farm user has access to AIX. https://cfarm.tetaneutral.net/users/new/ Also, IBM is in the

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-15 Thread David Edelsohn
David Edelsohn added the comment: AIX uses a "late" memory allocation scheme by default. If the test wants to malloc(52631578947368422ULL) and intends it to fail, it should run with the AIX $ export PSALLOC=early environment variable. More than all of the other maxdata changes.

[issue38628] Issue with ctypes in AIX

2020-08-16 Thread David Edelsohn
David Edelsohn added the comment: Yes, it doesn't appear that it will be solved in libffi. I don't fully understand the need for the work-around because it should gracefully overflow to the stack. I can't tell if the issue is a problem with arguments passed by value that ne

[issue41569] json.JSONEncoder.default should be called for dict keys as well

2020-08-17 Thread David Byrne
New submission from David Byrne : Sub-classing and overriding json.JSONEncoder.default allows users to create custom serialisation for objects that can’t otherwise be serialized. However, this method is only called for dictionary values such that dictionary supported keys (i.e. hashable types

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-17 Thread David Edelsohn
David Edelsohn added the comment: > About PSALLOC=early , I confirm that it perfectly fixes the issue. > I'm surprised, because it is unspeakably slow on this machine, These statements are not contradictory. No one is suggesting that Python always should run with PS

[issue19521] Parallel build race condition on AIX since python-2.7

2020-08-18 Thread David Edelsohn
David Edelsohn added the comment: Yes, export file generation still is required. Python does not need to utilize runtime linking. Using -G is a very bad choice and severely discouraged with severe performance and other penalties. -- ___ Python

[issue41648] edelsohn-* buildbot worker failing with: No space left on device

2020-08-27 Thread David Edelsohn
David Edelsohn added the comment: It really would be better to discuss this in the builtbot mailing list and not Python issue tracker. I have been seeing problems with many buildbots for the past few weeks, not just the s390x bots. I receive messages that all of the bots disconnected, but

[issue41648] edelsohn-* buildbot worker failing with: No space left on device

2020-08-27 Thread David Edelsohn
David Edelsohn added the comment: If they want to discuss here, fine, but the failing bot is a symptom not the problem. The Buidlbot infrastructure is unstable, causing disconnects and leaving un-removed files. If one looks at the workers, one can see many of the architectures in

[issue41642] RHEL and fedora buildbots fail due to disk space error

2020-08-27 Thread David Edelsohn
David Edelsohn added the comment: I have found a large number of un-removed files in /tmp. Things seem to function better with Buildbots running older 0.x "buildslave" as opposed to newer "builtbot-worker" instances. -- nosy: +David.Edelsohn title: Buildbot: wo

[issue41642] Buildbot: workers detached every minute and "no space left on device" issue

2020-08-28 Thread David Edelsohn
David Edelsohn added the comment: I can provide some information from the logs of one of the buildbots, or change a parameter. Let me know. -- ___ Python tracker <https://bugs.python.org/issue41

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-01 Thread David Bolen
David Bolen added the comment: I've been seeing failures on the Win10 buildbot 3.x branch that seem to correlate with the timing of this change - could there be some further work needed on Windows? Or, if it's a test-only artifact and the warnings are innocuous, something to

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-09-01 Thread David Bolen
David Bolen added the comment: I'm guessing the warning appears odd as we're seeing a thread shutdown data race. The message is produced by threading_cleanup in support/threading_helper.py, and it appears that between the first and second lines one of the initially dangling th

[issue41691] Idle 3.8.5 on Win64 won't save a file if it didn't include a newline when it was opened (ex: opening empty file)

2020-09-02 Thread David Crespo
New submission from David Crespo : Idle won't save a file if it didn't include a newline when it was opened (ex: opening empty file) Steps for reproducing the error: 1) get into some folder in Windows File Explorer 2) right-click on empty space for context menu 3) click new ->

[issue41642] Buildbot: workers detached every minute and "no space left on device" issue

2020-09-02 Thread David Edelsohn
David Edelsohn added the comment: I have updated edelsohn-aix-ppc64 edelsohn-debian-z edelsohn-fedora-ppc64 edelsohn-fedora-rawhide-z edelsohn-fedora-z edelsohn-rhel-z edelsohn-rhel8-z edelsohn-sles-z aixtools-aix-power6 -- ___ Python tracker

<    5   6   7   8   9   10   11   12   13   14   >