[issue35773] test_bdb fails on AIX bot (regression)

2019-01-31 Thread Michael Felt
Michael Felt added the comment: Update: buildbot@x064:[/home/buildbot/buildarea/3.x.aixtools-aix-power6/issue]./python -m test -v test_bdb == CPython 3.8.0a0 (heads/master-dirty:0785889468, Jan 30 2019, 16:16:31) [C] == AIX-1-00C291F54C00-powerpc-32bit big-endian == cwd: /home/buildbot

[issue27749] multprocessing errors on Windows: WriteFile() argument 1 must be int, not None; OSError: handle is closed

2019-01-31 Thread Michael Jacob
Michael Jacob added the comment: So, I'm experiencing the issue in the title, too. The pipe handle stays valid for between 5 and 60 minutes, then it goes None when written to. I'm far from understanding that code, but this crude re-connect code seems to solve the issue for me: In BaseProxy

Re: How to replace space in a string with \n

2019-01-31 Thread Michael Poeltl
the python-language! It's a great one, this I can promise you! regards Michael * Peter Otten <__pete...@web.de> [2019-01-31 11:15]: > ^Bart wrote: > > >> Why? > > > > It's a school test, now we should use just what we studied, if than, > > else, sequences, etc

Re: How to replace space in a string with \n

2019-01-31 Thread Michael Poeltl
hi, ^Bart ended in a Mail-Delivery... so I send it ONLY to the python-list ^Bert, a proper way to do what you'd liked to achieve is the following: >>> text = "The best day of my life!" >>> newtext = '\n'.join( text.split() ) >>> print(newtext) The best

Re: How to replace space in a string with \n

2019-01-31 Thread Michael Poeltl
hi, Maybe this is a proper way to do what you'd liked to achieve >>> text = "The best day of my life!" >>> newtext = '\n'.join( text.split() ) >>> print(newtext) The best day of my life! >>> yours Michael * ^Bart [2019-01-31 10:22]: > Hello eve

Re: How to replace space in a string with \n

2019-01-31 Thread Michael Poeltl
maybe this is an alternative way to get your wished result. >>> text = "The best day of my life!" >>> newtext = '\n'.join( text.split() ) >>> print(newtext) The best day of my life! >>> yours Michael * ^Bart [2019-01-31 10:22]: > Hello everybody

[issue35828] test_multiprocessing_fork - crashes in PyDict_GetItem - segmentation error

2019-01-30 Thread Michael Felt
Michael Felt added the comment: After enabling PYTHONTHREADDEBUG=1 I got the dprintf output. I added line info (as fixed text) asin: Python/thread_pthread.h: +511 PyLockStatus +512 PyThread_acquire_lock_timed(PyThread_type_lock lock, PY_TIMEOUT_T microseconds, +513

[issue35828] test_multiprocessing_fork - crashes in PyDict_GetItem - segmentation error

2019-01-30 Thread Michael Felt
Michael Felt added the comment: OK. being more specific about the test situation. When I run ./python -m test test_multiprocessing_fork all is fine. However, when I run it as: ./python -m test -j2 test_multiprocessing_main_handling test_multiprocessing_fork

Re: How do I get a python program to work on my phone?

2019-01-29 Thread Michael Torrie
On 2019-01-29 8:44 a.m., Michael Torrie wrote: > There have been some Python to javascript compilers, or implementations > of Python in Javascript. So maybe it's possible to make a hybrid app > using Python. Here's an interesting project that might work with some hybrid app de

Re: How do I get a python program to work on my phone?

2019-01-29 Thread Michael Torrie
On 2019-01-29 5:52 a.m., Bob Gailer wrote: > An interesting alternatives to create a simple web page to run in the > phone's browser. If you don't already have a server on the web you can rent > one from secure dragon for as low as $12 a year. Install websocketd and > python. Websocketd lets you

Re: How do I get a python program to work on my phone?

2019-01-28 Thread Michael Torrie
On 2019-01-28 8:29 a.m., Steve wrote: > I now want to run it on my MotoG phone. The program accepts keyed in data > and will access two text files to keep data and I would like to have the > program chime my phone to remind me to take the next reading. > > First step is to get it running in my

[issue27749] multprocessing errors on Windows: WriteFile() argument 1 must be int, not None; OSError: handle is closed

2019-01-28 Thread Michael Jacob
Michael Jacob added the comment: Does this ticket track the issue in its title or the native crash? If it's the latter, is there a new ticket for the None _handle or shall I create one? -- nosy: +Michael Jacob2 versions: +Python 3.7 ___ Python

[issue35828] test_multiprocessing_* - crash in PyDict_GetItem - segmentation error

2019-01-26 Thread Michael Felt
Michael Felt added the comment: OK, I have gone as far back as "where" in dbx can bring me. Could this, somehow, be related with changes made in issue-33015 ? In any case, does it seem correct that "pthread_wrapper(void *arg) can be correct if arg is nil? +15

[issue35828] test_multiprocessing_* - crash in PyDict_GetItem - segmentation error

2019-01-26 Thread Michael Felt
Change by Michael Felt : -- title: test_multiprocessing_* tests - success versus fail varies over time -> test_multiprocessing_* - crash in PyDict_GetItem - segmentation error ___ Python tracker <https://bugs.python.org/issu

[issue35828] test_multiprocessing_* tests - success versus fail varies over time

2019-01-25 Thread Michael Felt
New submission from Michael Felt : Last August I started running a bot for AIX using xlc_r as the compiler, rather than gcc that the other AIX bot uses. Initially, I had no issues with the test_multiprocess* tests, but of late (last two+ months I am guessing) I have been having regular

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

2019-01-21 Thread Michael Felt
Michael Felt added the comment: Done. > On 1/15/2019 11:23 AM, STINNER Victor wrote: > I would prefer to simply skip the lockf() test rather than ignoring > PermissionError for flock() and lockf() on all platforms. Can you please > write a PR for that? > > There is no

Re: How to access a folder in a zip file?

2019-01-20 Thread Michael F. Stemper
and store > them in a list/array so that I could work with it easily) > > here is the path: home/name/tutorial/prof/ks.zip/projects Are you sure? Could it possibly be: /home/name/tutorial/prof/ks.zip/projects instead? -- Michael F. Stemper What happens if you play John Cage's "4'

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

2019-01-18 Thread Michael Felt
Michael Felt added the comment: I’ll make a new PR and delete the news entry. Sent from my iPhone > On 15 Jan 2019, at 11:23, STINNER Victor wrote: > > > STINNER Victor added the comment: > >> On AIX the test for flock() passes, but the test for lockf() fails: (...

Re: Pythonic Y2K

2019-01-18 Thread Michael Torrie
On 01/16/2019 12:02 PM, Avi Gross wrote: > I recall the days before the year 2000 with the Y2K scare when people > worried that legacy software might stop working or do horrible things once > the clock turned. It may even have been scary enough for some companies to > rewrite key applications and

[issue35773] test_bdb fails on AIX bot (regression)

2019-01-18 Thread Michael Felt
New submission from Michael Felt : I see in the bot history that test_bdb is now failing on AIX https://buildbot.python.org/all/#/builders/161/builds/718/steps/4/logs/stdio == CPython 3.8.0a0 (heads/master:a37f52436f, Jan 15 2019, 22:53:01) [C] == AIX-1-00C291F54C00-powerpc-32bit big-endian

[issue35736] Missing component in table after getElementsByTagName("nn")

2019-01-15 Thread Michael Krötlinger
Michael Krötlinger added the comment: http://schemas.xmlsoap.org/wsdl/; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns="http://soap.ebs.client.chipkarte.at; xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata; xmlns:wsp="http://www.w3.org/ns/ws-p

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

2019-01-15 Thread Michael Felt
Michael Felt added the comment: On 07/01/2019 15:46, STINNER Victor wrote: > STINNER Victor added the comment: > > Since you are getting indentation error, I'm not sure about your test. Can > you please apply the patch below and run again test_eintr? Does i

[issue35735] Current "make test" status for AIX

2019-01-14 Thread Michael Felt
Change by Michael Felt : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35735> ___ ___ Python-bugs-list

[issue35735] Current "make test" status for AIX

2019-01-14 Thread Michael Felt
Michael Felt added the comment: Well, I can close this again - whatever was wrong with test_xml_etree_c disappeared - and a cursory look at test_os reveals that the issue might be the time lag between the NFS server where the temp files are made and the "local" sense of t

[issue35736] Missing component in table after getElementsByTagName("nn")

2019-01-14 Thread Michael Krötlinger
New submission from Michael Krötlinger : After operations = xmltree.getElementsByTagName("operation") the table does not contain operations antragstypenErmitteln and mammographieIndikationenErmitteln -- files: EbsService.wsdl messages: 333621 nosy: MiKr41 priority: norma

[issue35735] Current "make test" status for AIX

2019-01-13 Thread Michael Felt
New submission from Michael Felt : Hi all, as we get closer to having the current tests all patched I want to have a place to post new "failures" - since the BOT process is unable to report regressions before all tests are passing for a time. Initially, the tests run normally,

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

2019-01-10 Thread Michael Saah
Michael Saah added the comment: > Michael - do you think you can / would you like to add the functionality that > Victor mentioned to your existing PR? If not, I recommend we merge the > current PR and open a new issue for "Lone trailing % not supported on all > platform

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

2019-01-10 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +11029 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35704> ___ ___ Py

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

2019-01-10 Thread Michael Felt
New submission from Michael Felt : By default AIX builds 32-bit applications - and the combined .data, .bss and .stack areas share one memory segment of 256 Mbyte. This can be modified by either specifying a larger value for maxdata during linking (e.g., with LDFLAGS=-bmaxdata:0x4000

[issue35198] Build issue while compiling cpp files in AIX

2019-01-09 Thread Michael Felt
Michael Felt added the comment: On 08/01/2019 15:40, Ayappan wrote: > Ayappan added the comment: > > Not sure what went wrong here. > I used gcc & g++ and didn't hit this issue. > > -- > > ___ > Python tracker > &

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

2019-01-09 Thread Michael Saah
Michael Saah added the comment: Hi Victor, thanks for taking a look. > Would why datetime have the same behavior on all platforms, but > time.strftime('%') may or may not raise an exception depending on the libc? If I understand the call stack correctly, datetime does not have th

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

2019-01-07 Thread Michael Felt
Michael Felt added the comment: On 07/01/2019 15:46, STINNER Victor wrote: > STINNER Victor added the comment: > > Since you are getting indentation error, I'm not sure about your test. Can > you please apply the patch below and run again test_eintr? Does it still fail > with

[issue35622] RFE: Add os.sched_setattr() and os.sched_getattr() functions

2019-01-05 Thread Michael Büsch
Michael Büsch added the comment: I would like to implement this feature. So if somebody thinks that it's a bad idea to have this feature, please speak up now. -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue35

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

2019-01-05 Thread Michael Felt
Michael Felt added the comment: On 04/01/2019 23:42, STINNER Victor wrote: > STINNER Victor added the comment: > > Does the test pass if you open the file in read+write ("w+b") mode rather > than write-only ("wb") mode? > > I'm talking about this line: &

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-05 Thread Michael Felt
Michael Felt added the comment: I had tried “wb+”, not “w+b”. Is there a difference? I forget if I tried just “w+”. But I’ll do them anyway/again to be sure. Sent from my iPhone > On 4 Jan 2019, at 23:43, STINNER Victor wrote: > > > Change by STINNER Victor : > > &g

Re: the python name

2019-01-04 Thread Michael Torrie
On 01/03/2019 06:35 PM, Gene Heskett wrote: > On Thursday 03 January 2019 15:28:49 Grant Edwards wrote: >> About 20 years ago, the RedHat Linux (way before RHEL) installer >> (which was written in Python) was called Anaconda. > Thanks for rescuing my old wet ram Grant, thats exactly what I was >

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: Further along - however, I never get to the "link" routine. Again, this is likely a pandas coding issue - currently python is calling xlc_r ..., but when I manually modify it to xlC_r I get the same error. xlc_r -D_LARGE_FILES -O -I/opt/include -O

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: On 04/01/2019 17:08, Kevin wrote: > Kevin added the comment: > > Ah. We always compile with GCC, so would not have hit that particular problem. > > -- > > ___ > Python tracker > <http

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: While the PR probably solves this - there is a 'bug' in pandas (I expect) that prevents me from completing the test - as, I expect LONG before the .cpp source is to be compiled - there is a error because a wrong flag is passed to the compiler (-Wno-unused

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

2019-01-03 Thread Michael Felt
Change by Michael Felt : -- components: -IO ___ Python tracker <https://bugs.python.org/issue35633> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2019-01-03 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10842, 10843, 10845 ___ Python tracker <https://bugs.python.org/issue35189> ___ ___ Python-bugs-list mailin

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2019-01-03 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10842, 10843, 10844, 10845 ___ Python tracker <https://bugs.python.org/issue35189> ___ ___ Python-bugs-list mailin

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2019-01-03 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10842, 10843 ___ Python tracker <https://bugs.python.org/issue35189> ___ ___ Python-bugs-list mailing list Unsub

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2019-01-03 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10842 ___ Python tracker <https://bugs.python.org/issue35189> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-01-03 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch, patch pull_requests: +10840, 10841 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

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

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

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

2019-01-03 Thread Michael Felt
Michael Felt added the comment: After reading the PEP I realized it is much simpler. The test is for interrupts that occur at a low-level - and not for permission issues. The test is failing because there is a permission issue, not a missed interrupt issue. Modifying the code to: (see line

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

2019-01-01 Thread Michael Felt
New submission from Michael Felt : test_eintr fails on AIX since fcntl functions were modified In issue35189 the fnctl() module was modified so that the EINTR interruption should be retried automatically. On AIX the test for flock() passes, but the test for lockf() fails

[issue35622] Add support for Linux SCHED_DEADLINE

2018-12-30 Thread Michael Büsch
New submission from Michael Büsch : Are there plans to support Linux SCHED_DEADLINE in the os module? If not, would changes to add such support be welcome? Support for SCHED_DEADLINE would also need support for sched_setattr/sched_getattr. -- components: Library (Lib) messages: 332772

Re: Begginers problem : tar: Error opening archive: Can't initialize filter; unable to run program "bzip2 -d

2018-12-29 Thread Michael Torrie
On 12/29/2018 01:15 AM, Rand .J wrote: > I'm trying to run this code from : https://github.com/pnnl/*safekit* ,using > cmd on windows 10, I already installed python. when I type the command: tar > -xjvf data_examples.tar.bz2 > > I keep getting the error: tar: Error opening archive: Can't

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

2018-12-28 Thread Michael Felt
Michael Felt added the comment: p.s., removed 2.7 and 3.6 as too old for any interest. -- versions: -Python 2.7, Python 3.6 ___ Python tracker <https://bugs.python.org/issue28

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

2018-12-28 Thread Michael Felt
Michael Felt added the comment: As I am not clear on where to have a more general discussion (in a PR conversation) or here - going to start here because I cannot figure out which comment in the PR to reply to. Generally, before modifying the test_uuid.py to based tests on uuid

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: On 27/12/2018 15:48, Michael Felt wrote: > Michael Felt added the comment: > > The "improved" output after getting back to "latest" commit: > > == CPython 3.8.0a0 (heads/master-dirty:34ae04f74d, Dec 27 2018, 14:05:08) [C] &g

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: The "improved" output after getting back to "latest" commit: == CPython 3.8.0a0 (heads/master-dirty:34ae04f74d, Dec 27 2018, 14:05:08) [C] == AIX-1-00C291F54C00-powerpc-32bit big-endian == cwd: /data/prj/python/python3-3.8/build/test_py

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: Forgot to include the test failure message: == FAIL: test_all (test.test_eintr.EINTRTests) -- Traceback (most recent call

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: I have not looked at 3.6, but I have bisected the 3.7 and 3.8 branches for AIX. I get: On 3.7 Branch: Bisecting: 0 revisions left to test after this (roughly 0 steps) [56742f1eb05401a27499af0ccdcb4e4214859fd1] [3.7] bpo-35189: Retry fnctl calls on EINTR (GH

[issue34897] distutils test errors when CXX is not set

2018-12-25 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10576 ___ Python tracker <https://bugs.python.org/issue34897> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34897] distutils test errors when CXX is not set

2018-12-25 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +10576, 10577 ___ Python tracker <https://bugs.python.org/issue34897> ___ ___ Python-bugs-list mailing list Unsub

[issue35483] tarfile.extractall on existing symlink in Ubuntu overwrites target file, not symlink, unlinke GNU tar

2018-12-17 Thread Michael Brandl
Michael Brandl added the comment: Sounds good to me. -- ___ Python tracker <https://bugs.python.org/issue35483> ___ ___ Python-bugs-list mailing list Unsub

[issue35483] tarfile.extractall on existing symlink in Ubuntu overwrites target file, not symlink, unlinke GNU tar

2018-12-13 Thread Michael Brandl
New submission from Michael Brandl : In Ubuntu 16.04, with python 3.5, as well as custom built 3.6 and 3.7.1: Given a file foo.txt (with content "foo") and a symlink myLink to it, packed in a tar, and a file bar.txt (with content "bar") with a symlink myLink to it, p

Re: how to match list members in py3.x

2018-11-26 Thread Michael F. Stemper
first loop completes, not for each step of the loop, > because you outdented the code. > > Also, you unconditionally add the word, and THEN check if it is in the list. And the first thing that I note is that he checks to see if it is in the list from which it came. -- Michael F. Stemper Economists h

Re: Have I Been Banned?

2018-11-24 Thread Michael Torrie
On 11/20/2018 09:39 AM, Jon Ribbens wrote: > On 2018-11-20, Wildman wrote: >> In the past I have participated in the group without any >> problems. I access the forum through the usenet mirror >> and I am still using the same newsreader and account. >> Recently I made some followup posts to the

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

2018-11-23 Thread Michael Saah
Michael Saah added the comment: Summary to accompany my patch: Modules/_datetimemodule.c and Lib/datetime.py do not behave identically. Specifically, the strftime functions do not match when passed a format string terminated with a '%'. The C function performs an explicit check

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

2018-11-14 Thread Michael Felt
Change by Michael Felt : -- title: core logic of uuid.getnode() is broken for AIX - all versions -> core logic of uuid.getnode() is broken for netstat ___ Python tracker <https://bugs.python.org/issu

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

2018-11-14 Thread Michael Felt
Michael Felt added the comment: Historically, I started this issue because I saw that none of the calls made in uuid.py were working for AIX. I also assumed that they ALL worked already, at least somewhere. a) one cause is the difference between AIX and (all) others was the letter chosen

[issue35234] ssl module falls over with internationalized domain names

2018-11-13 Thread Michael Casadevall
New submission from Michael Casadevall : Test case attached. In Python 3.6, ssl tries to validate the hostname on its own, but fails to convert the SSL certificates hostname from IDNA back to UTF-8 and mismatches. Python 3.7 and master are unaffected since this got fixed by accident when

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Michael Foord
Michael Foord added the comment: Parents comparing upwards sounds like the right (and simple) fix. Not breaking the tuple tests would be good. I'm happy for Chris to produce the patch. -- ___ Python tracker <https://bugs.python.org/issue35

Re: [Tutor] Unable to get the gateway IP of wlan interface using python code

2018-11-12 Thread Michael Torrie
On 11/12/2018 05:55 PM, David Rock wrote: > Is there a requirement to use only what comes in the standard libraries, or > can you use things from pypi? > Getting interface details is exactly why netifaces was created > > https://pypi.org/project/netifaces/ Also if working with NetworkManager is

[issue35198] Build issue while compiling cpp files in AIX

2018-11-11 Thread Michael Felt
Michael Felt added the comment: Still getting the same errors, even with 64-bit build, so still not close to testing the actual problem. FYI: last time I build pandas the version was 0.19.0 - then it was 'simple'. Anyway, short of a simple (test) python module that includes c++ code, I'll

[issue35198] Build issue while compiling cpp files in AIX

2018-11-10 Thread Michael Felt
Michael Felt added the comment: Getting farther - after "hacking" pandas setup.py to not force a gcc flag. Still not getting as far, I think, as the initial poster. ... /opt/include/python3.8dm -c pandas/_libs/parsers.c -o build/temp.aix-6.1-3.8-pydebug/pandas/_libs/parsers.o x

[issue35198] Build issue while compiling cpp files in AIX

2018-11-10 Thread Michael Felt
Change by Michael Felt : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue35198> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35198] Build issue while compiling cpp files in AIX

2018-11-10 Thread Michael Felt
Michael Felt added the comment: There are, perhaps, other issues as well. After a build of "master" a) pip3 install pandas - failed to find/download and build numpy - after "manual" pip3 install numpy and got to " six, python-dateutil, pytz, pandas" T

Re: Overwhelmed by the Simplicity of Python. Any Recommendation?

2018-11-07 Thread Michael Torrie
On 11/07/2018 01:31 PM, MRAB wrote: > On 2018-11-07 09:20, Thomas Jollans wrote: >> I'll just take this opportunity to point out (for those that don't know) >> that Visual Studio Code (an open source cross-platform programmer's text >> editor of the same calibre as Sublime or Atom, not an IDE) has

[issue34897] distutils test errors when CXX is not set

2018-11-05 Thread Michael Felt
Michael Felt added the comment: Thx. So, while "" is not None (i.e., "" is not False), it does test as a Boolean expression as 'False' so the test for None or "" is the same as testing for "" (but not the same as testing for None). I accep

[issue33533] Provide an async-generator version of as_completed

2018-10-30 Thread Michael DePalatis
Change by Michael DePalatis : -- keywords: +patch pull_requests: +9565 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33533> ___ _

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

2018-10-30 Thread Michael Osipov
Michael Osipov <1983-01...@gmx.net> added the comment: Victor, looks good to me: 0:00:26 [ 23/419/3] test_utf8_mode passed. I don't know wether it is related, but test_unicode crash dumps here: 0:00:22 [ 16/419/2] test_unicode crashed (Exit code -11) Fatal Python error: Segmentation

[issue34765] Update install-sh

2018-10-30 Thread Michael Felt
Michael Felt added the comment: The AIX build-bots thank you. Back to "failed-test" status. 1721...failed test (failure) 1720...failed compile (failure) -- ___ Python tracker <https://bugs.python.o

[issue34765] Update install-sh

2018-10-29 Thread Michael Felt
Michael Felt added the comment: FYI: On my manual build server I have coreutils "install" installed, and it seems install-sh is not called in that case (which is why I never saw with manual builds) FYI: There is also an issue (I hope side-effect) that pyexpat is not building whi

[issue34765] Update install-sh

2018-10-29 Thread Michael Felt
Michael Felt added the comment: This is closed, however, since this was merged the AIX buildbots have failed. This is because the file mode bits lack the -x root@x066:[/data/prj/python/git/cpython-master]find . -name install-sh -ls 148833829 16 -rw-r--r-- 1 root felt 15368

[issue34897] distutils test errors when CXX is not set

2018-10-29 Thread Michael Felt
Michael Felt added the comment: > On 10/26/2018 5:36 PM, Tal Einat wrote: > Tal Einat added the comment: > > I'm not sure that the resolution currently suggested, changing > compiler.set_executables(), is the right way to go. > > This change to distutils is

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread Michael Hoffman
Michael Hoffman added the comment: `getcwd()` in many ways serves the purpose that a `lget_current_dir_name()` might. -- ___ Python tracker <https://bugs.python.org/issue1154

[issue1154351] add get_current_dir_name() to os module

2018-10-29 Thread Michael Hoffman
Michael Hoffman added the comment: > * For some libc functions we add options to existing functions rather of > duplicating the number of names in the os module. For example the dir_fd > option instead of *at() functions. Wouldn't be better to add a buulean > parameter (w

[issue1154351] add get_current_dir_name() to os module

2018-10-28 Thread Michael Hoffman
Michael Hoffman added the comment: glibc `getcwd()` and `get_current_dir_name()` are not the same. glibc `get_current_dir_name()` does, in fact, check the `PWD` environment variable. https://www.gnu.org/software/libc/manual/html_node/Working-Directory.html The get_current_dir_name function

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

2018-10-28 Thread Michael Felt
Michael Felt added the comment: re; the current status of PR8672 - which I shall probably close as it no longer merges. @taleinat re: the need for lambda As _find_mac_netstat() is only called once the need for the last two arguments may be unnecessary. My reason for including them

[issue33236] MagicMock().__iter__.return_value is different from MagicMock().__iter__()

2018-10-27 Thread Michael Foord
Michael Foord added the comment: This isn't a bug. This is the intended behaviour, otherwise MagicMock objects would error out on iteration. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracke

Re: Accessing clipboard through software built on Python

2018-10-27 Thread Michael Torrie
Couple of questions: On 10/27/2018 07:17 AM, Musatov wrote: > I am wondering if Python could be used to write a program that allows: > > 1. Highlight some text > 2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1 This text comes from where? Another application? > 3. Highlight

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

2018-10-26 Thread Michael Saah
Michael Saah added the comment: Appologies, will do. -- ___ Python tracker <https://bugs.python.org/issue35066> ___ ___ Python-bugs-list mailing list Unsub

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

2018-10-25 Thread Michael Saah
Michael Saah added the comment: Did a little digging. Seems that there are two versions of the datetime module, a C version (looks like an accelerator module) and a Py version. Both define a wrap_strftime function that replace %z, %Z and %f format codes before handing off to the timemodule.c

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

2018-10-25 Thread Michael Saah
Michael Saah added the comment: >From a pure usability standpoint I'd prefer for datetime to match the time behavior you're demonstrating, that is to not fail on a dangling %. Of course I defer to the dev team on this, but I want to make clear where I'm coming from. On Thu, Oct 25, 2018 a

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

2018-10-25 Thread Michael Saah
Michael Saah added the comment: Ok, seems reasonable. What branch would I submit a PR against? On Thu, Oct 25, 2018 at 1:11 PM Eric V. Smith wrote: > > Eric V. Smith added the comment: > > I think it would be a good idea to make this more consistent. We should > run through

[issue33533] Provide an async-generator version of as_completed

2018-10-25 Thread Michael DePalatis
Michael DePalatis added the comment: Is there any progress on this? I was thinking the exact same thing regarding the backwards-compatible approach and would like to work on it if no one else is. -- nosy: +mivade ___ Python tracker <ht

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

2018-10-25 Thread Michael Saah
New submission from Michael Saah : A call to time.strftime('%') returns '%' A similar call to datetime.utcfromtimestamp(int(time.time()).strftime('%') raises ValueError: strftime format ends with raw % Similar inputs like '%D %' behave similarly. I might take a crack at fixing

[issue34424] Unicode names break email header

2018-10-25 Thread Michael Thies
Michael Thies added the comment: Thanks for pointing me to this issue. :) > Michael, if you could check if Jens patch fixes your problem I would > appreciate it. Jens PR does exactly, what I proposed in #35057, so it fixes my problem,

[issue35058] Unable to Install Python on Windows

2018-10-24 Thread Michael Airey
Michael Airey added the comment: Did you try to use SubInACL tool by Microsoft? Perhaps, it can fix your issue. Here, I'm adding references for the same i.e. download link & guide (Method #13) to use it: 1. https://www.microsoft.com/en-in/download/details.aspx?id=23510 2. h

[issue35050] Off-by-one bug in AF_ALG

2018-10-24 Thread Michael Airey
Michael Airey added the comment: The error checking code for salg_name and salg_type have an off-by-one bug. Must check that both strings are NUL terminated strings. -- nosy: +resmord ___ Python tracker <https://bugs.python.org/issue35

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2018-10-24 Thread Michael Airey
Michael Airey added the comment: Try this - https://github.com/siddhesh/cpython/tree/func-cast -- nosy: +resmord ___ Python tracker <https://bugs.python.org/issue33

[issue35057] Email header refolding adds additional \r in nested parse trees

2018-10-24 Thread Michael Thies
New submission from Michael Thies : Email header refolding in email._header_value_parser adds additional carriage return symbols to the end of nested parse trees, when used with an EmailPolicy with linesep='\r\n'. This leads to broken email headers when composing an email with a "To:&qu

[issue34988] Rc2 candidates: "gcc" not found on AIX

2018-10-18 Thread Michael Felt
Michael Felt added the comment: On 16/10/2018 21:35, Ned Deily wrote: > Ned Deily added the comment: > > I'm glad it works. Any object to closing this issue then? I have no objection. Should I do that? > > -- > resolution: -> not a bug > stage: -> resolve

[issue34988] Rc2 candidates: "gcc" not found on AIX

2018-10-16 Thread Michael Felt
Michael Felt added the comment: using CC=gcc ./configure works fine And, this does not appear to be a regression: HEAD is now at 1bf9cc5 3.7.0 final $ cd ../python3-3.7.0 $ ./configure checking for git... found checking build system type... powerpc-ibm-aix7.2.0.0 checking host system type

[issue34988] Rc2 candidates: "gcc" not found on AIX

2018-10-16 Thread Michael Felt
Michael Felt added the comment: I'll compare with the 3.7.0. As I did not have access to gcc then, would have never seen it. Yesterday I used --with-gcc, today I'll use CC=gcc and update after I know more. -- ___ Python tracker <ht

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