[issue28494] is_zipfile false positives

2019-01-30 Thread Matthew Ryan
Change by Matthew Ryan : -- nosy: +mryan1539 ___ Python tracker <https://bugs.python.org/issue28494> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26735] os.urandom(2500) fails on Solaris 11.3

2016-04-12 Thread Matthew Ryan
Matthew Ryan added the comment: Yes, I've verified that: * the issue existed in the default branch as of this morning. * the patch applies cleanly against both 3.5 and default, and addresses the issue in both branches. -- ___ Python tracker <

[issue26735] os.urandom(2500) fails on Solaris 11.3

2016-04-12 Thread Matthew Ryan
Matthew Ryan added the comment: The new patch looks fine; I used __sun__ rather than sun out of habit (C standard requires system specific macros be in the reserved namespace), but either will work. I found the original problem through debugging with GDB, so I know getrandom() was being called

[issue26735] os.urandom(2500) fails on Solaris 11.3

2016-04-11 Thread Matthew Ryan
New submission from Matthew Ryan: On Solaris 11.3 (intel tested, but I assume issue is on SPARC as well), I found the following fails: import os os.urandom(2500) The above throws OSError: [Errno 22] Invalid argument. It turns out that the Solaris version of getrandom() is limited