[issue36758] configured libdir not correctly passed to Python executable

2019-04-30 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: I do compile Python from master on HP-UX with aCC: # echo $LDFLAGS $CPPFLAGS -L/opt/ports/lib/hpux32 -I/opt/ports/include UNIX_STD=1998 LDFLAGS="$LDFLAGS -lreadline" CPPFLAGS="-I$PREFIX/include/ncurses $CPPFLAGS&

[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: I do not know because I haven't really tested that branch. My HP-UX PRs (https://github.com/python/cpython/pulls/michael-o) are still open and apply to master currently. We (you and me) agreed some time ago, that we go master

[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: The memset() works as expected and compiles for me. -- ___ Python tracker <https://bugs.python.org/i

[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-26 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: > /opt/aCC/bin/aCC -Ae -O -I./Include/internal -I. -I./Include > -I/opt/ports/include -I/opt/ports/include -DPy_BUILD_CORE_BUILTIN -c > ./Modules/faulthandler.c -o Modules/faulthandler.o > "./Modules/fau

[issue14568] HP-UX local libraries not included

2019-04-26 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Please close because there is actually no /usr/local on HP-UX, System V does use /opt, not /usr/local. -- ___ Python tracker <https://bugs.python.org/i

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-25 Thread Michael Felt
Michael Felt added the comment: On 23/04/2019 17:53, Steve Dower wrote: > Steve Dower added the comment: > >> Being 'runtime' rather than 'buildtime' seemed more precise - tests that >> are not meant to be build-time dependent use run-time status while >> leaving s

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-23 Thread Michael Felt
Michael Felt added the comment: On 22/04/2019 21:14, Steve Dower wrote: > Steve Dower added the comment: > > I like this, though I don't like using the platform module here and would > prefer sys.platform to be canonical (until there's a need to differentiate - > e.g. so

[issue36696] possible multiple regressions on AIX

2019-04-23 Thread Michael Felt
Michael Felt added the comment: On 22/04/2019 14:15, Inada Naoki wrote: > Inada Naoki added the comment: > > Maybe, XLC doesn't support -D name. -Dname should be used instead. Excellent hint: the diff between bot run 1013 and run 1014 reveals: diff --git a/setup.py b/setup

[issue36696] possible multiple regressions on AIX

2019-04-22 Thread Michael Felt
New submission from Michael Felt : My AIX bot has been very consistent - only the multiprocessing tests failing when run by bot, but 4 or 5 days ago 3 to 5 additional tests - that, afaik, had never failed before, are now failing. These may also be compiler related specifics, or the presence

Re: Function to determine list max without itertools

2019-04-19 Thread Michael Torrie
On 04/19/2019 04:01 AM, Sayth Renshaw wrote: > def max_try(listarg): > myMax = listarg[0] > try: > for item in listarg: > if item > myMax: > myMax = item > except TypeError: > print(f'Only numbers are supported, this entry "{item}" was not')

[issue36273] test_thread leaks a core dump on PPC64 AIX 3.x

2019-04-17 Thread Michael Felt
Michael Felt added the comment: On 17/04/2019 14:02, STINNER Victor wrote: > STINNER Victor added the comment: > > The same bug is back: > https://buildbot.python.org/all/#/builders/10/builds/2443 > > Warning -- files was modified by test_threading > Before:

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-16 Thread Michael Felt
Michael Felt added the comment: Never mind - typos in the files I did work on. iow, I found a way to get the filename, and am cleaning up the errors. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-16 Thread Michael Felt
Michael Felt added the comment: OK. I have been chewing my bone. I hope not too much indigestion. Who has a pointer for the antacid? Getting base branch for PR ... origin/master Getting the list of files that have been added/changed ... 72 files Fixing Python file whitespace ... Traceback

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-15 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +12768 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36624> ___ ___ Py

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-15 Thread Michael Felt
Michael Felt added the comment: On 15/04/2019 11:50, STINNER Victor wrote: > STINNER Victor added the comment: > > support.is_android has two flaws: > > * it's a constant: it must be spelled as UPPER CASE > * I dislike "is_" prefix: "MS_WINDOWS" consta

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-14 Thread Michael Felt
Michael Felt added the comment: On 14/04/2019 18:04, Michael Felt wrote: > Is this a good way to get started? So, as an example - seems to be many attributes in test/support/__init__.py diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 5bd15a2..e20567f 100

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-14 Thread Michael Felt
Michael Felt added the comment: I took a peak at test.support. a) I see that while many tests import test.support, or from test.support import - not all tests use this. b) I see that only 35 .py files in Lib/test have the string sys.platform.startswith, and there are 76 files that have

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-13 Thread Michael Felt
Michael Felt added the comment: On 12/04/2019 23:16, Michael Felt wrote: > Agreed, in case of doubt - leave alone (never change a winning team). > > And, to make it a short reply - I'll get started, and we see where it > leads us. I opened issue36624 (https://bugs.python.or

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-04-13 Thread Michael Felt
New submission from Michael Felt : Back in 2012 (issue12326 and issue12795), and just recently (issue36588) sys.platform has been modified (and documented) to not return the platform version. Additionally, the recommendation is to use the form sys.platform.startswith() - to continue

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-12 Thread Michael Felt
Michael Felt added the comment: On 12/04/2019 17:34, STINNER Victor wrote: > STINNER Victor added the comment: > >> But, should I just continue standard practice (sys.platform), or would >> this be a moment to move towards platform.system() (i.e., set the >> exampl

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-12 Thread Michael Felt
Michael Felt added the comment: On 12/04/2019 16:16, STINNER Victor wrote: > STINNER Victor added the comment: > > Do you want to work on a change to replace sys.platform.startswith("aix") to > cleanup the stdlib and tests? Not sure if it's nee

[issue36579] test_venv: test_with_pip() hangs on PPC64 AIX 3.x

2019-04-12 Thread Michael Felt
Michael Felt added the comment: On 12/04/2019 10:28, Michael Felt wrote: > Michael Felt added the comment: > > On 10/04/2019 18:49, STINNER Victor wrote: >> STINNER Victor added the comment: >> >> "I am looking into this - but as it seems to have gone away

[issue36579] test_venv: test_with_pip() hangs on PPC64 AIX 3.x

2019-04-12 Thread Michael Felt
Michael Felt added the comment: On 10/04/2019 18:49, STINNER Victor wrote: > STINNER Victor added the comment: > > "I am looking into this - but as it seems to have gone away again - is > there a simple way to get that code back, and/or see what the diff is, > before/badr

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-11 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +12714 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36588> ___ ___ Py

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-11 Thread Michael Felt
Michael Felt added the comment: Was: root@x064:[/data/prj/python/python3-3.8]./python Python 3.8.0a3+ (heads/bpo-28009-2-dirty:2fb2bc81c3, Apr 11 2019, 07:09:55) [C] on aix6 Type "help", "copyright", "credits" or "license" for more informatio

[issue28009] core logic of uuid.getnode() is broken for netstat

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

[issue36579] test_venv: test_with_pip() hangs on PPC64 AIX 3.x

2019-04-10 Thread Michael Felt
Michael Felt added the comment: On 09/04/2019 18:51, STINNER Victor wrote: > New submission from STINNER Victor : > > https://buildbot.python.org/all/#/builders/10/builds/2389 > > 0:45:36 [412/420/1] test_venv crashed (Exit code 1) > Timeout (0:15:00)! > Thread 0x0

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-10 Thread Michael Felt
Michael Felt added the comment: On 10/04/2019 17:05, STINNER Victor wrote: > STINNER Victor added the comment: > > I like the idea. Would you like to propose a patch? I suggest to only make > such change in Python 3.8 and properly document it. > > --

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-10 Thread Michael Felt
New submission from Michael Felt : This is something that probably shouts - boring - but back in 2012 it was a hot topic for linux2 and linux3. Maybe - as far back as 1996 (when AIX4 was new) "aix3" and "aix4" made sense. Whether that is true, or not - is pointless thes

[issue36503] remove references to aix3 and aix4 in \*.py

2019-04-02 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +12587 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36503> ___ ___ Py

[issue36503] remove references to aix3 and aix4 in \*.py

2019-04-02 Thread Michael Felt
New submission from Michael Felt : sys.platform returns "aix[3|4|4|5|6|7" AIX 3 and AIX 4 are no longer around, in any supported form, so references to these specific releases is pointless. This will remove the (two) places where they are still referenced. -- compone

[issue36210] correct AIX logic in setup.py for (non-existant) optional extensions

2019-04-02 Thread Michael Felt
Change by Michael Felt : -- title: correct AIX logic in setup.py for non-existant optional extensions -> correct AIX logic in setup.py for (non-existant) optional extensions ___ Python tracker <https://bugs.python.org/issu

[issue36210] correct AIX logic in setup.py for non-existant optional extensions

2019-04-01 Thread Michael Felt
Change by Michael Felt : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue36210> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36210] correct AIX logic in setup.py for non-existant optional extensions

2019-04-01 Thread Michael Felt
Michael Felt added the comment: Updating this to not only correct the failure of 3rd-party library ncurses (while IBM curses builds with no issue) to also stop announcing that the optional modules osaudiodev and spwd have not been built. Neither are supported on AIX - so they will never

[issue30587] Mock with spec object does not ensure method call signatures

2019-04-01 Thread Michael Foord
Michael Foord added the comment: Spec objects are currently dumb. It would be a new feature to add signature validation to them. I think it would be a useful feature though as currently autospec sort of obsoletes spec objects whilst being more heavyweight and harder to use. I think

[issue36485] Add a way to clear all caches

2019-03-30 Thread Michael Foord
Michael Foord added the comment: Tests codify knowledge about the system under test, so it doesn't matter that the test suite has to know how to clear caches. It's specifically a good thing that the test writer knows which caches exist and need clearing, and how to do it. The harder thing

[issue36485] Add a way to clear all caches

2019-03-30 Thread Michael Foord
Michael Foord added the comment: > On 30 Mar 2019, at 23:48, Michael Foord wrote: > > > Michael Foord added the comment: > > An auto-magic cache clearing mechanism is really tempting. I tend to agree > with Raymond though, if code needs and progress a cac

[issue36485] Add a way to clear all caches

2019-03-30 Thread Michael Foord
Michael Foord added the comment: An auto-magic cache clearing mechanism is really tempting. I tend to agree with Raymond though, if code needs and progress a cache clearing mechanism it should be treated and accessible. They're are probably some problematic caches still within unittest

[issue34498] Python 3.7 breaks on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

2019-03-28 Thread Michael Selik
Michael Selik added the comment: +1 for this use case. Until it's resolved, perhaps there should be a note in the singledispatch docs that types from the ``typing`` module should not be used? -- nosy: +selik ___ Python tracker <ht

[issue36273] test_thread leaks a core dump on PPC64 AIX 3.x

2019-03-27 Thread Michael Felt
Michael Felt added the comment: I have looked at this briefly. I would consider it a regression, or a spurious incident as the bot run before (https://buildbot.python.org/all/#/builders/10/builds/2223) and after (https://buildbot.python.org/all/#/builders/10/builds/2225) do not show

Re: Determining latest stable version for download

2019-03-21 Thread Michael Torrie
On 03/21/2019 09:36 AM, Tim Johnson wrote: > Michael, I should have asked the following question: > Would I be able to install from the EPEL Repository or the Redhat > Software Collections to a local ~/bin? I am not sure, but have my doubts. Software Collections distributes softwa

Re: Determining latest stable version for download

2019-03-20 Thread Michael Torrie
On 03/20/2019 07:10 PM, Tim Johnson wrote: > * Ian Kelly [190320 12:00]: >> 1) https://www.python.org/downloads/ has release information. Based on that >> you would currently want 3.7.2. Make sure you actually download 3.7.2 and >> not 3.7.2rc1. > Understood. Thanks. Your info is the solution.

[issue10514] configure does not create accurate Makefile on AIX

2019-03-19 Thread Michael Felt
Michael Felt added the comment: >From memory I do not believe this is still a problem, at least on Python3. There was recently a different issue (do not recall the #) where there was an issue with CXX regardless of compiler. In any case, the apporach I would recommend would be to exp

[issue36366] Patcher stop method should be idempotent

2019-03-19 Thread Michael Foord
Michael Foord added the comment: It's almost certainly an oversight rather than a design decision. I'd be happy with the change you suggest Karthikeyan. -- ___ Python tracker <https://bugs.python.org/issue36

Re: Reasoning of calling a method on class object instead of class instance object

2019-03-18 Thread Michael Torrie
On 03/18/2019 07:09 PM, Ben Finney wrote: > Arup Rakshit writes: > > Michael Torrie writes: > >> On 03/18/2019 05:55 PM, Ben Finney wrote: >>>> If I call `_c_to_f`, `_f_to_c` methods on `self` instead of >>>> `RefrigeratedShippingContainer` class ob

Re: Reasoning of calling a method on class object instead of class instance object

2019-03-18 Thread Michael Torrie
On 03/18/2019 05:55 PM, Ben Finney wrote: >> If I call `_c_to_f`, `_f_to_c` methods on `self` instead of >> `RefrigeratedShippingContainer` class object, still it works. > > That's right, and is indeed the point of making a static method on a > class. I'm confused. The methods that refer to

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-03-18 Thread Michael Saah
Michael Saah added the comment: While I agree with Victor that reworking time.strftime to be more portable is a great idea, this issue was never about that; it was about making exception throwing behavior consistent across datetime's two strftime implementations (python and C), and also

Re: subprocess svn checkout password issue

2019-03-16 Thread Michael Torrie
On 03/16/2019 10:08 AM, Grant Edwards wrote: > I don't know about svn specifically, but in the past it was typical > for programs requiring passwords and assuming interactive usage to > issue the password prompt to and read the password from /dev/tty, > rather than stdin/stdout. That allowed

Re: "use strict"

2019-03-12 Thread Michael Torrie
On 03/11/2019 01:00 PM, Abdur-Rahmaan Janhangeer wrote: > the problem was that i was reviewing the code, since everything worked (no > errors but wrong output for sure) it took sometimes to find that var. it > was like someone telling me there is fish in that lake and i was throwing > my line

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-03-12 Thread Michael Felt
Change by Michael Felt : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue34720> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11192] test_socket error on AIX

2019-03-12 Thread Michael Felt
Change by Michael Felt : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue11192> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34373] test_time errors on AIX

2019-03-12 Thread Michael Felt
Change by Michael Felt : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue34373> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-03-12 Thread Michael Felt
Change by Michael Felt : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue35704> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:25, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to 3.7 and 3.6 please? Only 3.7 I guess - As 3.6 is in security mode. > > -- > versions: +Pyth

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:34, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to version 3.6? > > -- > versions: +Python 3.6 Not to worry: As 3.6 is in security mode. > >

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:31, Michael Felt wrote: > Michael Felt added the comment: > > could this be backported to versions 3.7, and if applicable, to version 3.6 Only 3.7 - As 3.6 is in security mode. > > -- > > ___

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:37, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to Version 3.6? Ignore this since 3.6 is in security mode. > > -- > versions: +Python 3.6 > >

[issue11192] test_socket error on AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:40, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to Version 3.7 and 3.6 (I do not expect it to > be backported to 2.7, but I had mistakenly removed it 2.7 when I changed it > to 3.8 -

[issue34373] test_time errors on AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:43, Michael Felt wrote: > Michael Felt added the comment: > > Could this alos be backported to Version 3.7 and 3.6 - thx! As 3.6 is in security mode - I guess only 3.7 then. > -- > versions: +Python

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 11/03/2019 09:42, Stéphane Wirtel wrote: > Stéphane Wirtel added the comment: > > Hi Michael, > > I think no, because 3.6 is in security mode. Clear reason. Maybe makes the baclport to 3.7 more opportune. Thx for the reply! > >

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this be backported to version 3.7? -- ___ Python tracker <https://bugs.python.org/issue34347> ___ ___ Python-bugs-list m

[issue34373] test_time errors on AIX

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this alos be backported to Version 3.7 and 3.6 - thx! -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue34

[issue11192] test_socket error on AIX

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this also be backported to Version 3.7 and 3.6 (I do not expect it to be backported to 2.7, but I had mistakenly removed it 2.7 when I changed it to 3.8 - and should have added 3.6 and 3.7 then). -- versions: +Python 2.7, Python 3.6, Python 3.7

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this also be backported to Version 3.7 and 3.6? -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue34

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this also be backported to Version 3.6? -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue34

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this also be backported to version 3.6? -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue35

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-03-10 Thread Michael Felt
Michael Felt added the comment: could this be backported to versions 3.7, and if applicable, to version 3.6 -- ___ Python tracker <https://bugs.python.org/issue34

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this also be backported to 3.6 and 3.7 please? -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue34

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-03-10 Thread Michael Felt
Michael Felt added the comment: Could this also be backported to 3.7 and 3.6 please? -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue35

[issue36210] ncurses versus cursus integration - platform differences and defaults

2019-03-06 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +12197 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36210> ___ ___ Py

[issue36210] ncurses versus cursus integration - platform differences and defaults

2019-03-06 Thread Michael Felt
New submission from Michael Felt : Only marking Python3.8, but this is a historical issue I have ignored as long as possible. There are many - ancient and recent issues open around the extension module _curses - and over the years it appears many assumptions have come into the code

[issue35828] test_multiprocessing_fork - crashes in PyDict_GetItem - segmentation error

2019-03-04 Thread Michael Felt
Michael Felt added the comment: I see I already asked howto better utilize this info: ConnectionRefusedError: [Errno 79] Connection refused Warning -- files was modified by test_multiprocessing_fork Before: [] After: ['core'] -- so, more specific -- which module, or file, is doing

Re: ANN: Creating GUI Applications with wxPython

2019-02-27 Thread Michael Torrie
On 02/27/2019 10:59 AM, Igor Korot wrote: > Hopefully with the wxQt having more and more development we might have > a wxQt/Android port getting attention. I don't think Qt has any plans to support Android with the traditional Qt framework. They've instead focused on their next generation

Re: ANN: Creating GUI Applications with wxPython

2019-02-27 Thread Michael Torrie
On 02/27/2019 11:36 AM, Karsten Hilbert wrote: > On Wed, Feb 27, 2019 at 10:38:25AM -0500, Dave wrote: > >> * GUI relatively easy to understand and implement. easyGUI is truly easy in >> all areas, but fails some of my other requirements. The QT/PyQT/PySide2 >> situation is a mess - which one

[issue35975] Put back the ability to parse files where async/await aren't keywords

2019-02-26 Thread Michael Sullivan
Change by Michael Sullivan : -- nosy: +msullivan ___ Python tracker <https://bugs.python.org/issue35975> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36034] Suprise halt caused by -Werror=implicit-function-declaration in ./Modules/posixmodule.c

2019-02-21 Thread Michael Felt
Michael Felt added the comment: xlc has an option -qsource that creates output like this - first showing the code with macro, then showing the expansion >>>>> SOURCE SECTION <<<<< ...    16 | dev = st.st_dev;    17 | minor = minor(dev);   

[issue35828] test_multiprocessing_fork - crashes in PyDict_GetItem - segmentation error

2019-02-20 Thread Michael Felt
Michael Felt added the comment: Also - this looks like a core dump was 'seen', but later removed. Warning -- files was modified by test_multiprocessing_forkserver Before: [] After: ['core'] What can I change so that ot does not cleanup the core file

[issue35828] test_multiprocessing_fork - crashes in PyDict_GetItem - segmentation error

2019-02-20 Thread Michael Felt
Michael Felt added the comment: Another message that surprises me is: Warning -- multiprocessing.process._dangling was modified by test_multiprocessing_spawn Before: <_weakrefset.WeakSet object at 0x3076e810> After: <_weakrefset.WeakSet object at 0x3076e390> Norma

[issue35828] test_multiprocessing_fork - crashes in PyDict_GetItem - segmentation error

2019-02-20 Thread Michael Felt
Michael Felt added the comment: I am still trying to get further with this, but I won't get far enough without some help on how to best dig deeper. For one, it should be leaving a core dump, but it never seems to leave the core dump in the working directory. I know it is doing core dump

[issue36018] Add a Normal Distribution class to the statistics module

2019-02-19 Thread Michael Selik
Michael Selik added the comment: +1, This would be useful for quick analyses, avoiding the overhead of installing scipy and looking through its documentation. Given that it's in the statistics namespace, I think the name can be simply ``Normal`` rather than ``NormalDist``. Also, instead

[issue35584] Wrong statement about ^ in howto/regex.rst

2019-02-19 Thread Louis Michael
Change by Louis Michael : -- keywords: +patch pull_requests: +11968 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35584> ___ ___ Py

[issue36038] ^ used in inaccurate example in regex-howto

2019-02-19 Thread Louis Michael
New submission from Louis Michael : at https://docs.python.org/3/howto/regex.html#regex-howto and https://docs.python.org/3.8/howto/regex.html#regex-howto https://docs.python.org/3.7/howto/regex.html#regex-howto https://docs.python.org/3.6/howto/regex.html#regex-howto https://docs.python.org

[issue36034] Suprise halt caused by -Werror=implicit-function-declaration in ./Modules/posixmodule.c

2019-02-19 Thread Michael Felt
Michael Felt added the comment: correction - gcc version is v4.7.4 -- ___ Python tracker <https://bugs.python.org/issue36034> ___ ___ Python-bugs-list mailin

[issue36034] Suprise halt caused by -Werror=implicit-function-declaration in ./Modules/posixmodule.c

2019-02-19 Thread Michael Felt
New submission from Michael Felt : On a system using an older version of gcc (v5.7.4) I get an error: (also AIX 6.1) gcc -pthread -Wno-unused-result -Wsign-compare -g -O0 -Wall -O -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror

[issue35773] test_bdb fails on AIX bot (regression)

2019-02-19 Thread Michael Felt
Michael Felt added the comment: Again - after switching the env variable LANG to the 'default' everything works as expected. Leaving it open as a regression - because everything was working with a non-default setting. When I have more time I'll do a git bisect to try and establish

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

2019-02-19 Thread Michael Felt
Michael Felt added the comment: As far as 'master' is concerned, this has been resolved, so I'll close it myself. -- stage: -> resolved status: open -> closed versions: +Python 3.8 -Python 3.4 ___ Python tracker <https://bugs.p

[issue34757] Placeholder for discussion on Combined patches for AIX - to resolve failig tests

2019-02-18 Thread Michael Felt
Michael Felt added the comment: The PR's have been merged. Many thanks. Closing this issue and looking forward. -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-02-18 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +11940 ___ Python tracker <https://bugs.python.org/issue35633> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35773] test_bdb fails on AIX bot (regression)

2019-02-17 Thread Michael Felt
Michael Felt added the comment: Some record keeping - to keep track of when this regression first appeared on the bot: buildername POWER6 AIX 3.x Builder buildnumber 718 Build codebaseBuild event pushChange github_distinct trueChange got_revision

[issue35773] test_bdb fails on AIX bot (regression)

2019-02-16 Thread Michael Felt
Michael Felt added the comment: OK. I have narrowed it down to this: when LANG=en_US.8859-15 the test fails. root@x064:[/home/root]grep LANG /etc/environment LANG=en_US And now it passes. -- ___ Python tracker <https://bugs.python.

[issue34235] PyArg_ParseTupleAndKeywords: support required keyword arguments

2019-02-15 Thread Michael Sullivan
Michael Sullivan added the comment: A downside of the "allow $ twice" approach is that it means splitting up the positional arguments, and a lot of the processing loop is built around the assumption that the index into the keyword list and the index into the argument tupl

[issue34235] PyArg_ParseTupleAndKeywords: support required keyword arguments

2019-02-15 Thread Michael Sullivan
Michael Sullivan added the comment: The point about a performance penalty is fair---my PR does add a search for the '@' (which I spelled as '`' in my example above) sigil whenever it encounters a '|'. (Though I'm not sure how big the impact would be? Format strings are small so a quick scan

[issue28009] core logic of uuid.getnode() is broken for netstat

2019-02-14 Thread Michael Felt
Michael Felt added the comment: On 14/02/2019 23:57, Indra Talip wrote: > Indra Talip added the comment: > > The current code and proposed changes use 'netstat -ia' to find the node > however if netstat needs to perform a reverse DNS query to resolve some > interfaces this ma

Re: Convert a list with wrong encoding to utf8

2019-02-14 Thread Michael Torrie
On 02/14/2019 12:02 PM, vergos.niko...@gmail.com wrote: > Τη Πέμπτη, 14 Φεβρουαρίου 2019 - 8:16:40 μ.μ. UTC+2, ο χρήστης Calvin > Spealman έγραψε: >> If you see something like this >> >> '\xce\x86\xce\xba\xce\xb7\xcf\x82 >> \xce\xa4\xcf\x83\xce\xb9\xce\xac\xce\xbc\xce\xb7\xcf\x82' >> >> then you

[issue34235] PyArg_ParseTupleAndKeywords: support required keyword arguments

2019-02-12 Thread Michael Sullivan
Change by Michael Sullivan : -- keywords: +patch pull_requests: +11865 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34235> ___ _

[issue35941] ssl.enum_certificates() regression

2019-02-08 Thread Michael Schlenker
Michael Schlenker added the comment: It probably is even worse. The flag seems to specifiy the physical locations, and just using CERT_SYSTEM_STORE_LOCAL_SYSTEM probably misses the certificates distributed by Group Policy or AD too, in addition to the stores for the current user. See

[issue35941] ssl.enum_certificates() regression

2019-02-08 Thread Michael Schlenker
New submission from Michael Schlenker : The introduction of the ReadOnly flag in the ssl.enum_certificates() function implementation has introduced a regression. The old version returned certificates for both the current user and the local system, the new function only enumerates system wide

Re: Python program to phone?

2019-02-07 Thread Michael Torrie
On 02/07/2019 09:00 PM, Steve wrote: > BeeWare looks as if it requires Java, does it? > Is it exclusively java? Kind of. You do your coding in Python, then that's compiled to python byte code, which is then translated to Java byte code. You'll need the Android SDK, even if you're not using Java

[issue34235] PyArg_ParseTupleAndKeywords: support required keyword arguments

2019-02-01 Thread Michael Sullivan
Michael Sullivan added the comment: How about adding another sigil that indicates that subsequent keyword-only arguments are required? So then your example becomes (using ` as a totally strawman option): PyArg_ParseTupleAndKeywords(args, kwds, "O|O$O`O", kwlist, , , , ) It'

[issue35773] test_bdb fails on AIX bot (regression)

2019-02-01 Thread Michael Felt
Michael Felt added the comment: OK. New info. Back in the time of issue 34347 I installed some extra filesets to support UTF-8 on the virtual machine (aka partition) that I have the bot on. On systems where this fileset is not installed this test does not fail. Shall dig further

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