Re: Friday finking: IDE 'macro expansions'

2023-03-16 Thread Grant Edwards
On 2023-03-16, Thomas Passin wrote: > In general, I don't like a lot of popups and code completions, so I > tend to avoid them. I don't even like automatic parens or brace > insertion. I _hate_ it when the "editor" decides to insert stuff I didn't type. There's an html editor I use

Re: Friday finking: IDE 'macro expansions'

2023-03-16 Thread 2QdxY4RzWzUUiLuE
On 2023-03-17 at 11:55:38 +1300, dn via Python-list wrote: > Do you make use of your IDE's expansionist tendencies, and if-so, which > ones? Expansionist tendencies. Nice phrase. :-) > NB this is where vi/emacs enthusiasts start chuckling (polite term for > 'insane cackling') ... Long time

Re: Friday finking: IDE 'macro expansions'

2023-03-16 Thread Thomas Passin
On 3/16/2023 6:55 PM, dn via Python-list wrote: It is a long, long, time since I've thrown one of these into the maelstrom of our musings. (have the nightmares receded?) Do you make use of your IDE's expansionist tendencies, and if-so, which ones? NB this is where vi/emacs enthusiasts

Re: Friday finking: IDE 'macro expansions'

2023-03-16 Thread Mats Wichmann
On 3/16/23 16:55, dn via Python-list wrote: It is a long, long, time since I've thrown one of these into the maelstrom of our musings. (have the nightmares receded?) Do you make use of your IDE's expansionist tendencies, and if-so, which ones? NB this is where vi/emacs enthusiasts start

Friday finking: IDE 'macro expansions'

2023-03-16 Thread dn via Python-list
It is a long, long, time since I've thrown one of these into the maelstrom of our musings. (have the nightmares receded?) Do you make use of your IDE's expansionist tendencies, and if-so, which ones? NB this is where vi/emacs enthusiasts start chuckling (polite term for 'insane

ANN: Python Meeting Düsseldorf - 22.03.2023

2023-03-16 Thread eGenix Team
/This announcement is in German since it targets a local user group//meeting in Düsseldorf, Germany/ Ankündigung Python Meeting Düsseldorf - März 2023

Re: Implementing a plug-in mechanism

2023-03-16 Thread Loris Bennett
Simon Ward writes: > On Thu, Mar 16, 2023 at 07:45:18AM +1300, dn via Python-list wrote: >> There is a PyPi library called pluggy (not used it). I've used >> informal approaches using an ABC as a framework/reminder (see >> @George's response). > > typing.Protocol is also useful here as the

[Python-announce] unittest_expander 0.4.0 released

2023-03-16 Thread Jan Kaliszewski
I am pleased to announce the release of unittest_expander 0.4.0. *unittest_expander* is a MIT-licensed Python library that provides flexible and easy-to-use tools to parameterize your unit tests, especially those based on `unittest.TestCase`. The library is compatible with Python 3.11, 3.10,

Re: Tkinter and cv2: "not responding" popup when imshow launched from tk app

2023-03-16 Thread aapost
On 3/15/23 07:37, John O'Hagan wrote: On Tue, 2023-03-14 at 16:22 -0400, aapost wrote: On 3/14/23 06:54, John O'Hagan wrote: [...] Read an alternative description of the waitKey behavior >For example, waitKey(0) will display the window infinitely until any keypress (it is suitable for

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-16 Thread Roel Schroeven
Op 14/03/2023 om 8:48 schreef Alexander Nestorov: I have the following code: ... for i in range(151): # 150 iterations    ... Nothing to do with your actual question and it's probably just a small oversight, but still I thought it was worth a mention: that comment does not

Re: Implementing a plug-in mechanism

2023-03-16 Thread Simon Ward
On Thu, Mar 16, 2023 at 07:45:18AM +1300, dn via Python-list wrote: There is a PyPi library called pluggy (not used it). I've used informal approaches using an ABC as a framework/reminder (see @George's response). typing.Protocol is also useful here as the plugin interface can be defined