Re: EuroPython Society: General Assembly 2021

2021-09-27 Thread Abdur-Rahmaan Janhangeer
Greetings Damien, The mailing list is public and i would have a hard time dealing with 1000s of people replying: `stop mailing me`, maybe a private message to mal would have sufficed. Kind Regards, Abdur-Rahmaan Janhangeer about | blog

Re: c extension finding the module in object initialization

2021-09-27 Thread Marc-Andre Lemburg
Hi Robin, seeing that no one replied to your question, I'd suggest to ask this on the Python C-API ML: https://mail.python.org/mailman3/lists/capi-sig.python.org/ That's where the experts are, including the ones who implemented the mutli-phase logic. Cheers, -- Marc-Andre Lemburg eGenix.com P

Re: c extension finding the module in object initialization

2021-09-27 Thread Robin Becker
Hi Marc, Thanks for the suggestion, On 27/09/2021 09:38, Marc-Andre Lemburg wrote: Hi Robin, seeing that no one replied to your question, I'd suggest to ask this on the Python C-API ML: https://mail.python.org/mailman3/lists/capi-sig.python.org/ That's where the experts are, including the o

Package conflicts trying to install jpegdupes package

2021-09-27 Thread Skip Montanaro
I'd like to use the jpegdupes package but can't seem to get past compilation issued related to jpegtrans-cffi. Attempts to install any available versions on my XUbuntu system crap out with this C compiler error message: In file included from jpegtran/__py

Re: Posts from gmane no longer allowed?

2021-09-27 Thread Grant Edwards
On 2021-09-27, Ned Deily wrote: > I have been in touch with the administrator of gmane. It appears that > posting from python-list to gmane has been deliberately disabled, at > least temporarily, with cause. I'll see if we can resolve the problem. Thanks. Though I've figured out a solution tha

EuroPython 2021: Edited videos of the first day available

2021-09-27 Thread Marc-Andre Lemburg
We’re happy to release the first 42 cut videos of EuroPython 2021 covering the first day sessions of the conference. You can watch them on our YouTube channel: * EuroPython 2021 Playlist * https://www.youtube.com/playlist?list=PL8uoeex94UhHgMD9GOCbEHWku7pEPx9fW Over the next

Python added to PATH, cannot be directly accessed, cannot install pip

2021-09-27 Thread Will
Hello team at python.org, I've asked this question on a forum and tried to figure it out myself, but I'm at a dead end. I don't know if you guys answer questions like this but I have no where else to turn to. I am using a Lenovo Laptop using Windows. I'm trying to install ge

Re: Posts from gmane no longer allowed?

2021-09-27 Thread 황병희
Grant Edwards writes: > I've been reading (and posting to) this list for many years by > pointing an NNTP client > at news://gmane.comp.python.general. Sometime in the past few days posts > started > being refused: > > You have tried posting to gmane.comp.python.general, which is a > unidire

Re: count consecutive elements

2021-09-27 Thread Bischoop
I'd wish to have this challenge posted on my blog but because I suck in IT english, could you guys help me with decribing the task of what the code supposed to do? -- Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: XML Considered Harmful

2021-09-27 Thread Michael F. Stemper
On 25/09/2021 16.39, Avi Gross wrote: Michael, I don't care what you choose. Whatever works is fine for an internal use. Maybe I should have taken the provoking article with a few more grains of salt. At this point, I'm not seeing any issues that are applicable to my use case. But is the dat

Re: XML Considered Harmful

2021-09-27 Thread Michael F. Stemper
On 25/09/2021 16.48, 2qdxy4rzwzuui...@potatochowder.com wrote: On 2021-09-25 at 15:20:19 -0500, "Michael F. Stemper" wrote: ... For instance, if I modeled a fuel like this: ton 21.96 18.2 and a generating unit like this:

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Chris Angelico
On Mon, Sep 27, 2021 at 10:49 PM Skip Montanaro wrote: > > I'd like to use the jpegdupes package > but > can't seem to get past compilation issued related to jpegtrans-cffi. > Attempts to install any available versions on my XUbuntu system crap out > with thi

Re: XML Considered Harmful

2021-09-27 Thread Chris Angelico
On Tue, Sep 28, 2021 at 2:30 AM Michael F. Stemper wrote: > As far as power is concerned, this is utility-level generating fleets, > so it's always going to be MW -- even in the US, where we still use > BTUs for heat. > It's easy for *you* to know, and therefore assume, that it's always MW. But s

Re: Python added to PATH, cannot be directly accessed, cannot install pip

2021-09-27 Thread Eryk Sun
On 9/27/21, Will wrote: > >I am using a Lenovo Laptop using Windows. I'm trying to install >get-pip.py The installer includes pip by default and has an option to update PATH for you, though the latter isn't enabled by default. Latest 64-bit release: https://www.python.org/ftp/python/3.9.

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Skip Montanaro
> > Those are all warnings. Are there any errors that follow them? > Maybe I just missed the actual errors, but the compiler exit status was 1, so there must have been. I'll give it another try. The package doesn't seem to have had a release since 2018, but the > GitHub repository has had change

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Chris Angelico
On Tue, Sep 28, 2021 at 3:11 AM Skip Montanaro wrote: >> >> Those are all warnings. Are there any errors that follow them? > > > Maybe I just missed the actual errors, but the compiler exit status was 1, so > there must have been. I'll give it another try. Yeah, one of the annoying things of bui

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Dieter Maurer
Skip Montanaro wrote at 2021-9-27 07:48 -0500: >I'd like to use the jpegdupes package but >can't seem to get past compilation issued related to jpegtrans-cffi. >Attempts to install any available versions on my XUbuntu system crap out >with this C compiler error

Re: Posts from gmane no longer allowed?

2021-09-27 Thread Grant Edwards
On 2021-09-27, 황병희 wrote: > Grant Edwards writes: > >> I've been reading (and posting to) this list for many years by >> pointing an NNTP client >> at news://gmane.comp.python.general. Sometime in the past few days posts >> started >> being refused: >> >> You have tried posting to gmane.comp

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread 2QdxY4RzWzUUiLuE
On 2021-09-28 at 03:23:53 +1000, Chris Angelico wrote: > On Tue, Sep 28, 2021 at 3:11 AM Skip Montanaro > wrote: > >> > >> Those are all warnings. Are there any errors that follow them? > > > > > > Maybe I just missed the actual errors, but the compiler exit status was 1, > > so there must hav

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Chris Angelico
On Tue, Sep 28, 2021 at 4:04 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2021-09-28 at 03:23:53 +1000, > Chris Angelico wrote: > > > On Tue, Sep 28, 2021 at 3:11 AM Skip Montanaro > > wrote: > > >> > > >> Those are all warnings. Are there any errors that follow them? > > > > > > > > >

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread 2QdxY4RzWzUUiLuE
On 2021-09-28 at 04:16:58 +1000, Chris Angelico wrote: > On Tue, Sep 28, 2021 at 4:04 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > > > On 2021-09-28 at 03:23:53 +1000, > > Chris Angelico wrote: > > > > > On Tue, Sep 28, 2021 at 3:11 AM Skip Montanaro > > > wrote: > > > >> > > > >> Those

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Chris Angelico
On Tue, Sep 28, 2021 at 4:46 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > I agree that the standard shouldn't regulate warnings. I'm also saying > that sometimes, it's a pain that it doesn't, and that not every warning > is the package maintainer's fault. :-) Agreed. For the most part, a pro

Re: Python added to PATH, cannot be directly accessed, cannot install pip

2021-09-27 Thread Mats Wichmann
On 9/27/21 08:00, Will wrote: Hello team at python.org, I've asked this question on a forum and tried to figure it out myself, but I'm at a dead end. I don't know if you guys answer questions like this but I have no where else to turn to. I am using a Lenovo Laptop using

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Skip Montanaro
> > For the most part, a proper colorizing compiler can make the > errors stand out among the spam of warnings, but it's hard when people > copy and paste just the text. > In my defense, the entire traceback was red. :-) It's quite possible that GCC colorized its error/warning messages, but colori

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Chris Angelico
On Tue, Sep 28, 2021 at 8:09 AM Skip Montanaro wrote: >> >> For the most part, a proper colorizing compiler can make the >> errors stand out among the spam of warnings, but it's hard when people >> copy and paste just the text. > > > In my defense, the entire traceback was red. :-) It's quite poss

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Skip Montanaro
Woo hoo! It's installed. The ultimate error was a missing turbojpeg.h file. Thank goodness for the apt-file command. I was able to track that down to the libturbojpeg0-dev package, install that, and after a bit more fussing around now have jpegdupes installed. Thanks for the help, Skip -- https:

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread Chris Angelico
On Tue, Sep 28, 2021 at 10:40 AM Skip Montanaro wrote: > > Woo hoo! It's installed. The ultimate error was a missing turbojpeg.h > file. Thank goodness for the apt-file command. I was able to track > that down to the libturbojpeg0-dev package, install that, and after a > bit more fussing around no

RE: XML Considered Harmful

2021-09-27 Thread Avi Gross via Python-list
Michael, Given your further explanation, indeed reading varying numbers of points in using a CSV is not valid, albeit someone might just make N columns (maybe a few more than 7) to handle a hopefully worst case. Definitely it makes more sense to read in a list or other data structure. You keep ta

Re: Package conflicts trying to install jpegdupes package

2021-09-27 Thread 2QdxY4RzWzUUiLuE
On 2021-09-28 at 10:44:02 +1000, Chris Angelico wrote: > On Tue, Sep 28, 2021 at 10:40 AM Skip Montanaro > wrote: > > > > Woo hoo! It's installed. The ultimate error was a missing turbojpeg.h > > file. Thank goodness for the apt-file command. I was able to track > > that down to the libturbojpeg

Re: Python added to PATH, cannot be directly accessed, cannot install pip

2021-09-27 Thread Eryk Sun
On 9/27/21, Mats Wichmann wrote: > > pip, meanwhile, is not in the same directory as the python executable, > so even "adding python to PATH" doesn't solve the problem of running > pip. Invoke it like this instead: The installer's option to add Python to PATH adds both the installation directory