[Python-Dev] test_zlib.py suggestion

2018-08-01 Thread Michael
passes all sub-tests. Again, not a python bug - but a suggestion for improving what is tested. I can open an issue, and with a bit of assistance/interest from others I'll even do a PR. Michael ___ Python-Dev mailing list Python-Dev@python.org ht

[Python-Dev] spwd and AIX

2018-08-01 Thread Michael
this horribly break things if only '!' was returned, rather than the shadow password? It does not look terribly hard - but how do you deal with defaults such as 0 or -1 for the numeric values? Regards, Michael ___ Python-Dev mailing li

Re: [Python-Dev] test_zlib.py suggestion

2018-08-02 Thread Michael
verwriting files and/or mixed versions. Sigh. On Wed, 1 Aug 2018 at 08:40 Michael wrote: I have a build_bot running (yeah me!), and was surprised to see test_zlib fail on AIX. There is not an issue with test_zlib, but I do have a suggestion. I was getting an error with test_flushes(). On python2-

Re: [Python-Dev] [python-committers] [RELEASED] Python 3.4.9 and Python 3.5.6 are now available

2018-08-05 Thread Michael
On 03/08/2018 03:22, Larry Hastings wrote: On 08/02/2018 07:17 AM, Victor Stinner wrote: 3.4.9 and 3.5.6 have no more known security vulnerabilities :-) Well, not to be a complete pill, but...    https://bugs.python.org/issue17180    https://bugs.python.org/issue17239    https://bugs.python

[Python-Dev] AIX and python tests

2018-08-05 Thread Michael
in understanding the tests, and probably better python coding criticism. Michael ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [issue11191] test_search_cpp error on AIX (with xlc)

2018-08-09 Thread Michael
On 09/08/2018 00:52, Michael Felt wrote: > Change by Michael Felt : > > > -- > pull_requests: +8196 > > ___ > Python tracker > <https://bugs.python.org/issue11191> > ___ > Don&#x

Re: [Python-Dev] [python-committers] Winding down 3.4

2018-08-20 Thread Michael
My idea would be to focus on a "fix" for 3.8, and then decide if it can, in one form or another, be backported. And also how far. IMHO - the discussion about breakage is holding back even an attempt for a resolution for 3.8. Michael signature.a

[Python-Dev] make patchcheck and git path

2018-08-24 Thread Michael
lse also experiences this, and feels capable of makeing it more flexible - you will get thanks from me, in any case! Michael signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.

[Python-Dev] AIX, test_ssl in particular, but also AIX failed tests in general - getting to the 'STABLE' side

2018-08-27 Thread Michael
nk" aka Thanks in Advance. So, hoping this helps - I'll continue as I can. Time and resources are limited. And, I am very curious re: point c) above. Great Days! everyone, Michael signature.asc Description: OpenPGP digital signature ___ P

Re: [Python-Dev] make patchcheck and git path

2018-09-01 Thread Michael
On 28/08/2018 09:57, Stephen J. Turnbull wrote: > Michael Felt (aixtools) writes: > > > When building out of tree there is no .git reference. If I > > understand the process it uses git to see what files have changed, > > and does further processing on those. > >

[Python-Dev] debugging test_importlib.test_bad_traverse - script status is SUCCESS - but FAIL is expected.

2018-09-17 Thread Michael
I read the discussion related to issue32374. That seems to be sure that other events that could cause the test to fail (i.e., the program executes successfully) are caught early, and/or ignored so that the program fails - and the test succeeds. I am having trouble figuring out why the script below

[Python-Dev] Nearly - all tests PASS for AIX

2018-09-17 Thread Michael
l test_tix test_tk     test_ttk_guionly test_ttk_textonly test_turtle test_unicode_file     test_unicode_file_functions test_winconsoleio test_winreg     test_winsound test_zipfile64 1 re-run test:     test_importlib Awaiting comments and suggestions. Many thanks for your time. Mi

Re: [Python-Dev] debugging test_importlib.test_bad_traverse - script status is SUCCESS - but FAIL is expected.

2018-09-18 Thread Michael
On 17/09/2018 09:39, Michael wrote: > I read the discussion related to issue32374. That seems to be sure that > other events that could > cause the test to fail (i.e., the program executes successfully) are > caught early, and/or ignored > so that the program fails - and the test s

Re: [Python-Dev] Nearly - all tests PASS for AIX

2018-09-18 Thread Michael
On 17/09/2018 12:50, Michael wrote: > Dear all, > > The last two months I have spent nearly all my free time to cleanup "a > frustration" - from my side - the long list of failing tests for AIX > (there were nearly 20 when I started). == Tests result: SUCCESS == 393 test

Re: [Python-Dev] Nearly - all tests PASS for AIX

2018-09-20 Thread Michael
s://github.com/python/cpython/pulls?q=is%3Aopen+is%3Apr+author%3Aaixtools+sort%3Aupdated-desc But I'll add the combined one to get it through grinder and see if there are unexpected surprises. Michael > > Cheers, > Nick. signature.asc Descriptio

Re: [Python-Dev] AIX to stable, what does that take?

2018-10-05 Thread Michael
On 05/10/2018 16:15, Michael Haubenwallner wrote: > Hi Michael, > > being on a similar road with Gentoo Prefix, I really do appreciate > your AIX related work! > > However, for two (not so minor) topics I've got a little different > experience, which I think should be men

Re: [Python-Dev] AIX to stable, what does that take?

2018-10-05 Thread Michael
On 05/10/2018 22:01, Rob Boehne wrote: > On 10/5/18, 10:33 AM, "Python-Dev on behalf of Michael Haubenwallner" > michael.haubenwall...@ssi-schaefer.com> wrote: > > > > >... I build everything myself, using xlc > >(gcc introd

[Python-Dev] Thanks - come a long way with getting tests resolved!

2019-01-15 Thread Michael
pproval. I could not have gotten this far without help! Sincerely, Michael aka aixtools signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Question - Bug Triage for 3.4 & 3.5

2019-02-21 Thread Michael
On 20/02/2019 18:58, Victor Stinner wrote: > If Python 3.4 was the current version when a bug was reported, I would > expect the version field of the bug set to Python 3.4. Maybe the bug > has been fixed in the meanwhile, maybe not. Closing all bugs affected > to 3.4 is a risk of loosing useful inf

[Python-Dev] before I open an issue re: posix.stat and/or os.stat

2019-02-21 Thread Michael
PyStructSequence_SET_ITEM(v, 2, _PyLong_FromDev(st->st_dev));  +2046  #endif  +711  #define _PyLong_FromDev PyLong_FromLongLong It seems so - however, Is there something such as PyUnsignedLong and is that large enough for a "long long"? and if it exists, would that make th

Re: [Python-Dev] Making PyInterpreterState an opaque type

2019-02-21 Thread Michael
On 16/02/2019 23:34, Steve Dower wrote: > I like that we're taking (small) steps to reduce the size of our API. I consider myself - an "outsider", so an "outsider's" view is that anything that makes it more clear about what is intended aka supported as the Python API is an improvement. Without c

Re: [Python-Dev] [RELEASE] Python 2.7.16

2019-03-04 Thread Michael
On 04/03/2019 04:30, Benjamin Peterson wrote: > Hello all, > I'm pleased to announce the immediate availability of Python 2.7.16 for > download at https://www.python.org/downloads/release/python-2716/. Congratulations! signature.asc Description: OpenPGP digital signature _

[Python-Dev] How to (best) organize platform dependent blocks of Python code

2019-06-17 Thread Michael
ue-tracker and PR conversation indicate to me that documentation of different approaches to organizing code dependencies is vital. And that it is not easily available. Devguide is one area - but 'core' documentation is more important imho - I read, and compare, the Python docu

[Python-Dev] Re: Is "%zd" format is portable now?

2019-08-05 Thread Michael
On 02/08/2019 04:12, Inada Naoki wrote: > On Thu, Aug 1, 2019 at 10:21 PM Victor Stinner wrote: >> Hi INADA-san, >> >> Is it supported on macOS, FreeBSD, AIX, Android, etc.? >> >> My notes on platforms supported by Python: >> https://pythondev.readthedocs.io/platforms.html >> >> For example, xlc C

[Python-Dev] AIX XL C knows/supports C99: was Re: Re: Is "%zd" format is portable now?

2019-08-05 Thread Michael
. Just have to say CC=c99 or CC=xlc or one of the other variants. If more documentation is desired - just let me know. Michael Standards and specifications XL C is designed to support the following standards and specifications. You can refer to these standards for precise definitions of some

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-05 Thread Michael
hon will be delivering "a promise", being decisive, being clear. Not following through only creates insecurity - will they ever do it? Nah - no guts (these are 3rd-party developers chatting). Users are your friend. If they really want Python3.8+ and they get lots of warning messages - THEY wi

[Python-Dev] Re: Is "%zd" format is portable now?

2019-08-06 Thread Michael
On 05/08/2019 11:16, Inada Naoki wrote: > https://github.com/python/cpython/blob/1213123005d9f94bb5027c0a5256ea4d3e97b61d/Include/pyport.h#L158-L168 > > This can be changed to this: > > #ifndef PY_FORMAT_SIZE_T > /* "z" is defined C99 and portable enough. We can use "%zd" instead of >"%" PY_FO

[Python-Dev] It all works - wheels for AIX - up to a point

2019-08-15 Thread Michael
whl (111kB) || 112kB 23.3MB/s   Saved ./pycparser-2.19-py2.py3-none-any.whl Successfully downloaded cffi pycparser Regards, Michael signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list -- python-dev@python.org To unsubs

[Python-Dev] Re: Inline links in Misc/NEWS entries

2019-08-16 Thread Michael
rhaps create "issues" that specify the "paragraphs", or whatever you think are appropriate 'chunks' to make review sensible (if not also easier). Michael signature.asc Description: OpenPGP digital signature ___ P

[Python-Dev] Re: [WARNING] Some users who downloaded the Python 3.5.8 .xz tarball got the wrong version

2019-10-31 Thread Michael
On 31/10/2019 00:17, Larry Hastings wrote: > > > Due to awkward CDN caching, some users who downloaded the source code > tarballs of Python 3.5.8 got a preliminary version instead of the > final version.  As best as we can tell, this only affects the .xz > release; there are no known instances of u

[Python-Dev] Re: PEP proposal to limit various aspects of a Python program to one million.

2019-12-06 Thread Michael
). A program has exactly - zero (0) of something, one (1) of something, or infinite. The moment it gets set to X, the case for X+1 appears. Since we are not talking about zero, or one - I guess my comment is make sure it can be used to infinity. Regards, Michael p.s. If this has already been

[Python-Dev] Python Documentation and AIX specifics - how to proceed?

2019-12-26 Thread Michael
single -longer term- issue - and multiple PR's to work through corrections and additions during 2020. Focus on Python 3.9 and beyond yet where appropriate backlevel to Python 3.8 or even 3.7. Sincerely, Michael signature.asc Description: OpenPGP digital signature _

[Python-Dev] Re: Python Documentation and AIX specifics - how to proceed?

2020-01-07 Thread Michael
be? Based on that we can decide if something like AIX build instructions > makes sense or if we should just gut the directory. > > For me personally, I'm torn. While helping out other folks using AIX through > that text file might be good due to the work you put in, Michael, whi

[Python-Dev] Differences in what lint (e.g., mypy, flake8, etc) require from new code and what Cpython uses/returns - e.g., strings with single/double quotes.

2020-01-09 Thread Michael
x27;_extend_dict', '_generate_posix_vars', '_get_default_scheme', '_get_sysconfigdata_name', '_getuserbase', '_init_non_posix', '_init_posix', '_is_python_source_dir', '_main', '_parse_makefile', '_print_

[Python-Dev] Re: Differences in what lint (e.g., mypy, flake8, etc) require from new code and what Cpython uses/returns - e.g., strings with single/double quotes.

2020-01-09 Thread Michael
On 09/01/2020 13:16, Steven D'Aprano wrote: > Hi Michael, and welcome! > > > On Thu, Jan 09, 2020 at 11:37:33AM +0100, Michael wrote: > >> I am not questioning the demands of the lint checker - rather - I am >> offering my services (aka time) to work through core

Re: [Python-Dev] [edk2] Official port of Python on EDK2

2017-11-03 Thread Michael Zimmermann
ified) from glibc which means that this part is GPL code. Thanks Michael Zimmermann On Thu, Nov 2, 2017 at 8:37 PM, Blibbet wrote: > On 11/02/2017 09:41 AM, Jayaprakash, N wrote: >> Would you consider adding thread support in this port of Python for > EDK2 shell? > > FYI, this li

Re: [Python-Dev] Add __reversed__ methods for dict

2018-06-08 Thread Michael Selik
Am I correct in saying that the consensus is +1 for inclusion in v3.8? The last point in the thread was INADA Naoki researching various implementations and deciding that it's OK to include this feature in 3.8. As I understand it, Guido was in agreement with INADA's advice to wait for MicroPython's

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-22 Thread Michael Selik
On Fri, Jun 22, 2018 at 8:09 AM Antoine Pitrou wrote: > Thank you. Personally, I'd like to see feedback from > educators/teachers after they take the time to read the PEP and take > some time to think about its consequences. > I've started testing the proposed syntax when I teach. I don't have

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-22 Thread Michael Selik
On Fri, Jun 22, 2018 at 10:02 AM Michael Selik wrote: > On Fri, Jun 22, 2018 at 8:09 AM Antoine Pitrou > wrote: > >> Thank you. Personally, I'd like to see feedback from >> educators/teachers after they take the time to read the PEP and take >> some time to thi

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-22 Thread Michael Selik
On Fri, Jun 22, 2018 at 10:19 AM Chris Angelico wrote: > On Sat, Jun 23, 2018 at 3:02 AM, Michael Selik wrote: > > On Fri, Jun 22, 2018 at 8:09 AM Antoine Pitrou > wrote: > >> > >> Thank you. Personally, I'd like to see feedback from > >> educato

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-24 Thread Michael Selik
y, we may wake up and Python won't be recommended as a beginner's language. On Fri, Jun 22, 2018 at 7:48 PM Steven D'Aprano wrote: > On Fri, Jun 22, 2018 at 10:59:43AM -0700, Michael Selik wrote: > > Of course they do -- they're less fluent at reading cod

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-24 Thread Michael Selik
On Sun, Jun 24, 2018 at 4:57 PM Guido van Rossum wrote: > On Sun, Jun 24, 2018 at 2:41 PM Michael Selik wrote: > >> This thread started with a request for educator feedback, which I took to >> mean observations of student reactions. I've only had the chance to test

Re: [Python-Dev] How far to go with user-friendliness

2015-07-16 Thread Michael Foord
k, misspelled (usually misremembered) assert methods silently did nothing. With this fix in place several failing tests were revealed in code bases! As for assret, it's the common misspelling people have told me about. It seems a ridiculous thing for people to get worked up about, but people enjoy

Re: [Python-Dev] How far to go with user-friendliness

2015-07-16 Thread Michael Foord
ht - the bad API goes back to the very beginning. I'm not planning I disagree it's a bad api. It's part of why mock was so easy to use and part of why it was so successful. With the new check for non-existent assert methods it's no longer dangerous and so doesn't need

Re: [Python-Dev] Rationale behind lazy map/filter

2015-11-04 Thread Michael Selik
> I'm not suggesting restarting at the top (I've elsewhere suggested that > many such methods would be better as an *iterable* that can be restarted > at the top by calling iter() multiple times, but that's not the same > thing). I'm suggesting raising an exception other than StopIteration, so > th

Re: [Python-Dev] collections.Counter __add__ implementation quirk

2015-11-24 Thread Michael Selik
Raymond, I think you made a typographical error in your Counter.update example. >>> from collections import Counter >>> c = Counter(a=4, b=2, c=0, d=-2) >>> d = Counter(a=1, b=-5, c=-2, d=6) >>> c.update(d) >>> c Counter({'a': 5, 'd': 4, 'c': -2, 'b': -3}) Pair programming

Re: [Python-Dev] Avoiding CPython performance regressions

2015-12-02 Thread Michael Droettboom
You may also be interested in a project I've been working on, airspeed velocity, which will automatically benchmark historical versions of a git or hg repo. http://github.com/spacetelescope/asv astropy, scipy, numpy and dask are already using it. Cheers, Mike

[Python-Dev] Question about sys.path and sys.argv and how packaging (may) affects default values

2016-03-02 Thread Michael Felt
27;, '/opt/lib/python2.7', '/opt/lib/python2.7/plat-aix5', '/opt/lib/python2.7/lib-tk', '/opt/lib/python2.7/lib-old', '/opt/lib/python2.7/lib-dynload', '/opt/lib/python2.7/site-packages'] michael@ipv4:~$ python Python 2.7.9 (default,

[Python-Dev] New OpenSSL - has anyone ever looked at (in)compatibility with LibreSSL

2016-03-08 Thread Michael Felt
Title: Upgrade OpenSSL shipped with python installers, it reminded me I need to start looking at LibreSSL again - and that, if not already done - might be something "secure" for python as well. Michael ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] New OpenSSL - has anyone ever looked at (in)compatibility with LibreSSL

2016-03-09 Thread Michael Felt
Can look at it. There has been a lot of discussion, iirc, between OpenSSL and LibreSSL re: version identification. Thx for the reference. On 08-Mar-16 14:55, Hasan Diwan wrote: On 8 March 2016 at 00:49, Michael Felt <mailto:mich...@felt.demon.nl>> wrote: As a relative newco

Re: [Python-Dev] Summary of Python tracker Issues

2016-03-11 Thread Michael Felt
64:[/data/prj/aixtools/python/python-2.7.11.2] So, my question: how do I make the 'compile' of /var/aixtools/aixtools/python/2.7.11.2/opt/lib/python2.7/zipfile.py more verbose? I tried "make V=1 DESTDIR=/var/aixtools/aixtools/python/2.7.11

Re: [Python-Dev] Question about sys.path and sys.argv and how packaging (may) affects default values

2016-03-13 Thread Michael Felt
On 2016-03-02 18:45, Thomas Wouters wrote: On Wed, Mar 2, 2016 at 3:50 AM, Michael Felt wrote: Hello all, 1) There are many lists to choose from - if this is the wrong one for questions about packaging - please forgive me, and point me in the right direction. It's hard to say where

[Python-Dev] bitfields - short - and xlc compiler

2016-03-19 Thread Michael Felt
a) hope this is not something you expect to be on -list, if so - my apologies! Getting this message (here using c99 as compiler name, but same issue with xlc as compiler name) c99 -qarch=pwr4 -qbitfields=signed -DNDEBUG -O -I. -IInclude -I./Include -I/data/prj/aixtools/python/python-2.7.11.2/I

Re: [Python-Dev] bitfields - short - and xlc compiler

2016-03-19 Thread Michael Felt
est/test_bitfields.py", line 48, in test_shorts self.assertEqual((name, i, getattr(b, name)), (name, i, func(byref(b), name))) AssertionError: Tuples differ: ('M', 1, -1) != ('M', 1, 1) First differing element 2: -1 1 - ('M', 1, -1) ? - + (&#x

Re: [Python-Dev] bitfields - short - and xlc compiler

2016-03-20 Thread Michael Felt
On 2016-03-18 05:57, Andrew Barnert via Python-Dev wrote: Yeah, C99 (6.7.2.1) allows "a qualified or unqualified version of _Bool, signed int, unsigned int, or some other implementation-defined type", and same for C11. This means that a compiler could easily allow an implementation-defined ty

Re: [Python-Dev] [RELEASED] Python 3.4.0b2

2014-01-06 Thread Michael Urman
(msiexec /l*v python.log python.msi OR http://support.microsoft.com/kb/223300), sit on the prompt for network access so you can uniquely identify the log's timestamps, and try to identify at what point of the installation the network access occurs. Once that is known, more steps can be taken to

Re: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes

2014-01-16 Thread Michael Urman
On Thu, Jan 16, 2014 at 8:45 AM, Brett Cannon wrote: > Fine, if you're worried about bytes.format() overstepping by implicitly > calling str.encode() on the return value of __format__() then you will need > __bytes__format__() to get equivalent support. Could we just re-use PEP-3101's note (easil

Re: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes

2014-01-16 Thread Michael Urman
On Thu, Jan 16, 2014 at 11:13 AM, Neil Schemenauer wrote: > A TypeError exception is what we want if the object does not support > bytes formatting. Some possible problems: > > - It could be hard to provide a helpful exception message since it > is generated inside the __format__ method rather

Re: [Python-Dev] Call for Python Developers for our humanoid Robot NAO

2014-03-18 Thread Michael Foord
f the language and its implementation. Topics include Python design issues, release mechanics, and maintenance of existing releases." (from https://mail.python.org/mailman/listinfo/python-dev) Unless you're offering all the core-devs free robots. In which case it's fine.

[Python-Dev] Fwd: Jython Report

2014-04-12 Thread Michael Foord
lels CPython's C API buffer protocol. This provided the basis for support of buffer() and memoryview(). The work was done with Jython3 in mind and will be a huge boost to that eventual effort. Begin forwarded message: > From: Jim Baker > Subject: Re: Jython Report > Date: 7 Apr

Re: [Python-Dev] cpython: Minor clean-ups for heapq.

2014-05-27 Thread Michael Urman
(2, 'c')] 'd' >>> it = iter(string.ascii_letters); list(zip(it, range(3))); next(it) [('a', 0), ('b', 1), ('c', 2)] 'e' This seems like a potentially nasty gotcha, but I'm unclear what real use cases would be impacted. Michae

[Python-Dev] use cases for "python-config" versus "pkg-config python"

2014-05-28 Thread Michael Haubenwallner
Hello! Stumbling over problems on AIX (Modules/python.exp not found) building libxml2 as python module let me wonder about the intended use-cases for 'python-config' and 'pkg-config python'. FWIW, I can see these distinct use cases here, and I'm kindly asking if I got them right: * Build an a

Re: [Python-Dev] use cases for "python-config" versus "pkg-config python"

2014-06-02 Thread Michael Haubenwallner
Hi, following up myself with a patch proposal: On 05/28/2014 04:51 PM, Michael Haubenwallner wrote: > Stumbling over problems on AIX (Modules/python.exp not found) building > libxml2 as python module > let me wonder about the intended use-cases for 'python-config' and &

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-06-30 Thread Michael Selik
style comparison recommendation that is common to languages that use = for assignment expressions. I understand the reluctance for such a major change to the appearance of Python code, but it would avoid the laundry list of exclusions. There's some value in parsimony. Anyway, we've got some ti

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-07-01 Thread Michael Selik
On Sun, Jul 1, 2018 at 12:39 AM Tim Peters wrote: > So, ya, when someone claims [assignment expressions will] make Python > significantly harder to teach, I'm skeptical of that claim. > I don't believe anyone is making that claim. My worry is that assignment expressions will add about 15 to 20 m

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-07-01 Thread Michael Selik
On Sun, Jul 1, 2018 at 5:28 PM Steven D'Aprano wrote: > On Sun, Jul 01, 2018 at 08:35:08AM -0700, Michael Selik wrote: > > On Sun, Jul 1, 2018 at 12:39 AM Tim Peters wrote: > > > > > So, ya, when someone claims [assignment expressions will] make Python > > &

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-07-02 Thread Michael Selik
On Sun, Jul 1, 2018 at 11:36 PM Tim Peters wrote: > [Michael Selik] > > My worry is that assignment expressions will add about 15 to 20 > > minutes to my class and a slight discomfort. > > So not intractable - which is my high-order bit ;-) > > For those who want more

Re: [Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)

2018-07-02 Thread Michael Selik
On Sun, Jul 1, 2018 at 8:21 PM Matt Arcidy wrote: > [...] Can anyone adequately explain why this specific modality of > learning, a student-in-a-seat based educator, must outweigh all other > modalities [...]? 1. It doesn't. 2. It's a proxy for the other modes. I hope this was an adequate exp

Re: [Python-Dev] Fuzzing the Python standard library

2018-07-17 Thread Michael Selik
On Tue, Jul 17, 2018 at 4:57 PM Jussi Judin wrote: > Quick answer: undocumented billion laughs/exponential entity expansion > type of an attack that is accessible through web through any library that > uses fractions module to parse user input (that are actually available on > Github). > Are you

[Python-Dev] Exporting Python functions on AIX

2018-07-27 Thread WILSON, MICHAEL
All, My excuse if this is not the appropriate list for a question essentially concerning the AIX port of Python. The current port of Python for AIX includes composing an export file (/lib/python2.7/config/python.exp) in which there are a number of functions starting "Py_" or "_Py_". The Vim p

Re: [Python-Dev] Accessing mailing list archives

2018-07-31 Thread Michael Selik
Would it be possible to normalize by the number of mailing list members and also by "active" members? The latter would be tricky to define. On Mon, Jul 30, 2018 at 3:29 PM Victor Stinner wrote: > Hi Bob, > > I wrote a basic script to compute the number of emails per PEP. It > requires to downloa

Re: [Python-Dev] [python-committers] [RELEASED] Python 3.4.9 and Python 3.5.6 are now available

2018-08-07 Thread Michael Felt
On 8/6/2018 11:38 AM, Charalampos Stratakis wrote: > A side note on your side note. Different distro's have different > standards, use/customer cases to address etc. In enterprise > distributions the usual scheme is that the version that you see is the > minimum one and many fixes coming from ups

[Python-Dev] AIX and python tests

2018-08-08 Thread Michael Felt
10:59 PM, Michael wrote: > > As I have time, I'll dig into these. > > I have a couple of PR already 'out there', which I hope someone will > be looking at when/as he/she/they have time. My time will also be > intermittent. > > My next test - and I hope not t

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

2018-08-16 Thread Michael Felt
FAIL: test_copy_remove_setuid (test.test_shutil.TestShutil) -- Traceback (most recent call last):   File "/data/prj/python/git/python3-3.8/Lib/test/test_shutil.py", line 1491, in

Re: [Python-Dev] Comparisions for collections.Counters

2018-09-05 Thread Michael Selik
On Wed, Sep 5, 2018 at 3:13 AM Evpok Padding wrote: > According to the [doc][1], `collections.Counter` convenience intersection > and union functions are meant to help it represent multisets. However, it > currently lacks comparisons, which would make sense and seems > straightforward to implemen

Re: [Python-Dev] switch statement

2018-09-21 Thread Michael Selik
First, this sounds like it belongs on python-ideas, not python-dev. Second, when you do send a message to python-ideas, it'll help to accompany it with a realistic example usage that motivates your proposal. On Fri, Sep 21, 2018 at 11:18 AM wrote: > > Hi, > > A humble proposal for a switch-like st

Re: [Python-Dev] [RELEASE] Python 3.7.1rc1 and 3.6.7rc1 now available for testing

2018-09-27 Thread Michael Felt
Not critical - but I note a difference between Python3 3.6.7 and 3.7.1 - no support for the configure option --with-openssl. On AIX I was able to run both configure and "make install" without incident. I also ran the "make test" command. v3.7.1: 9 tests failed again:     test_ctypes test_distut

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-09-28 Thread Michael Selik
On Fri, Sep 28, 2018 at 2:11 PM Sean Harrington wrote: > kwarg on Pool.__init__ called `expect_initret`, that defaults to False. When > set to True: > Capture the return value of the initializer kwarg of Pool > Pass this value to the function being applied, as a kwarg. The parameter name you cho

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-09-29 Thread Michael Selik
On Sat, Sep 29, 2018 at 5:24 AM Sean Harrington wrote: >> On Fri, Sep 28, 2018 at 4:39 PM Sean Harrington wrote: >> > My simple argument is that the developer should not be constrained to make >> > the objects passed globally available in the process, as this MAY break >> > encapsulation for la

[Python-Dev] LDLAST variable in configure.ac

2018-10-01 Thread Michael Felt
intended as a last resort variable that can be modified in Makefile. Thanks! Michael signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Change in Python 3's "round" behavior

2018-10-01 Thread Michael Felt
On 9/30/2018 2:17 PM, Steven D'Aprano wrote: > (It's also called Dutch Rounding.) Ah - as to why - and from school! (as so-called intuitive! rather desired!). A test score goes from 5.5 to 6.0 - which becomes passing. Oh, do I recall my children's frustrations when they had a X.4Y score - tha

[Python-Dev] dear core-devs

2018-10-01 Thread Michael Felt
. And, while you may not give a damn about anything other than Windows, macos and/or Linux - there are other platforms that would like a stable Python. Sincerely, Michael signature.asc Description: OpenPGP digital signature ___ Python-Dev mailing list

Re: [Python-Dev] LDLAST variable in configure.ac

2018-10-02 Thread Michael Felt
mime-attachment Description: application/pgp-encrypted encrypted.asc Description: Binary data ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/

Re: [Python-Dev] dear core-devs

2018-10-02 Thread Michael Felt
I am willing to assist as best I can with AIX - I seem to have the core requirements re: time available: (i.e., over-comitted at work, but 'work' evenings and weekends on OSS :p) On 10/2/2018 6:41 PM, Simon Cross wrote: > Are there any core devs that Michael or Erik could col

Re: [Python-Dev] dear core-devs

2018-10-02 Thread Michael Felt
On 10/2/2018 4:45 PM, Erik Bray wrote: > Michael, if there are any PRs you want to point me to that I might be > able to help review please do. A little trick I learned: https://github.com/python/cpython/pulls?q=is%3Aopen+is%3Apr+author%3Aaixtools+sort%3Aupdated-desc lists them all.

Re: [Python-Dev] LDLAST variable in configure.ac

2018-10-02 Thread Michael Felt
Yes, unintended. It was only supposed to be signed, but "Send Later"  encrypts it. Unpacked version: On 10/2/2018 1:07 AM, Benjamin Peterson wrote: > On Mon, Oct 1, 2018, at 12:12, Michael Felt wrote: >> Hi all, >> >> Before I submit a patch to increase the

Re: [Python-Dev] dear core-devs

2018-10-02 Thread Michael Felt
On 10/2/2018 11:34 PM, Terry Reedy wrote: > On 10/2/2018 12:41 PM, Simon Cross wrote: >> Are there any core devs that Michael or Erik could collaborate with? >> Rather than rely on adhoc patch review from random core developers. > > You two might collaborate with each o

Re: [Python-Dev] dear core-devs

2018-10-03 Thread Michael Felt
On 10/3/2018 2:48 AM, Terry Reedy wrote: > On 10/2/2018 7:16 PM, Michael Felt wrote: >> >> >> On 10/2/2018 11:34 PM, Terry Reedy wrote: >>> On 10/2/2018 12:41 PM, Simon Cross wrote: >>>> Are there any core devs that Michael or Erik could collaborate

Re: [Python-Dev] dear core-devs

2018-10-03 Thread Michael Felt
On 10/3/2018 1:46 AM, Neil Schemenauer wrote: > On 2018-10-02, Michael Felt wrote: >> I am sorry, for myself obviously - but also for Python. Obviously, I am >> doing it all wrong - as I see lots of other issues being picked up >> immediately. > I'm not sure that&#x

[Python-Dev] AIX to stable, what does that take?

2018-10-04 Thread Michael Felt
l tests mean less if they are not merged, for whatever reason. However, maybe there is another way, or even something additional needed. Maybe something I cannot provide and then I can adjust my expectations and goals. Regards, Michael ___ Python-Dev

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-04 Thread Michael Selik
process, from a different module, testing w/o globals, etc...).. > > This would essentially be an efficient implementation of Pool.starmap(), > where kwargs are static, and passed to each application of "func" over our > iterable. > > Thoughts? > > > On Sat, S

Re: [Python-Dev] dear core-devs

2018-10-04 Thread Michael Felt
over 20 minutes, and I had to go. Of the 419, 17 or 18 had failed. Roughly where AIX plus xlc was at last July without my PRs for tests. So, while it worked - money stopped and Solaris is in no better numerical shape (test wise) than AIX. > Michael explicitly said this is a personal effo

Re: [Python-Dev] AIX to stable, what does that take?

2018-10-04 Thread Michael Felt
ndard (valid when release came out, so AIX 5.3 confirms to a different standard than AIX 7.2) * While Linux affinity is recognized - GNU (or GNP - GNU not POSIX) integration is not guaranteed. - GNU rte is not provided under support. There is a so-called Toolbox, GNU an other OSS utilities supplied by

Re: [Python-Dev] AIX to stable, what does that take?

2018-10-05 Thread Michael Haubenwallner
Hi Michael, being on a similar road with Gentoo Prefix, I really do appreciate your AIX related work! However, for two (not so minor) topics I've got a little different experience, which I think should be mentioned here for completion: On 10/04/2018 11:13 AM, Michael Felt wrote: > On 1

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-16 Thread Michael Selik
Would this change the other pool method behavior in some way if the user, for whatever reason, mixed techniques? imap_unordered will only block when nexting the generator. If the user mingles nexting that generator with, say, apply_async, could the change you're proposing have some side-effect? O

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-17 Thread Michael Selik
If imap_unordered is currently re-pickling and sending func each time it's called on the worker, I have to suspect there was some reason to do that and not cache it after the first call. Rather than assuming that's an opportunity for an optimization, I'd want to be certain it won't have edge case n

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-18 Thread Michael Selik
On Thu, Oct 18, 2018 at 8:35 AM Sean Harrington wrote: > The most common use case comes up when passing instance methods (of really > big objects!) to Pool.map(). > This reminds me of that old joke: "A patient says to the doctor, 'Doctor, it hurts when I ...!' The doctor replies, 'Well, don't do

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-18 Thread Michael Selik
27;m still worried about unintended consequences. On Thu, Oct 18, 2018 at 9:00 AM Michael Selik wrote: > On Thu, Oct 18, 2018 at 8:35 AM Sean Harrington > wrote: > >> The most common use case comes up when passing instance methods (of >> really big objects!) to Pool.map().

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-19 Thread Michael Selik
On Fri, Oct 19, 2018 at 5:01 AM Sean Harrington wrote: > I like the idea to extend the Pool class [to optimize the case when only > one function is passed to the workers]. > Why would this keep the same interface as the Pool class? If its workers are restricted to calling only one function, that

Re: [Python-Dev] bpo-34837: Multiprocessing.Pool API Extension - Pass Data to Workers w/o Globals

2018-10-22 Thread Michael Selik
This thread seems more appropriate for python-ideas than python-dev. On Mon, Oct 22, 2018 at 5:28 AM Sean Harrington wrote: > Michael - the initializer/globals pattern still might be necessary if you > need to create an object AFTER a worker process has been instantiated (i.e. > a

  1   2   3   4   5   6   7   8   9   10   >