Why do I see digest replies to posts I never saw in a digest? [was: RE: Why I fail so bad to check for memory leak with this code?]

2022-07-23 Thread pjfarley3
OT to the original subject, but can anyone explain to me why in the forum digest emails I receive I often see a reply to a post that I never saw the original of in any prior digest? Peter > -Original Message- > From: Marco Sulla > Sent: Friday, July 22, 2022 3:41 PM > To: Barry > Cc:

RE: tail

2022-04-24 Thread pjfarley3
> -Original Message- > From: dn > Sent: Saturday, April 23, 2022 6:05 PM > To: python-list@python.org > Subject: Re: tail > > NB quite a few of IBM's (extensively researched) algorithms which formed > utility > program[me]s on mainframes, made similar such algorithmic choices, in the

RE: Has anone seen or know of a CFFI wrapper for PDCurses?

2021-06-14 Thread pjfarley3
> From: Dan Stromberg > Sent: Monday, June 14, 2021 12:36 AM > To: pjfarl...@earthlink.net > Cc: Python List > Subject: Re: Has anone seen or know of a CFFI wrapper for PDCurses? > > > On Sun, Jun 13, 2021 at 12:50 AM wrote: > > Hi All, > > > > I have been

Has anone seen or know of a CFFI wrapper for PDCurses?

2021-06-13 Thread pjfarley3
Hi All, I have been investigating the possibility of wrapping the PDCurses DLL on Windows (or even better the PDCursesMod fork) using cffi instead of ctypes.  The unicurses project tried this using ctypes 11 years ago but unicurses hasn't been worked on since 2010, and it shows its age. I think

RE: ctypes on Windows question: How to access an array of uint32_t exported from a DLL?

2021-06-07 Thread pjfarley3
> -Original Message- > From: Eryk Sun > Sent: Monday, June 7, 2021 12:34 PM > To: python-list@python.org > Cc: pjfarl...@earthlink.net > Subject: Re: ctypes on Windows question: How to access an array of uint32_t > exported from a DLL? > > On 6/6/21, pjfarl...@earthlink.net wrote: > > >

ctypes on Windows question: How to access an array of uint32_t exported from a DLL?

2021-06-06 Thread pjfarley3
On a Windows 10 platform (python 3.8.9 and 3.9.5), how do I use ctypes to access an array of uint32_t's exported from a DLL? The array (after various #define's are resolved) is defined as: __declspec(dllexport) extern uint32_t array_name[128]; I have read and re-read the ctypes

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: boB Stepp > Sent: Wednesday, June 2, 2021 12:21 AM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > windows-curses 2.2.0 has been working well for me so far on Win10: >

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: Jach Feng > Sent: Tuesday, June 1, 2021 9:19 PM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > pjfa...@earthlink.net 在 2021年5月31日 星期一上午1:42:43 [UTC+8] 的信中寫 > 道: > > I tried winpdb-reborn some

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: Cameron Simpson > Sent: Tuesday, June 1, 2021 7:32 PM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On 01Jun2021 19:48, Alan Gauld wrote: > >On 31/05/2021 16:16, Grant Edwards wrote: > >> On

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: jak > Sent: Tuesday, June 1, 2021 3:34 AM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > Il 31/05/2021 02:36, Dennis Lee Bieber ha scritto: > > On Mon, 31 May 2021 08:07:21 +1000, Cameron

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: Grant Edwards > Sent: Monday, May 31, 2021 11:17 AM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On 2021-05-30, Alan Gauld via Python-list wrote: > > On 30/05/2021 18:26,

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: Dennis Lee Bieber > Sent: Monday, May 31, 2021 7:11 PM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On Tue, 1 Jun 2021 08:04:54 +1000, Cameron Simpson > declaimed the following: > > >On

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-02 Thread pjfarley3
> -Original Message- > From: Grant Edwards > Sent: Monday, May 31, 2021 11:18 AM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On 2021-05-31, Dennis Lee Bieber wrote: > > On Mon, 31 May 2021 08:07:21 +1000, Cameron

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-01 Thread pjfarley3
> -Original Message- > From: Alan Gauld > Sent: Sunday, May 30, 2021 4:38 PM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On 30/05/2021 18:26, pjfarl...@earthlink.net wrote: > > I tried winpdb-reborn some time last year

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-06-01 Thread pjfarley3
> -Original Message- > From: Cameron Simpson > Sent: Sunday, May 30, 2021 6:07 PM > To: Python > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On 31May2021 07:46, Chris Angelico wrote: > Also untried, but should work: > > Open another terminal,

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-05-31 Thread pjfarley3
> -Original Message- > From: Dennis Lee Bieber > Sent: Sunday, May 30, 2021 4:32 PM > To: python-list@python.org > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > On Sun, 30 May 2021 13:26:40 -0400, declaimed the > following: > > Follow-up to my

RE: How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-05-31 Thread pjfarley3
> -Original Message- > From: Chris Angelico > Sent: Sunday, May 30, 2021 5:47 PM > To: Python > Subject: Re: How to debug python + curses? [was: RE: Applying winpdb_reborn] > > Never had this problem with curses per se (partly because I've used it very > little), > but a more general

How to debug python + curses? [was: RE: Applying winpdb_reborn]

2021-05-30 Thread pjfarley3
I tried winpdb-reborn some time last year on my Win10 system (python 3.8.3 at that time), but could not figure out how to use it to debug a python script that uses the curses module. Does anyone here know if winpdb-reborn or any other debugger can support 2-window debugging for a python script

RE: Question for potential python development contributions on Windows

2021-05-24 Thread pjfarley3
> -Original Message- > From: Terry Reedy > Sent: Sunday, May 23, 2021 10:05 PM > To: python-list@python.org > Subject: Re: Question for potential python development contributions on > Windows > I am pretty sure that VS2019 output is binary compatible with with output from > VS2017 and

Question for potential python development contributions on Windows

2021-05-23 Thread pjfarley3
I asked this question on python-dev last week but did not get an answer. If anyone here know the answer I would appreciate it. The Python Developers Guide specifically states to get VS2017 for developing or enhancing python on a Windows system. Is it still correct to specifically use VS2017 ,

RE: How to build stable 3.9 branch from fork and clone of cpython

2021-05-19 Thread pjfarley3
> -Original Message- > From: Chris Angelico > Sent: Tuesday, May 18, 2021 3:01 AM > To: Python > Subject: Re: How to build stable 3.9 branch from fork and clone of cpython > > On Tue, May 18, 2021 at 4:33 PM wrote: > > > > I am following the "Getting Started" section of the Python

How to build stable 3.9 branch from fork and clone of cpython

2021-05-18 Thread pjfarley3
I am following the "Getting Started" section of the Python Developers Guide, but when I build the first version to verify everything builds, it builds branch 3.11. If I want to build and contribute to branch 3.9, how do I set that up please? OS is Windows 10. I have, I believe, all the

RE: Python curses question: How to separate foreground and background colors from the value returned by inch()?

2021-04-03 Thread pjfarley3
I figured out how to file a couple of issues on the python tracker site. 43715 inch() and scrbkgd() documentation omissions 43716 curses.pair_number() value issue Peter > -Original Message- > From: pjfarl...@earthlink.net > Sent: Saturday, April 3, 2021 2:25 PM > To:

RE: Python curses question: How to separate foreground and background colors from the value returned by inch()?

2021-04-03 Thread pjfarley3
> -Original Message- > From: pjfarl...@earthlink.net > Sent: Saturday, April 3, 2021 1:25 AM > To: python-list@python.org > Subject: Python curses question: How to separate foreground and background > colors from the value returned by inch()? > > The window.inch(([y, x])) function

Python curses question: How to separate foreground and background colors from the value returned by inch()?

2021-04-03 Thread pjfarley3
The window.inch(([y, x])) function returns the character and attributes of the character at the current or specified window position. But how does one separate the foreground and background colors from the resulting value? colors = window.inch(0.0) & A_ATTRIBUTES That should return the combined

RE: convert script awk in python

2021-03-27 Thread pjfarley3
Many thanks for the link to that document. Most helpful. Peter > -Original Message- > From: Michael Torrie > Sent: Friday, March 26, 2021 8:32 PM > To: python-list@python.org > Subject: Re: convert script awk in python > > On 3/25/21 1:14 AM, Loris Bennett wrote: > > Does any one have

Digest emails stopped?

2021-03-10 Thread pjfarley3
Is anyone else who is set to receive digest emails receiving them since Sunday 3/7/2021? Sunday was the last day I received one. I was under the impression that any activity at all on the list would result in a digest email being sent at the end of that day, and according to the archive there

RE: python curses constant names for mouse wheel movements?

2021-03-08 Thread pjfarley3
I am replying to my own message due to the digest not appearing in my inbox yet today. I will add Alan Gould's responses and my reply to him manually. alan.gauld at yahoo.co.uk wrote: > > Where can I find any documentation of the correct curses constant name(s) to > > use for detecting a "wheel

python curses constant names for mouse wheel movements?

2021-03-07 Thread pjfarley3
I have a python curses project trying to detect mouse wheel movements, and I understand that mouse wheel events by convention are reported as BUTTON4 and BUTTON5 events. I am running on a Win10 system with python 3.8.7 and windows-curses 2.2.0, which I am given to understand uses the gohlke

RE: Convert MBOX thunderbird to PST outlook

2021-02-08 Thread pjfarley3
I can recommend the commercial product Aid4Mail from my personal experience moving from another mbox-based email client (not Thunderbird) to Outlook (though that was a few years back, well before Outlook 365 became available). Very well supported and responsive, very reasonably priced at the

RE: Why can't numpy array be restored to saved value?

2020-11-26 Thread pjfarley3
> -Original Message- > From: Christian Gollwitzer > Sent: Thursday, November 26, 2020 3:26 AM > To: python-list@python.org > Subject: Re: Why can't numpy array be restored to saved value? > > Am 25.11.20 um 07:47 schrieb pjfarl...@earthlink.net: > > Why isn't the final value of the numpy

RE: Why can't numpy array be restored to saved value?

2020-11-26 Thread pjfarley3
> -Original Message- > From: Greg Ewing > Sent: Thursday, November 26, 2020 12:01 AM > To: python-list@python.org > Subject: Re: Why can't numpy array be restored to saved value? > > On 25/11/20 7:47 pm, pjfarl...@earthlink.net wrote: > > Why isn't the final value of the numpy array

RE: Why can't numpy array be restored to saved value?

2020-11-25 Thread pjfarley3
Never mind, I found the numpy.copy function does what I need. Revised code below works. Sorry for wasting bandwidth. Peter --- nptest.py --- import numpy as np import sys if len(sys.argv) > 0: try: asz = int(sys.argv[1]) + 0 except: asz = 4 npary = np.full([asz, asz,

Why can't numpy array be restored to saved value?

2020-11-24 Thread pjfarley3
Why isn't the final value of the numpy array npary in the following code the same as the initial value before some but not all elements of the array were changed to a new value? I know I am missing something basic here. I thought I understood the concepts of immutable vs mutable values but

Can property getters and setters have additional arguments?

2020-10-31 Thread pjfarley3
I asked this question over on the python-forum-io group but haven't gotten much in the way of answers. I hope someone here can advise me. I am trying to implement getters and setters in a class using a numpy array as the base instance value, but I am not able to pass an array index argument to

RE: Can property getters and setters have additional arguments?

2020-10-31 Thread pjfarley3
Apologies if you receive two copies of this message, but I sent it almost 10 hours ago and still have not seen it come back to me or appear in the archives. I would appreciate any help or RTFM you can provide. Peter > -Original Message- > From: Peter Farley > Sent: Saturday, October 31,