[issue27643] test_ctypes fails on AIX with xlc

2018-01-01 Thread Michael Felt
Michael Felt added the comment: As I was not responding properly (too verbose) - I'll reread the thread for the initial patch suggestion - and hope it still fits the current 'master'. My apologies for the long silence on this. -- nosy: -aix

[issue28290] BETA report: Python-3.6 build messages to stderr: AIX and "not GCC"

2018-01-01 Thread Michael Felt
Michael Felt added the comment: this was just feedback - and should probably be closed. -- ___ Python tracker <https://bugs.python.org/issue28290> ___ ___ Pytho

[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2018-01-01 Thread Michael Felt
Michael Felt added the comment: There were changes made - I know not when - but OOT builds work now. This issue may be closed. -- ___ Python tracker <https://bugs.python.org/issue27

[issue32390] AIX compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-03 Thread Michael Felt
Michael Felt added the comment: On 03/01/2018 14:41, David Edelsohn wrote: > David Edelsohn added the comment: > > _ALL_SOURCE is overkill. It probably is too big a club for this regression. Maybe. Clearly it is a big club. The documentation - if you can find any - is ancie

[issue32390] AIX compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-03 Thread Michael Felt
Michael Felt added the comment: Ignore my last comment - I have a headache. If I could edit/delete it I would. aka "reset 2018 - here I come!" -- ___ Python tracker <https://bugs.python.o

[issue32390] AIX compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-03 Thread Michael Felt
Michael Felt added the comment: On 03/01/2018 18:03, Xavier de Gaye wrote: > Xavier de Gaye added the comment: > > The following patch may be less invasive and more explicit: > > diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c > index 38b6c80e6b..e0bb4ba869 1006

[issue27435] ctypes library loading and AIX - also for 2.7.X (and later)

2018-01-03 Thread Michael Felt
Michael Felt added the comment: On 24/02/2017 09:44, Michael Haubenwallner wrote: > Michael Haubenwallner added the comment: > > Let's switch to github-based patches to discuss about: > https://github.com/python/cpython/compare/2.7...haubi:issue27435/2.7 > > For the libra

[issue32493] UUID Module - FreeBSD build failure

2018-01-08 Thread Michael Felt
Michael Felt added the comment: On 05/01/2018 13:38, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > Michael, does AIX have uint32_t? If so, we could happily drop the unsigned32 > reference. Yes, AIX has unit32_t. michael@x071:[/home/michael]grep unsigned32 /usr

[issue32493] UUID Module - FreeBSD build failure

2018-01-08 Thread Michael Felt
Michael Felt added the comment: On 08/01/2018 12:47, David Carlier wrote: > David Carlier added the comment: > > Perfect. That solves in the process OpenBSD uuid module build too. > > -- p.s. I did not 'invent' unsigned32 - just took the syntax from the man p

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-08 Thread Michael Felt
Michael Felt added the comment: Considering that _uuid is now working for AIX issue32399 - I need to get some things straight (aka some help please). Does uuid.py (./Lib/uuid.py) call _uuid.py? If not, I am curious how _uuid.c is used - because ./Lib/test/test_uuid.py does not seem to be

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-08 Thread Michael Felt
Michael Felt added the comment: On 08/01/2018 16:07, Michael Felt wrote: > Michael Felt added the comment: > > Considering that _uuid is now working for AIX issue32399 - I need to get some > things straight (aka some help please). > > Does uuid.py (./Lib/uuid.py) call _uuid

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-08 Thread Michael Felt
Michael Felt added the comment: On 08/01/2018 17:22, Michael wrote: > On 08/01/2018 16:07, Michael Felt wrote: >> Michael Felt added the comment: >> >> Considering that _uuid is now working for AIX issue32399 - some time differences - this is on POWER6 (10 years old syste

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-09 Thread Michael Felt
Michael Felt added the comment: On 09/01/2018 16:21, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > >> What is the desired behavior, specifically, of > uuid.getnode() - constant, or 'random'? > > I'm also certain getnode() is supposed to

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-23 Thread Michael Selik
Michael Selik added the comment: I changed the PR to simply replace OrderedDict with dict. For the docs warnings, if I'm understanding correctly, those should be separate pulls for older branches? -- ___ Python tracker <https://bugs.py

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero
Michael Romero added the comment: I don't have a minimal failing example as is being requested. What I do have is the smallest version of the code published by Berkeley's AI course that I could find that allows easy demonstration of the issue. "python pacman.py" is en

[issue33500] Python TKinter for Mac on latest 2.7.15 still extremely slow vs Windows

2018-05-30 Thread Michael Romero
Michael Romero added the comment: * What version of macOS are you using? "Is fully patched" the latest High Sierra? - I've tried the version bundled with MacOS fully patched high sierra, as well as versions downloaded from python.org, Intel, and ActiveState. They all

[issue27643] test_ctypes fails on AIX with xlc

2018-06-02 Thread Michael Felt
Michael Felt added the comment: I know it is not earth shattering - but it will permit one more test to pass. Please review the PR. Thx. -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue27

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-06-02 Thread Michael Felt
Michael Felt added the comment: Please review PR. at least for "master" -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue28009> ___ __

[issue11191] test_search_cpp error on AIX (with xlc)

2018-06-02 Thread Michael Felt
Michael Felt added the comment: I hope this can be reviewed and eventually closed - not because it is X years old and unresolved - but because it is resolved for the latest branches! Thx -- versions: +Python 3.8 ___ Python tracker <ht

[issue32493] UUID Module - FreeBSD build failure

2018-06-06 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +7082 ___ Python tracker <https://bugs.python.org/issue32493> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32493] UUID Module - FreeBSD build failure

2018-06-07 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +7139 ___ Python tracker <https://bugs.python.org/issue32493> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32493] UUID Module - FreeBSD build failure

2018-06-07 Thread Michael Felt
Michael Felt added the comment: @vstinner - I know this is "closed", however, I submit a minor PR to fix an error in PR7104. The logic of configure.ac always defines HAVE_UUID_ENC_BE. I cannot proceed with PR5183 (aka issue28009) until this is repa

[issue32493] UUID Module - FreeBSD build failure

2018-06-08 Thread Michael Felt
Michael Felt added the comment: OK. I know I do not understand this well - when it goes in A, or B. So, if I understand correctly, like this issue was created after uuid_create() was added for AIX and created issues for FreeBSD )that I did not know had uuid_create(), I need to create a new

[issue33462] reversible dict

2018-06-08 Thread Michael Selik
Michael Selik added the comment: It looks like there's general agreement on python-dev that this is appropriate for v3.8 (not v3.7). Guido van Rossum and Ramsey D'silva gave a +1. Raymond Hettinger noted some use cases. INADA Naoki raised a point about waiting for other imple

[issue32493] UUID Module - FreeBSD build failure

2018-06-10 Thread Michael Felt
Michael Felt added the comment: I was not aware that _uuid was new to python3-3.7. I thought it had been around for a long time. Bpo-28009 goes back two years and i was unaware of uuid_create(). Would it be easier to split it into 3 issues? One for unixdll, one for netstat, and one for

[issue33927] Allow json.tool to have identical infile and outfile

2018-06-21 Thread Michael Kuhlmann
New submission from Michael Kuhlmann : It would be nice to have same infile and outfile for json.tool to replace json files with their pretty-printed version. Currently, if I try this I get an error: $ python3 -m json.tool example.json example.json Expecting value: line 1 column 1 (char 0

[issue34002] minor efficiency and clarity improvements in email package

2018-06-29 Thread Michael Selik
New submission from Michael Selik : The primary motivation for these improvements was avoiding a while/pop pattern for looping. A for-loop is a big improvement over copying a list, then repeatedly popping the 0th element. A lesser improvement is the use of ``a.intersection(b)`` instead of

[issue34002] minor efficiency and clarity improvements in email package

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- keywords: +patch pull_requests: +7620 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34002> ___ ___ Py

[issue34002] minor efficiency and clarity improvements in email package

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- components: +email nosy: +barry, r.david.murray versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue34

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2018-06-29 Thread Michael Selik
New submission from Michael Selik : Since dicts are now keeping insertion order as of 3.7, we can switch to the more efficient construction of dict rather than OrderedDict for each row in the CSV file. -- messages: 320734 nosy: selik priority: normal severity: normal status: open

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- keywords: +patch pull_requests: +7622 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34003> ___ ___ Py

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2018-06-29 Thread Michael Selik
Michael Selik added the comment: Pull request. https://github.com/python/cpython/pull/8014 -- ___ Python tracker <https://bugs.python.org/issue34003> ___ ___

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue34003> ___ ___ Python-bugs-list mailing list Unsub

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2018-06-29 Thread Michael Selik
Change by Michael Selik : -- type: -> performance ___ Python tracker <https://bugs.python.org/issue34003> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue34003] csv.DictReader can return basic dict instead of OrderedDict

2018-06-29 Thread Michael Selik
Michael Selik added the comment: I searched for previously submitted issues, but somehow didn't spot #32339. I'll do some searching for whether anyone uses ``move_to_end`` on DictReader rows and respond to the mailing list wit

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2018-07-03 Thread Michael -O
Michael -O <1983-01...@gmx.net> added the comment: I have applied the patch to 3.6.6 from the source tarball and I was able to proceed with the compilation. I would take the failed tests as blocker. Try to solve them later. Can this be closed? -- nosy: +Mich

[issue33897] Add a restart option to logging.basicConfig()

2018-07-11 Thread michael kearney
michael kearney added the comment: Thank you! I just stumbled into this problem with logging.basicConfig. In the course of trying to find an acceptable workaround I discovered issue 33897 . I downloaded 3.8.0 and voila my problem is solved. So, I'll tread lightly, advance to 3.7.0, and

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-12 Thread Michael Kearney
New submission from Michael Kearney : 0 >>> import logging 1 >>> root=logging.getLogger(name='root') 2 >>> root.warning('msg') 3 msg <- Compare this line 4 >>> logging.warning('msg&#

[issue34107] root.warning('msg') output format modified by logging.warning('msg')

2018-07-13 Thread Michael Kearney
Michael Kearney added the comment: Thanks for the clarification and doc pointers. I saw "lastResort" attribute in the code but had not fully understood what was going on. I am not certain I really do now, but that's ok. That's why we read docs, read and write code.

[issue21617] importlib reload can fail with AttributeError if module removed from sys.path

2018-07-15 Thread Michael Forbes
Michael Forbes added the comment: What is the status of this issue? Is there a work-around? The 3.7 codebase raises an exception, but what is the correct solution for reloading a module that was loaded dynamically without modifying `sys.path`? -- nosy: +mforbes

[issue21617] importlib reload can fail with AttributeError if module removed from sys.path

2018-07-15 Thread Michael Forbes
Michael Forbes added the comment: It seems that a reasonable workaround (if you generate your own `spec`) is to call `spec.loader.exec_module(mod)`. This seems to reload the module into the same namespace. (I was afraid that it might replace the namespace hence the desire to use

[issue22708] httplib/http.client in method _tunnel used HTTP/1.0 CONNECT method

2018-07-16 Thread Michael Handler
Change by Michael Handler : -- pull_requests: +7839 ___ Python tracker <https://bugs.python.org/issue22708> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2018-07-18 Thread Michael Felt
Michael Felt added the comment: imho - this should have status "closed" -- ___ Python tracker <https://bugs.python.org/issue26439> ___ ___ Python-b

[issue27643] test_ctypes fails on AIX with xlc

2018-07-18 Thread Michael Felt
Michael Felt added the comment: Again, the PR worked months ago. I expect it to still work. So, I guess the question is: is there any interest. After several weeks of waiting after the last ttt - still waiting :) -- components: +Tests -ctypes

[issue11191] test_search_cpp error on AIX (with xlc)

2018-07-18 Thread Michael Felt
Michael Felt added the comment: @tarek - anything specific/extra you need? -- ___ Python tracker <https://bugs.python.org/issue11191> ___ ___ Python-bugs-list m

[issue34163] Python latest release 2.7 shows SSL error

2018-07-20 Thread Michael Felt
Michael Felt added the comment: There is a big chance it is not a direct issue with either python or pip / rather an issue with how current your "openssl" setup is. As an example, using git I was not able to "pull" from a remote. This git (that also depends on python)

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-07-21 Thread Michael Felt
Michael Felt added the comment: OK. as promised when I closed PR 5183 - a restart. You may skip the wall that follows - it is just documentation. The key points: * AIX ifconfig and arp do not supply maccaddr * netstat supplies a macaddr, but uses '.' not ':' as a de

[issue34194] test_ssl, AIX, and defaults for _ssl connections

2018-07-22 Thread Michael Felt
New submission from Michael Felt : As far as I can tell _ssl works properly. However, test_ssl returns FAIL at some very basic levels, e.g. ... test_constructor (test.test_ssl.ContextTests) ... ERROR ... test_protocol (test.test_ssl.ContextTests) ... ERROR test_python_ciphers

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2018-07-22 Thread Michael Felt
Michael Felt added the comment: as this is fixed is Python3.7 (see issue26439) and has been stated several times that it will not be fixed in Python2.7 I suspect this issue may also be closed. -- ___ Python tracker <https://bugs.python.

[issue34202] 3.6 ZipFile fails with Path

2018-07-23 Thread Michael Kleehammer
New submission from Michael Kleehammer : ZipFile is documented to accept "path-like" objects but is failing when I try to create one. I've distilled it down to this small test: import zipfile from pathlib import Path path = Path('test.zip') zf =

[issue34194] test_ssl, AIX, and defaults for _ssl connections

2018-07-25 Thread Michael Felt
Michael Felt added the comment: Any comments re: environment variables - even if the answer is None! -- versions: +Python 2.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34

[issue34194] test_ssl, AIX, and defaults for _ssl connections

2018-07-25 Thread Michael Felt
Michael Felt added the comment: update: went back to check what worked, did not work without the environment variable set. I am going to guess that pip(3) is able to make use of the environment variable SSL_CERT_FILE as pip download fails (in some cases) without it, but succeeds with it

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-07-25 Thread Michael Felt
Michael Felt added the comment: @pitrou: re: Is nohup required in the example you just posted or is that a red herring? I just use nohup to merge stdout and stderr when grepping for messages - and to, ideally, have the stdout and stderr messages properly synced in the output stream. So, I

[issue34273] %f is confusingly associated with fixed point format

2018-07-29 Thread Michael Fischer
New submission from Michael Fischer : In section "7.1.3.1. Format Specification Mini-Language" of the documentation (https://docs.python.org/2/library/string.html) both %f and %F are labelled "Fixed point". This is confusing for someone who a) transitions over from C or

[issue14266] pyunit script as shorthand for python -m unittest

2018-07-31 Thread Michael Foord
Change by Michael Foord : -- resolution: -> rejected ___ Python tracker <https://bugs.python.org/issue14266> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue34273] %f is confusingly associated with fixed point format

2018-08-01 Thread Michael Fischer
Michael Fischer added the comment: Thank you for your quick reply. I understand why you chose this description better now. However in C %f behaves exactly the same as in Python (for floating-point numbers) and you will mostly find the description for it along the lines of: '%f

[issue34322] modification to Lib/distutils/ccompiler.py to simplify handling of compile arguments by subclasses

2018-08-02 Thread Michael Schnaitter
New submission from Michael Schnaitter : Discussion on details in the referenced PR is needed. -- components: Library (Lib) messages: 322959 nosy: schnaitterm priority: normal pull_requests: 8132 severity: normal status: open title: modification to Lib/distutils/ccompiler.py to

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-08-04 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +8164 ___ Python tracker <https://bugs.python.org/issue28009> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34273] %f is confusingly associated with fixed point format

2018-08-04 Thread Michael Fischer
Michael Fischer added the comment: Terry: I absolutely agree with you. Changing 'Fixed point' to 'Fixed point notation' is the optimal solution here. -- ___ Python tracker <https://bug

[issue34194] test_ssl, AIX, and defaults for _ssl connections

2018-08-04 Thread Michael Felt
Michael Felt added the comment: I "guess" it is somewhere in this code. But I am getting lost in all the macros that call other macros. Some help would really be appreciated! Currently looking in _ssl.c at: /*[clinic input] _ssl.get_default_verify_paths Return search paths and e

[issue34338] abstractmethod can run on classes

2018-08-05 Thread Michael Hooreman
New submission from Michael Hooreman : Hello, When I decorate a class method with abc.abstractmethod, and I call it from the class (not the instance), the call is successful. It looks like ID 5867 which was closed years ago. See https://stackoverflow.com/questions/51669362/python-3-6-abc

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2018-08-06 Thread Michael Felt
New submission from Michael Felt : The test fails because byte_str.decode('ascii', 'surragateescape') is not what ascii(byte_str) - returns when called from the commandline. Assumption: since " check('utf8', [arg_utf8])" succeeds I assume the parsing o

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2018-08-06 Thread Michael Felt
Michael Felt added the comment: In short, I do not understand how this passes on Linux. This is python3-3.4.6 on sles12: >>> 'h\xe9\u20ac'.encode('utf-8') b'h\xc3\xa9\xe2\x82\xac' >>> ascii('h\xe9\u20ac'.encode('utf-8

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2018-08-06 Thread Michael Felt
Michael Felt added the comment: On 8/6/2018 10:10 PM, Michael Felt wrote: > Michael Felt added the comment: > > In short, I do not understand how this passes on Linux. > > This is python3-3.4.6 on sles12: > >>>> 'h\xe9\u20ac'.encode('utf-8')

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2018-08-07 Thread Michael Felt
Michael Felt added the comment: Common "experts" - feedback needed! Original test test_utf8_mode failed -- Traceback (most recent call last): File "/data/prj/python/git/python3-3.8/Lib/test/test_utf8_mode.py", line 225, in test_cmd_line check('utf8=0'

[issue11191] test_search_cpp error on AIX (with xlc)

2018-08-08 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +8196 ___ Python tracker <https://bugs.python.org/issue11191> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32638] distutils test errors with AIX and xlc

2018-08-09 Thread Michael Felt
Michael Felt added the comment: this can be closed. Discussion, if any, at https://github.com/python/cpython/pull/8709 or issue11191 -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2018-08-09 Thread Michael Felt
Michael Felt added the comment: Starting this discussion again. Please take time to read. I have spent hours trying to understand what is failing. Please spend a few minutes reading. Sadly, there is a lot of text - but I do not know what I could leave out without damaging the process of

[issue34373] test_time errors on AIX

2018-08-10 Thread Michael Felt
New submission from Michael Felt : 32-bit: == ERROR: test_mktime (test.test_time.TimeTestCase) -- Traceback (most recent call last): File "/data/prj/p

[issue34373] test_time errors on AIX

2018-08-10 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +8210 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34373> ___ ___ Py

[issue34381] Make tests with outbound connection optional

2018-08-11 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: I am currently trying investigate tests failures on HP-UX to port some engineering applications away from Fortran to Python, but a bunch of tests require outbound connection which I do not have. I do have an HTTP proxy only. Plea

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-11 Thread Michael Felt
New submission from Michael Felt : test_mode assumes that the SGID bit is not set in the parent directory. If it is set the assertEqual() tests fail. This PR checks the mode of 'base' to see if the SGID bit is set, or not, and compares results accordingly. Back-porting

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-11 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +8224 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34382> ___ ___ Py

[issue34401] Make test_gdb work on HP-UX

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: Regex in test_gdb.py needs to be changed and test can continue, though will be skipped due to old version. -- components: Tests files: test_gdb.patch keywords: patch messages: 323508 nosy: michael-o priority: normal se

[issue34401] Make test_gdb work on HP-UX

2018-08-14 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- type: -> crash ___ Python tracker <https://bugs.python.org/issue34401> ___ ___ Python-bugs-li

[issue34402] [SOLUTION] strftime fails on HP-UX

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: strftime() fails on HP-UX. It is mapped to wcsftime(3). It has a quirk on HP-UX that is does not conform to POSIX. To enable POSIX compat one has to do (excerpt from manpage): > APPLICATION USAGE > The "Un

[issue34402] [SOLUTION] strftime fails on HP-UX

2018-08-14 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: The worst thing about wcsftime(3) is that it silently fails by not writing to output buffer. timemodule.c allocates more and more memory and then gives up. -- ___ Python tracker

[issue34401] [solution] Make test_gdb work on HP-UX

2018-08-14 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- title: Make test_gdb work on HP-UX -> [solution] Make test_gdb work on HP-UX ___ Python tracker <https://bugs.python.or

[issue34403] test_utf8_mode.test_cmd_line() fails on HP-UX due to false assumptions

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: Running from 3.7 branch on HP-UX 11.31 ia64, 32 bit, big endian. The test output is: > Re-running failed tests in verbose mode > Re-running test 'test_utf8_mode' in verbose mode > test_cmd_line (test.test_utf8_mod

[issue34404] test_time incorrectly defined

2018-08-14 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: I see a test failure on HP-UX: > test_negative (test.test_time.TestStrftime4dyear) ... FAIL > == > FAIL: test_negative (test.test_time.Tes

[issue34404] test_time incorrectly defined

2018-08-14 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: The proper format for int < 0 must be "%05d". -- ___ Python tracker <https://bugs

[issue11192] test_socket error on AIX

2018-08-14 Thread Michael Felt
Michael Felt added the comment: The original error reported was fixed by AIX - in AIX 6.1. It will remain unresolved in AIX 5.3. There are currently two other errors in test_socket. FAIL: test_getnameinfo_ipv6_scopeid_symbolic (test.test_socket.GeneralModuleTests

[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

2018-08-15 Thread Michael Felt
Michael Felt added the comment: I am looking at this. Based on the comments from a historical perspective - copyfile() needs to be calling the copy_mode function before any copying actually occurs. As the dest is already open for writing it does not matter (on posix) what mode it has later

[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

2018-08-15 Thread Michael Felt
Michael Felt added the comment: my bad: forgot the snippet I mentioned in the previous post: try: lookup("chmod")(dst, mode, follow_symlinks=follow) except NotImplementedError: # if we got a NotImplementedError, it's because # * follow

[issue34381] Make tests with outbound connection optional

2018-08-15 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: That looks promising, I figured out that there is "./python -m test -h". make test TESTOPTS="-uall,-network" works flawlessly. I would have expected a link to https://devguide.python.org/runtests/ from https:/

[issue34401] [SOLUTION] Make test_gdb work on HP-UX

2018-08-15 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- title: [solution] Make test_gdb work on HP-UX -> [SOLUTION] Make test_gdb work on HP-UX ___ Python tracker <https://bugs.python.or

[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

2018-08-16 Thread Michael Felt
Michael Felt added the comment: I want to believe this can be resolved - without breakage on POSIX. Clarification: while Mac/OS falls under "posix" in python terms - maybe "breakage" will need to be accepted, or, for "back-ports" Mac/OS will be "as if root o

[issue27435] ctypes library loading and AIX - also for 2.7.X (and later)

2018-08-16 Thread Michael Felt
Michael Felt added the comment: as this is not (likely) to be backported to Python2 (by python, fyi: I do include full ctypes-load_library() support in my "independent" packaging) and it is "resolved" for Python3-3.7 issue26439 this issue

[issue34401] [SOLUTION] Make test_gdb work on HP-UX

2018-08-16 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: Removed file: https://bugs.python.org/file47749/test_gdb.patch ___ Python tracker <https://bugs.python.org/i

[issue34412] strsignal(3) does not exist on HP-UX

2018-08-16 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: HP-UX does not provide any mappings from signals to strings. The proper approach is to map just like for Windows. Alternatively, one could simply return the singal as an int. -- components: Library (Lib) messages: 32360

[issue34412] strsignal(3) does not exist on HP-UX

2018-08-16 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: References: * https://github.com/google/cmockery/issues/11 * https://www.spinics.net/lists/dash/msg00547.html -- ___ Python tracker <https://bugs.python.org/i

[issue34412] strsignal(3) does not exist on HP-UX

2018-08-16 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- keywords: +patch pull_requests: +8259 stage: -> patch review ___ Python tracker <https://bugs.python.or

[issue17180] shutil copy* unsafe on POSIX - they preserve setuid/setgit bits

2018-08-16 Thread Michael Felt
Michael Felt added the comment: On 16/08/2018 17:34, Ronald Oussoren wrote: > Ronald Oussoren added the comment: > > I don't understand this clarification: > >> Clarification: while Mac/OS falls under "posix" in python terms - maybe >> "breakage

[issue34419] selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c5beb99e8bf5eb04cc836d53fa9aee

2018-08-17 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: It seems like an oversight of the author, though it is not clear why this happily compiles with clang 3.4.1 on FreeBSD 10.4-STABLE and GCC on RHEL6. The error is (HP-UX 11.31 and HP C/aC++ B3910B A.06.28.03 [Dec 13 2016]): >

[issue34419] selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c

2018-08-17 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- title: selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c5beb99e8bf5eb04cc836d53fa9aee -> selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c ___ Pytho

[issue34419] selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c

2018-08-17 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: A PR is in preparation. -- ___ Python tracker <https://bugs.python.org/issue34419> ___ ___ Pyth

[issue34419] selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c

2018-08-17 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- keywords: +patch pull_requests: +8271 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.or

[issue31938] Convert selectmodule.c to Argument Clinic

2018-08-17 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- pull_requests: +8272 ___ Python tracker <https://bugs.python.org/issue31938> ___ ___ Python-bugs-list

[issue34381] Make tests with outbound connection optional

2018-08-17 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- keywords: +patch pull_requests: +8273 stage: -> patch review ___ Python tracker <https://bugs.python.or

[issue34419] selectmodule.c does not compile on HP-UX due to bpo-31938/6dc57e2a20c

2018-08-17 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Bevakasha! -- ___ Python tracker <https://bugs.python.org/issue34419> ___ ___ Python-bugs-list

<    12   13   14   15   16   17   18   19   20   21   >