[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2022-03-13 Thread Marvin Poul
Marvin Poul added the comment: Here's the small patch. Sadly I have no overview what the affected linux kernel version are. I guess technically you can all this "working around a bug in specific linux version", but since it's a very minor change that saves one syscall ev

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2022-03-13 Thread Marvin Poul
Marvin Poul added the comment: I hope you don't mind me necro posting, but I ran into this issue again and have a small patch to solve it. I attached an MWE that triggers the BlockingIOError reliably on ext4 filesystems in linux 4.12.14 and python 3.8.12. Running under strace -e sendfile

[issue42774] 'ipaddress' module, bad result for 'is_private' on "192.0.0.0"

2020-12-28 Thread Trevor Marvin
Change by Trevor Marvin : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue42774> ___ ___

[issue42774] 'ipaddress' module, bad result for 'is_private' on "192.0.0.0"

2020-12-28 Thread Trevor Marvin
New submission from Trevor Marvin : Tested on Python 3.6.9 with "ipaddress" module, module version 1.0. ipaddress.ip_address('192.0.0.0').is_private Incorrectly returns as 'True'. Per RFC 1918 / BCP 5, section 3, the private IPv4 space sarting with '192' is only '192.

[issue38679] Scipy and Scikit learn library installation issues

2019-11-03 Thread Marvin
New submission from Marvin : I recently uninstalled a previous version of Python 3.7.3, and installed Python 3.8.0. Prior to the update, I had no issues installing scipy, and scikit learn. However, I am unable to do this and received the error below. C:\Users\Marvin McKiney II>python

[issue25685] Inefficiency with SocketHandler - may send log record message string twice in pickled data structure

2015-11-20 Thread Marvin Greenberg
New submission from Marvin Greenberg: In logging.handlers.SocketHandler.makePickle code was added for issue 14436 that replaces the 'msg' in the log record dict with the formatted message. But if an earlier handler already formatted the message, it will have been added to the log record

[issue9982] Pointer problem in initializing array of arrays

2010-09-29 Thread Marvin Mundry
New submission from Marvin Mundry marvin@gmx.de: m1=[[0,0,0,0]]*4 m1 [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]] m1[0][0]+=1 m1 [[1, 0, 0, 0], [1, 0, 0, 0], [1, 0, 0, 0], [1, 0, 0, 0]] after initializing an array of arrays as done in the first line of the code snippet all