Re: Python question

2020-03-10 Thread Michael Torrie
On 3/10/20 6:49 PM, Souvik Dutta wrote: > What about moving on to a social media app completely made in pythoj for > python? No thanks. I don't want to be on yet another web forum. I don't need "social media" or a "social media app." Email works exceedingly well for this sort of thing, despite G

Re: Pysftp Issue File Upload is not working - put command

2020-03-10 Thread NAND KISHORE
> > > Hi >We have requirement where we need to get file from client path and then > upload the same to vendor directory path. I am not able to upload the file > to vendor directory path , however when I tried to use the WINSCP it worked > fine. So I thought of checking with Gurus what is wrong

Issue with PYSFTP - Working in WINSCP

2020-03-10 Thread NAND KISHORE
Hi We have requirement where we need to get file from client path and then upload the same to vendor directory path. I am not able to upload the file to vendor directory path , however when I tried to use the WINSCP it worked fine. So I thought of checking with Gurus what is wrong I am doing in

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Marco Sulla via Python-list
On Tue, 10 Mar 2020 at 13:41, Chris Angelico wrote: > It makes good sense for > division by 0 and division by 0.0 to both result in the same > exception. But Python 3 returns a float, for example, in division between integers. 4 / 2 == 2.0. So some_integer / +0 should return +Infinity. This is wh

Re: Installation of python

2020-03-10 Thread Marco Sulla via Python-list
*Ahem* I already posted the solution to your problem. I quote myself: I suppose you also downloaded the required sources from here: https://data.mendeley.com/datasets/s2x4d542dc/1 It seems the problem is that the above sources are generated by an old version of Cython: https://github.com/mcfletc

Re: Python question

2020-03-10 Thread Souvik Dutta
What about moving on to a social media app completely made in pythoj for python? On Wed, 11 Mar, 2020, 12:36 am DL Neil via Python-list, < python-list@python.org> wrote: > On 11/03/20 7:34 AM, Michael Torrie wrote: > > On 3/10/20 6:40 AM, Chris Angelico wrote: > >> On Tue, Mar 10, 2020 at 11:22 P

Re: Python question

2020-03-10 Thread DL Neil via Python-list
On 11/03/20 7:34 AM, Michael Torrie wrote: On 3/10/20 6:40 AM, Chris Angelico wrote: On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list ... I'm also reading this in Gmail, and I didn't get any such warning. I'm going to call that a spurious warning, a false positive. Gmail often r

Re: Python question

2020-03-10 Thread Michael Torrie
On 3/10/20 6:40 AM, Chris Angelico wrote: > On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list >> I would reply, but I was already too much off topic. I want only to >> write what Gmail reports to me about the last message of the person >> that started this discussion: >> >>> This message

Re: How does the super type present itself and do lookups?

2020-03-10 Thread Adam Preble
On Tuesday, March 10, 2020 at 9:28:11 AM UTC-5, Peter Otten wrote: > self.foo looks up the attribute in the instance, falls back to the class and > then works its way up to the parent class, whereas > > super().foo bypasses both instance and class, and starts its lookup in the > parent class. I

Re: Python question

2020-03-10 Thread Chris Angelico
On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list wrote: > > On Fri, 6 Mar 2020 at 17:30, Souvik Dutta wrote: > > And you cannot form opinions for > > other people's by saying them not to support a person. That is injustice > > and rude. > > I would reply, but I was already too much of

Re: How does the super type present itself and do lookups?

2020-03-10 Thread Barry Scott
> On 4 Mar 2020, at 17:12, Adam Preble wrote: > > Months ago, I asked a bunch of stuff about super() and managed to fake it > well enough to move on to other things for awhile. The day of reckoning came > this week and I was forced to implement it better for my personal Python > project. I

Re: Lock acquisition by the same thread - deadlock protection

2020-03-10 Thread Barry Scott
> On 9 Mar 2020, at 22:53, Yonatan Goldschmidt > wrote: > > I recently debugged a program hang, eventually finding out it's a deadlock of > a single thread, > resulting from my usage of 2 libraries. One of them - call it library A - is > reentrant & runs code in > GC finalizers, while the o

Re: Installation of python

2020-03-10 Thread Dan Stromberg
On Mon, Mar 9, 2020 at 7:20 AM Tim Ko wrote: > Hello, > > I am trying to install a custom Python package but ran into an error. The > error presumably associated with cython. I tried a different compiler since > Intel compiler often crashes when using cython, but couldn't get it > working. > Does

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Alan Bawden
Chris Angelico writes: > People keep saying this - that nan exists to avoid exceptions - but > that doesn't take signalling nans into account. Even in C, they are > expected to raise an exception or equivalent. Actually, its not that far from the truth to say that NaNs "exist to avoid exceptions"

[RELEASE] Python 3.7.7 is now available

2020-03-10 Thread Ned Deily
https://discuss.python.org/t/python-3-7-7-is-now-available/3682 https://www.python.org/downloads/release/python-377/ -- Ned Deily n...@python.org -- [] -- https://mail.python.org/mailman/listinfo/python-list

Re: How does the super type present itself and do lookups?

2020-03-10 Thread Peter Otten
Adam Preble wrote: > If you don't know, you can trap what super() returns some time and poke it > with a stick. If you print it you'll be able to tell it's definitely > unique: , > > > If you try to invoke methods on it, it'll invoke the superclass' methods. > That's what is supposed to happen an

Re: Is there something similar to guidechimp in python?

2020-03-10 Thread labs64dummystudent
суббота, 7 марта 2020 г., 4:11:53 UTC+1 пользователь Souvik Dutta написал: > This is guidechimp -https://github.com/Labs64/GuideChimp > Is there anything similar to this in python? GuideChimp is a JavaScript library which can be integrated by adding js/css ressources to any web application. Pleas

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Chris Angelico
On Tue, Mar 10, 2020 at 11:16 PM Marco Sulla via Python-list wrote: > Raising a NanError seems to me the only way to eliminate the NaN > problem. Indeed NaN was created for languages like C, that does not > support exceptions. People keep saying this - that nan exists to avoid exceptions - but th

Re: Error while installing a python code

2020-03-10 Thread Marco Sulla via Python-list
Little errata: you have only to install or update Cython, remove the .c files as I wrote before and run again python setup.py build_ext -b PoissonSolver/ No intermediate steps are required. The generated ELF files are three. You have also to rename them with the names in the README file. On Mon

Re: Python question

2020-03-10 Thread Marco Sulla via Python-list
On Fri, 6 Mar 2020 at 17:30, Souvik Dutta wrote: > And you cannot form opinions for > other people's by saying them not to support a person. That is injustice > and rude. I would reply, but I was already too much off topic. I want only to write what Gmail reports to me about the last message of t

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Marco Sulla via Python-list
On Mon, 9 Mar 2020 at 16:09, Paul Moore wrote: > We've had some questions as to whether this survey is legitimate. I > can confirm it is (speaking as a pip core developer). Thank you a lot! -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Re: New explicit methods to trim strings

2020-03-10 Thread Marco Sulla via Python-list
I agree with Steven D'Aprano. I never had problems with strip(), but if people find it confusing, Python can simply leave strip() and all the other function as they are and add another functions, like crop() or snip() or shear() prune() or mow(). Personally I prefer crop() or prune(). This way the

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Marco Sulla via Python-list
I think that implementing TotallyOrderable and PartiallyOrderable is a good idea. But is it useful? I mean, I don't know how much people needs really to order sets. Maybe some mathematician. But they can simply use Sage: http://doc.sagemath.org/html/en/reference/categories/sage/categories/posets.ht

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Bernard Tyers - Sane UX Design via Python-list
Hi Marco, Certainly. If you trust the validity of the Python Software Foundation's twitter feed, you can see they retweeted my call: https://twitter.com/ThePSF Alternatively if you reply to the list and ask Paul, Pradyun, Tzu-Ping or contact Sumana, the PM they'll be able to confirm it. Have I

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Tim Peters via Python-list
[Marco Sulla ] > Excuse me, Tim Peters, what do you think about my (probably heretical) > proposal of simply raising an exception instead of return a NaN, like > Python already do for division by zero? Sorry, I'm missing context. I don't see any other message(s) from you in this thread, so don't

Re: Error while installing a python code

2020-03-10 Thread Marco Sulla via Python-list
I suppose you tried to use this setup.py: https://github.com/breathe/coffee_conda_package/blob/master/0001-Add-alternative-setup.py-script.patch It's not well written IMHO... anyway this is not the problem. I suppose you also downloaded the required sources from here: https://data.mendeley.com/da

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Marco Sulla via Python-list
There's someone of the pip team that can confirm this? On Sat, 7 Mar 2020 at 02:49, Bernard Tyers - Sane UX Design wrote: > > Hi there, > > My name is Bernard Tyers. I'm a UX designer and have recently started > working on the PSF project to improve the usability of pip, funded by > MOSS/CZI. > >

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Marco Sulla via Python-list
Subscribed. I have a little suggestion IMHO "What is you favourite pip command or functionality?" is not very useful... of course the most useful command is "install" :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: The Real-Time Use of Python in Data Science World!

2020-03-10 Thread darcosion--- via Python-list
Why they are ads on this mailing list ? ‐‐‐ Original Message ‐‐‐ Le samedi 7 mars 2020 06:39, a écrit : > Besant Technologies providing Python Training in Chennai with expert guidance > and fully hands-on classes. Python is a high-level programming language > sometimes it also denoted