[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-29 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: Thanks for the in-depth responses and feedback. When reinvestigating this in more detail that led me to create this patch, I discovered that the premise upon which I was operating upon was not the default (desired) compiler and linker flags. It turns

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > This is horrible and completely wrong. I'm not an expert in AIX and xlc, by any means. I would greatly appreciate your help to better understand so I can see the problem in the way you are to figure the best approach I can take. My prim

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele : Have the approach of building shared libraries on the AIX operating system be similar to that of a System V system. The primary benefit of this change is the elimination of custom AIX paths and reducing the changes at `./configure` to affect just

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-26 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- pull_requests: +14732 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14965 ___ Python tracker <https://bugs.python.org/issu

[issue37599] Remove a vague statement in documentation of Integer Objects

2019-07-15 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue37599> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36912] Can't left-align strings using f-strings or format()

2019-05-13 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue36912> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36820] Captured exceptions are keeping user objects alive unnecessarily in the stdlib

2019-05-06 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue36820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36782] Add tests for the datetime C API

2019-05-03 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue36782> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2019-04-29 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue36753> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-05 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue36540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2019-03-15 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I discovered that `Makefile.in.pre` injects include paths for building the interpreter, itself, which should probably not be passed along via distutils for building C/C++ extensions . https://github.com/python/cpython/blob

[issue35912] _testembed.c fails to compile when using --with-cxx-main in the configure step

2019-02-09 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue35912> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35723] Add "time zone index" cache to datetime objects

2019-01-11 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue35723> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-02 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue35378> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34416] PyCapsule_Import seems to release the GIL without acquiring it

2018-08-16 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue34416> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34103] Python3.7 places cwd instead of a scripts path in sys.path.

2018-07-12 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue34103> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2018-06-28 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- keywords: +patch pull_requests: +7606 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33990> ___ _

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2018-06-28 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele : When specifying CPPFLAGS during `./configure`, `sysconfig.get_config_var('CPPFLAGS')` does capture the originally specified flags. However, when building a C/C++ extension, any flags specified via CPPFLAGS are not present during compilation

[issue33902] entry_points/console_scripts is too slow

2018-06-19 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker <https://bugs.python.org/issue33902> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33586] 2.7.15 missing release notes on download page

2018-05-20 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele <eri...@gmail.com>: When visiting https://www.python.org/downloads/ and attempting to look at the 2.7.15 release notes, the 'Release Notes' link on the far right of the table, it resolves to https://www.python.org/downloads/. -- assignee

[issue33346] Syntax error with async generator inside dictionary comprehension

2018-04-24 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33346> ___ _

[issue32512] Add an option to profile to run library module as a script

2018-01-07 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32512> ___ _

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

2018-01-02 Thread Eric N. Vander Weele
Eric N. Vander Weele <eri...@gmail.com> added the comment: I can also confirm that OOT builds work as well. https://github.com/python/cpython/commit/395733d46bbc23d2f559eba4e5f75783f9bca6f1#diff-6fd819bc2460d3a50e561d2da6c09c02 addressed fixing this

[issue32206] Run modules with pdb

2017-12-03 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32206> ___ _

[issue31734] crash or SystemError in sqlite3.Cache in case it is uninitialized or partially initialized

2017-10-09 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31734> ___ _

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-26 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- pull_requests: +2464 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30769> ___

[issue30769] [EASY (C)] test_execve_invalid_env() of test_os leaks references

2017-06-26 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I think I may have found it. $ git show 77703942c5997dff00c48f10df1b29b11645624c Appears to indicate key2 and val2 are *not* decremented in the error conditions. Should I PR a fix for this or let Serhiy resolve? -- nosy: +ericvw

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-01 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30541> ___ _

[issue28845] Clean up known issues for AIX

2017-05-19 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- pull_requests: +1764 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28845> ___

[issue29972] Skip tests known to fail on AIX

2017-04-03 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29972> ___ _

[issue29545] Python behavioral difference between Linux and AIX

2017-02-13 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29545> ___ _

[issue28845] Clean up known issues for AIX

2017-01-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > I request that you review issue27435 - in particular msg284557 - as I feel > ctypes implementation for AIX is broken - at least as far as the supporting > routines are concerned. I believe this request is outside the scope of this particu

[issue18235] _sysconfigdata.py wrong on AIX installations

2017-01-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > Hmm, the patch seems to be incomplete, as it just removes all the AIX support > scripts and mentions, without adding anything new to accommodate for the > removal. The new changes to accommodate for the script removal are in https://github.c

[issue18235] _sysconfigdata.py wrong on AIX installations

2017-01-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I have a (large) patch that completely eliminates the need for ld_so_aix and makeexp_aix. I've applied and been using this with for Python 2.7 and 3.5+, but I still need to go back and validate the tests to ensure everything passes as expected. It's

[issue29218] distutils: Remove unused install_misc class

2017-01-09 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- components: -Build ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29218> ___

[issue29218] distutils: Remove unused install_misc class

2017-01-09 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele: This class hasn't been used for quite some time. Seems safe to remove. -- components: Build, Distutils files: distutils-remove-install_misc-1.patch keywords: patch messages: 285080 nosy: dstufft, eric.araujo, ericvw, gward priority: normal

[issue29172] blake2: Use lowest-common denominator signature of #pragma pack

2017-01-05 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele: Solaris Studio emits the following during compilation: "/tmp/Python-3.6.0/Modules/_blake2/impl/blake2.h", line 89: warning: ignoring malformed #pragma pack(n) "/tmp/Python-3.6.0/Modules/_blake2/impl/blake2.h", line 119

[issue29171] blake2: Remove unused function to avoid undefined references

2017-01-05 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- title: Remove unused blake2 function to avoid undefined references -> blake2: Remove unused function to avoid undefined references ___ Python tracker <rep...@bugs.pytho

[issue29171] Remove unused blake2 function to avoid undefined references

2017-01-05 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele: Compilers are not required to elide static functions which are unused. Some compilers, such as Solaris Studio, always emits the function, even if the function does not get called within the translation unit. This becomes problematic when a static

[issue28845] Clean up known issues for AIX

2016-12-05 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I have been able to test the example without a segmentation fault. $ python3.5 Python 3.5.2 (default, Nov 17 2016, 10:45:58) [C] on aix7 Type "help", "copyright", "credits" or "license" for more information. >&g

[issue28852] sorted(range(1000)) is slower in Python 3.7 compared to Python 3.5

2016-12-01 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28852> ___ _

[issue28845] Clean up known issues for AIX

2016-11-30 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > Having a few issues fixed does not mean that Python has been fully tested. I uploaded cleanup-readme-aix2.patch, which revives back the line removed in question and only removes lines which reference issues. I just noticed the results of Pytho

[issue28845] Clean up known issues for AIX

2016-11-30 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele: This patch cleans up Misc/README.AIX for addressed known issues. Issues that have been marked fixed: #11184, #11185 Issues resolved by new AIX version: #1745108 Issues resolved, but not yet marked fixed/closed: #11188 Additionally, it looks like #10709

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

2016-11-28 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27632> ___ _

[issue18235] _sysconfigdata.py wrong on AIX installations

2016-11-28 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18235> ___ _

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

2016-11-27 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I may be able to simplify the build on AIX by removing ld_so_aix and python.exp entirely. Would this be a preferred solution if I am able to get something working? If so, should I create a separate issue to track the change

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

2016-11-27 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I also have found this goes back since Python 2.7. I have refreshed the patched for the tip of CPython. What can I do to help push this forward? -- title: parallel build race condition on AIX since python-3.2 -> Parallel build race condit

[issue19521] parallel build race condition on AIX since python-3.2

2016-11-27 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue28029] Replace and empty strings

2016-09-08 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28029> ___ _

[issue28016] test_fileio fails on AIX

2016-09-08 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28016> ___ _

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-09-07 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28000> ___ _

[issue27859] argparse - subparsers does not retain namespace

2016-08-25 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27859> ___ _

[issue27863] multiple issues in _elementtree module

2016-08-25 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27863> ___ _

[issue27855] 2to3: Wrong code output w/ has_key

2016-08-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > Eric, remove the space from after the has_key call to match OP: > $ cat test.py > a.has_key(b)and x Good catch. Disregard msg273622 from me - I am able to replicate what the OP has

[issue27855] 2to3: Wrong code output w/ has_key

2016-08-24 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I am unable to replicate this issue with '2to3' from Python 2.7.12, Python 3.4.5, nor Python 3.5.2. Below is what I get with the versions I mentioned above. --- $ cat test.py a.has_key(b) and x $ 2to3 test.py RefactoringTool: Skipping optional fixer

[issue27643] test_ctypes fails on AIX with xlc

2016-08-23 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I am able to replicate what Michael has provided (i.e., xlc does not support signed short). Sorry for the confusion: I overlooked that the compiler is emitting the error with may patch and assuming 'unsigned'. So it seems like there are two things

[issue27843] Spaces in filenames in setuptools

2016-08-23 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27843> ___ _

[issue27643] test_ctypes fails on AIX with xlc

2016-08-22 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: Removed file: http://bugs.python.org/file44189/ctypes_test_sign_bitfields.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue27643] test_ctypes fails on AIX with xlc

2016-08-22 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > I believe that there is a specific reason that M, N, O, P, Q, R and S are "short". [...] Oops - this was an oversight when I created the patch. I just uploaded ctypes_test_sign_bitfields_2.diff, which is what I originally intended. ---

[issue25825] AIX shared library extension modules installation broken

2016-08-22 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: > Patch1 looks fine to me, though I will have to rely on you people to verify > that it does what it’s supposed to. Do you want me to commit it straight > away, or wait for your follow-up patch? Independently, I have created a similar patc

[issue27643] test_ctypes fails on AIX with xlc

2016-08-22 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: I came across this issue while researching where to post my patch (having come across this while building Python 2.7 & 3.x on AIX via xlc). > In general in C, if a bit-field has type “int” without a signed or unsigned > qualifier

[issue27643] test_ctypes fails on AIX with xlc

2016-08-20 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27643> ___ _

[issue25825] AIX shared library extension modules installation broken

2016-08-20 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele <eri...@gmail.com>: -- nosy: +ericvw ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25825> ___ _