[Python-Dev] Re: PEP 505 (None-aware operators) for Python 3.11

2021-10-20 Thread Michael Selik
On Wed, Oct 20, 2021 at 9:18 AM Piotr Waszkiewicz wrote: > Do you think about something along those lines? > ``` > phone = book.publisher.owner.phone except AttributeError: None > ``` > Yes, that seems reasonable. > I don't mind this syntax but it would have to be supported by static type > ch

[Python-Dev] Re: PEP 505 (None-aware operators) for Python 3.11

2021-10-20 Thread Michael Selik
On Wed, Oct 20, 2021 at 1:16 AM Piotr Waszkiewicz wrote: > On Wed, Oct 20, 2021 at 2:33 AM Michael Selik wrote: > >> In case it saves anyone a couple clicks: >> https://www.python.org/dev/peps/pep-0463/ >> I also prefer more syntactic help with exceptions, rather than mo

[Python-Dev] Re: PEP 505 (None-aware operators) for Python 3.11

2021-10-19 Thread Michael Selik
On Tue, Oct 19, 2021 at 9:39 AM Chris Angelico wrote: > On Wed, Oct 20, 2021 at 3:25 AM Baptiste Carvello > wrote: > > > > Le 18/10/2021 à 20:26, Guido van Rossum a écrit : > > > > > > y = None # Default > > > if config is not None: > > > handler = config.get("handler") > > > if handler is

[Python-Dev] CFLAGS_NODIST and -qalias=noansi

2021-03-05 Thread Michael Felt
Dear all, After several months of absence - my first manual build surprised me by the addition of the -qalias=noansi. Before I open an issue - maybe it is not that important - I am trying to find what brought it in. It looks to be a change in behavior in configure(.ac) - starting with Python

[Python-Dev] Python.org downloads page and javascript

2020-11-12 Thread Michael Felt
!, Michael OpenPGP_0x722BFDB61F396FC2.asc Description: application/pgp-keys OpenPGP_signature Description: OpenPGP digital signature ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https

[Python-Dev] Re: PEP 622 version 2 (Structural Pattern Matching)

2020-07-10 Thread Michael Lee
pt-in to this behavior if they define `__match_args__ = None`? Not sure if adding the extra "is None" check when doing the match will introduce too much overhead though. -- Michael On Wed, Jul 8, 2020 at 8:06 AM Guido van Rossum wrote: > Today I’m happy (and a little trepidatious) to a

[Python-Dev] Re: Comparing UUID objects to strings: why not?

2020-01-23 Thread Michael Anckaert via Python-Dev
/archives/list/python-dev@python.org/message/AHACOVSPOVRJ257P2XSPPDA7I6AKE5IJ/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Michael Anckaert +32 474 066 467 https://www.sinax.be ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe sen

[Python-Dev] Comparing UUID objects to strings: why not?

2020-01-23 Thread Michael Anckaert via Python-Dev
aws in my reasoning. If other people support this change I'd start the work of creating an issue and PR to get this change implemented. -- Michael Anckaert +32 474 066 467 https://www.sinax.be ___ Python-Dev mailing list -- python-dev@python.org T

[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

[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: 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] 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: 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] 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: Spammy stuff (was Re: congrats on 3.5! Alas, windows 7 users are having problems installing it)

2019-09-15 Thread Michael Foord
Sent from my iPhone > On 15 Sep 2019, at 23:25, Tim Peters wrote: > > [Tim] >> While python-dev has several "official" moderators, best I can tell >> I'm the only one who has reviewed these messages for years. > > I should clarify that! That's not meant to be a dig at the other > moderators

[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] 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: 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] 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] 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: 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] Re: Preserve keyword argument order in unittest.mock call repr output

2019-06-22 Thread Michael Foord
so not documented. I propose > removing this sorted order in 3.9 and to preserve the original order. The > change is straightforward and I can add a PR if this change is accepted. +1 go ahead. The test that will fail was synthetic for the sorting and it won't cause real tests to fail

[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

Re: [Python-Dev] git history conundrum

2019-04-28 Thread Michael Foord
ssword that can write to > https://pypi.org/project/mock/ ... I can add you as a maintainer. Ping me off-list. Michael > >> If I understand correctly this is just the hg style branch backport >> consequence, multiple copies of a change. Should be safe to skip thos

Re: [Python-Dev] No longer enable Py_TRACE_REFS by default in debug build

2019-04-16 Thread Michael Sullivan
On Tue, Apr 16, 2019 at 2:11 AM Victor Stinner wrote: > Hi Michael, > > Do you know the tracemalloc module? Did you try it? It works on a > regular Python (compiled in debug mode). > > I would be curious to know if tracemalloc also allows you to track the > memory leak. &g

Re: [Python-Dev] PEP 591 discussion (final qualifier) happening at typing-sig@

2019-04-16 Thread Michael Sullivan
On Mon, Apr 15, 2019 at 8:12 PM Nathaniel Smith wrote: > On Mon, Apr 15, 2019 at 5:00 PM Michael Sullivan wrote: > > > > I've submitted PEP 591 (Adding a final qualifier to typing) for > discussion to typing-sig [1]. > > I'm not on typing-sig [1] so I'm r

Re: [Python-Dev] No longer enable Py_TRACE_REFS by default in debug build

2019-04-15 Thread Michael Sullivan
On Mon, Apr 15, 2019 at 4:06 PM Nathaniel Smith wrote: > On Mon, Apr 15, 2019, 15:27 Michael Sullivan wrote: > >> > The main question is if anyone ever used Py_TRACE_REFS? Does someone >> > use sys.getobjects() or PYTHONDUMPREFS environment variable? >> >> I

[Python-Dev] PEP 591 discussion (final qualifier) happening at typing-sig@

2019-04-15 Thread Michael Sullivan
I've submitted PEP 591 (Adding a final qualifier to typing) for discussion to typing-sig [1]. Here's the abstract: This PEP proposes a "final" qualifier to be added to the ``typing`` module---in the form of a ``final`` decorator and a ``Final`` type annotation---to serve three related purposes: *

Re: [Python-Dev] No longer enable Py_TRACE_REFS by default in debug build

2019-04-15 Thread Michael Sullivan
> The main question is if anyone ever used Py_TRACE_REFS? Does someone > use sys.getobjects() or PYTHONDUMPREFS environment variable? I used sys.getobjects() today to track down a memory leak in the mypyc-compiled version of mypy. We were leaking memory badly but no sign of the leak was showing u

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 _

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

2019-03-01 Thread Michael Felt
wrong how the Python community "sees the world". > On 2/21/2019 11:26 AM, Michael wrote: > 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 > the value positive (for the

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

[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] 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] Python 3.8 alpha and AIX buildbot “support” moving forward.

2019-02-09 Thread Michael Felt (aixtools)
installed. While I am also concerned about AIX status I also hope that my inspection is helping to improve Python. Sincerely, Michael Sent from my iPhone___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] How about updating OrderedDict in csv and configparser to regular dict?

2019-01-31 Thread Michael Selik
Waiting on review https://github.com/python/cpython/pull/8014 On Thu, Jan 31, 2019, 12:04 AM INADA Naoki I'm sorry, configparser is changed already. > https://bugs.python.org/issue33504 > > On Thu, Jan 31, 2019 at 4:52 PM INADA Naoki > wrote: > > > > Hi, > > > > csv.DictReader uses OrderedDict b

[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] Standard library vs Standard distribution?

2018-11-29 Thread Michael Selik
On Thu, Nov 29, 2018 at 5:48 PM Oscar Benjamin wrote: > There have been significant improvements in pip, pypi and the whole > packaging ecosystem in recent years thanks to the efforts of many > including Paul. I've been pushing students and others to Anaconda > simply because I knew that at minim

Re: [Python-Dev] Standard library vs Standard distribution?

2018-11-29 Thread Michael Selik
On Thu, Nov 29, 2018 at 1:33 PM Nathaniel Smith wrote: > > > https://anaconda.com/ > > > https://www.activestate.com/products/activepython/ > > > http://winpython.github.io/ > > > http://python-xy.github.io/ > > > https://www.enthought.com/product/canopy/ > > > https://software.intel.com/en-us/di

Re: [Python-Dev] Experiment an opt-in new C API for Python? (leave current API unchanged)

2018-11-09 Thread Michael Selik
On Fri, Nov 9, 2018 at 4:33 PM Victor Stinner wrote: > It uses an opt-in option (Py_NEWCAPI define -- I'm not sure about the > name) to get the new API. The current C API is unchanged. > While one can hope that this will be the only time the C API will be revised, it may be better to number it i

Re: [Python-Dev] Custom AIX build last week...

2018-10-29 Thread Michael Felt
g a single file and add some extra flags (-qsource or -qlist) which generates a .lst file and shows what the compiler did (macro expansion, etc..) If you would like me to attempt this - just let me know. Although it may take 24 hours from that request before I can fulfill it. Regards, Michael

[Python-Dev] Custom AIX build last week...

2018-10-29 Thread Michael Felt
test was, and I'll look at it on my server manually. If it succeeds - I would also appreciate a heads-up! Thanks, Michael ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://

Re: [Python-Dev] Rename Include/internals/ to Include/pycore/

2018-10-29 Thread Michael Felt
My short comment: +1 My longer comment: for someone who is not trying to be caught up in "internals" I find it extremely difficult to work with the "default" approach described below - trying to mentally understand, and remember what those macros mean/do as I got "bug-hunting". Ultimately, hav

[Python-Dev] AIX build-bots broken for 11 days

2018-10-29 Thread Michael Felt
ds/1645/steps/2/logs/stdio https://buildbot.python.org/all/#/builders/161/builds/328/steps/2/logs/stdio Help appreciated. Michael ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mai

Re: [Python-Dev] "Deprecation" of os.system in favor of subprocess?

2018-10-25 Thread Michael Felt
Thanks for asking a question that triggered an enlightening discussion! On 10/25/2018 5:13 PM, Stephane Wirtel wrote: > Hi all, > > After your feedback, I have my answer. > > I understand the your points of view and I don't want to change any part > of code for os.system and subprocess, I don't w

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

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-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-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-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-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] 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

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 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] 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] 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] 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

[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] 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

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-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] 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 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] 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] 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/

[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] 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] 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] 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

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] [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] 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] 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] 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] 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

[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

[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

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] 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] 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-08-26 Thread Michael Felt (aixtools)
:37, Mariatta Wijaya wrote: > > I don't quite understand the problem you're facing with git and make > patchcheck? > > Also, perhaps this is more for core-workflow instead of python-dev. > > Mariatta > > ᐧ > >> On Fri, Aug 24, 2018 at 3:20 AM Michae

[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.

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

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] [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

[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] [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-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] [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

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] spwd and AIX

2018-08-01 Thread Michael Felt (aixtools)
Sounds like i can skip this then. Thx. Sent from my iPhone > On 1 Aug 2018, at 17:52, Christian Heimes wrote: > >> On 2018-08-01 13:58, Michael wrote: >> a) I am looking at getting spwd integrated from AIX >> >> b) only the parameter sp_pwdp is my concern - as

[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

[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

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

[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] 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

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] 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-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-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

  1   2   3   4   5   6   7   8   9   10   >