Re: Clarification on Immutability please
On 1/21/20, Jon Ribbens via Python-list wrote: > > Whether we call the link between 'foo' and (1, 2) a pointer or a > reference is almost entirely irrelevant, the difference is essentially > meaningless. In programming terms, a "pointer" is always an address in memory, and, at least to me, the term is loaded with semantics from C, such as pointer types, pointer typecasting, and pointer arithmetic. Python has no direct analog to these concepts. References in Python are without type, and memory addresses have no direct role in the language. (CPython uses an object's memory address as its ID, but that's just an implementation detail.) -- https://mail.python.org/mailman/listinfo/python-list
EuroPython 2020: Pre-launch Website Ready
In the last couple of weeks we have put together a pre-launch site for EuroPython 2020, which has all the information around the event, as we currently know and can share with you. EuroPython 2020 Pre-launch Website * https://ep2020.europython.eu/ * The main website will go online around early in March and we plan to also open the CFP and ticket sales around that time. It will use the same URL, so you can keep this bookmarked. Some additional updates: - We have signed the venue agreement, so if you have waited with your flight and hotel bookings for the final confirmation of the conference dates, you can now go ahead. Looking at the hotel booking websites, it’s probably a good idea to book early. - We will now enter negotiations with the booth builder and finalize the sponsorship packages. As last year, we’ll again offer an early bird 10% discount for sponsors who sign up in the first few weeks after we’ve published the finalized packages on our blog. Help spread the word Please help us spread this message by sharing it on your social networks as widely as possible. Thank you ! Link to the blog post: https://blog.europython.eu/post/190400850572/europython-2020-pre-launch-website-ready Tweet: https://twitter.com/europython/status/1219937518738661376 Enjoy, -- EuroPython 2020 Team https://ep2020.europython.eu/ https://www.europython-society.org/ -- https://mail.python.org/mailman/listinfo/python-list
Re: Clarification on Immutability please
On 1/21/20 8:41 PM, Jon Ribbens via Python-list wrote: Whether we call the link between 'foo' and (1, 2) a pointer or a reference is almost entirely irrelevant, the difference is essentially meaningless. The issue is that in Python, objects and names are fairly distinct. Unlike a language like C, where our variables actually hold the values themselves (and one type of value is a pointer), and we can set one variable value to be a pointer to another variable, This isn't how Python works. In Python Names and Objects are distinct entities (although some objects have 'names' slots within them, like collections). In C we can do something like v = some_object; p = &v (Now p 'points to' v) *p = some_other_object and now v holds the value of some_other_object. In Python v = some_object p = v (Now p and v point to the same object) p.mutate() can change the value of the shared object, but there is no way to make v refer to some new object. The key distinction is that in Python, names are NOT objects, they only bind to objects, and thus names can't refer to some other name to let us rebind them remotely. -- Richard Damon -- https://mail.python.org/mailman/listinfo/python-list
Re: NNTPlib apps work like a charm
now that you posted it, readers may remember that there was the usenet feature in EMACS as well. Unlike ThunderBird, emacs/GNUs supports X-face, which is kinda nice. let’s see whether emacs will allow to post here. -- https://mail.python.org/mailman/listinfo/python-list
mouse position with basemap
Hi, I have a 3D netcdf file that a read an plot it. I would like to get the values o two points (latitude and longitude) to plot an arbitrary cross section of my 3D data between these two points. How can get these two points using mouse event. Thanks, Conrado -- https://mail.python.org/mailman/listinfo/python-list
Re: Terry Jones
On 1/22/2020 2:49 PM, Stefan Ram wrote: |Terence Graham Parry Jones (1 February 1942 – 21 January |2020) was a Welsh actor, writer, comedian, screenwriter, film |director and historian. He was a member of the Monty Python |comedy team. ... |After living for several years with a degenerative aphasia, |he gradually lost the ability to speak and died on 21 January 2020. Wikipedia For more https://arstechnica.com/gaming/2020/01/monty-pythons-terry-jones-joins-the-choir-invisible/ -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list
Re: Terry Jones
On 23/01/20 11:32 AM, Terry Reedy wrote: On 1/22/2020 2:49 PM, Stefan Ram wrote: |Terence Graham Parry Jones (1 February 1942 – 21 January |2020) was a Welsh actor, writer, comedian, screenwriter, film |director and historian. He was a member of the Monty Python |comedy team. ... |After living for several years with a degenerative aphasia, |he gradually lost the ability to speak and died on 21 January 2020. Wikipedia For more https://arstechnica.com/gaming/2020/01/monty-pythons-terry-jones-joins-the-choir-invisible/ If Python's Idle was named after Eric, were you named after Mr Jones? Sorry, I had to ask... I shall resume my familiar seat, outside the Principal's office! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list
Recommendation on best cross-platform encryption package
Is the cryptography package still considered the "best" cross-platform package for encrypting sensitive data being stored in files on disk. Use case: JSON data files containing potentially confidential/PII data using something along the lines of AES256 encryption. Goal is to encrypt data in memory before saving to disk and to read files into memory and decrypt from there using io.BytesIO streams. Thank you, Malcolm -- https://mail.python.org/mailman/listinfo/python-list
Now off-topic (Was: Re: NNTPlib apps work like a charm)
Hellow rn, rn writes: > now that you posted it, readers may remember that there was the usenet > feature in EMACS as > well. Unlike ThunderBird, emacs/GNUs supports X-face, which is kinda > nice. > > let’s see whether emacs will allow to post here. Gnus is the best usenet/email client in the Earth, i think. Thanks for feedback^^^ Sincerely, -- ^고맙습니다 _地平天成_ 감사합니다_^))// -- https://mail.python.org/mailman/listinfo/python-list
Fwd: Pip froze up
-- Forwarded message - From: Souvik Dutta Date: Thu, Jan 23, 2020, 8:16 AM Subject: Re: Pip froze up To: On Wed, Jan 22, 2020, 6:21 PM Souvik Dutta wrote: > Hello, > I am currently running python 3.7.6 because kivy does not support 3.8 > which was previously installed. But now my pip is actually frozen up and > any install or uninstall command that I give is useless. It shows the same > error message. Import Error - cannot import name 'SourceDistribution' from > python Can you help me fast please cause I have to submit a > project. And a bonus problem is that the edit with idle is not working. > That is when I right click with my mouse and hit edit with idle nothing > happens. The idle does not open. So please help. Thank you. > -- https://mail.python.org/mailman/listinfo/python-list
