Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-22 Thread Michael Torrie via Python-list
On 10/22/25 7:14 PM, Chris Angelico via Python-list wrote: > And that's why it's so frustrating when someone bases their entire > argument on an AI's nonsense. If the OP had simply posted it as a > request, with no hallucinated claims, it would have been a > straight-forward matter to explain the U

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-22 Thread Chris Angelico via Python-list
On Thu, 23 Oct 2025 at 12:01, Michael Torrie via Python-list wrote: > > On 10/19/25 12:38 PM, Chris Angelico via Python-list wrote: > > The entire premise of your post was flat-out wrong. Your data was > > nothing but hallucinations, and there is nothing to discuss. I'm not > > even going to bothe

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-22 Thread Michael Torrie via Python-list
On 10/19/25 12:38 PM, Chris Angelico via Python-list wrote: > The entire premise of your post was flat-out wrong. Your data was > nothing but hallucinations, and there is nothing to discuss. I'm not > even going to bother reading further, because every post you've > written smells like AI slop. In

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-19 Thread Chris Angelico via Python-list
On Mon, 20 Oct 2025 at 02:01, wrote: > > Thanks again for your detailed reply — I really appreciate it. I have to > admit, I wasn’t 100% sure about my data, which is why I submitted it for > discussion before opening a bug report to the Python developers. > Don't. Don't open a discussion based

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-19 Thread python
Thanks again for your detailed reply — I really appreciate it. I have to admit, I wasn’t 100% sure about my data, which is why I submitted it for discussion before opening a bug report to the Python developers. I alredy checked Unicode tables, I saw that the capital ß (U+1E9E) was already encod

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-18 Thread Chris Angelico via Python-list
On Sun, 19 Oct 2025 at 11:03, wrote: > > Thanks Chris for the response! > > As The Unicode Standard does define an uppercase form for the German sharp S > (U+00DF → U+1E9E), and this has been part of Unicode since version 5.1 > (2008), with the German orthography officially adopting it in 2017.

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-18 Thread python
Thanks Chris for the response! As The Unicode Standard does define an uppercase form for the German sharp S (U+00DF → U+1E9E), and this has been part of Unicode since version 5.1 (2008), with the German orthography officially adopting it in 2017. The relevant case mappings are clearly specified

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-18 Thread Mashaal Al Hammdi via Python-list
Hello friends, Can I know what’s going on?! Please في سبت، 18 أكتوبر، 2025 في 7:11 ص، كتب Chris Angelico via Python-list < [email protected]>: > On Sat, 18 Oct 2025 at 13:44, wrote: > > > > Dear Python Developers, > > > > I would like to bring attention to an inconsistency and legacy behavi

Re: Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-17 Thread Chris Angelico via Python-list
On Sat, 18 Oct 2025 at 13:44, wrote: > > Dear Python Developers, > > I would like to bring attention to an inconsistency and legacy behavior > regarding the handling of the German sharp S characters in Python’s string > case conversion methods. > This isn't Python's decision. The definition of

Proposal to update Unicode handling for German sharp S (ß / ẞ) in Python’s case conversion methods

2025-10-17 Thread python
. This update improves text processing accuracy and consistency in German-language applications. Given Python’s global reach and extensive use in linguistically diverse contexts, I propose that Python’s standard string methods be updated to: Convert lowercase “ß” (U+00DF) to uppercase “ẞ” (U+1E9E

Re: Update from 3.9 to 3.10.8 and uninstall 3.9

2022-10-23 Thread Mike Dewhirst
On 23/10/2022 9:13 pm, B N wrote: I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How do I replace 3.9 with the 3.10.8 I downloaded. Kind regards JohnGee It depends on the operating system. Typically, you can just install the new version and adjust your

Update from 3.9 to 3.10.8 and uninstall 3.9

2022-10-23 Thread B N
I am new to python and wish to update 3.9 to3.10.8 which I have downloaded. How do I replace 3.9 with the 3.10.8 I downloaded. Kind regards JohnGee -- https://mail.python.org/mailman/listinfo/python-list

looking for a freelancer to update a python NNTP script

2022-03-05 Thread RS Wood
I'm looking for a mid-level python programmer to help me with a python script that accesses Usenet. I've got a non-working 2.7 script that needs a little more attention than just running 2to3 on it. Estimated level of effort: about 2 hours or less. If interested please send me an email at moc.l

Re: Update a specific element in all a list of N lists

2021-12-19 Thread Friedrich Rentsch
"df_list". So I get 201 lists with 25 columns The main code is starting for here: for elem in df_list: {do something.} {Here I'm trying to calculate the outliers} Out.append(outliers) Now my problem is that I need to locate those outliers in the df_list and then update anot

Update a specific element in all a list of N lists

2021-12-16 Thread hanan lamaazi
25 columns The main code is starting for here: for elem in df_list: {do something.} {Here I'm trying to calculate the outliers} Out.append(outliers) Now my problem is that I need to locate those outliers in the df_list and then update another column with is the "Reputation"

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-16 Thread dn via Python-list
The issues illustrated likely have less to do with Python than with Selenium (or even Firefox - depending how far back we need to go). That and our fate with the many web-search engines prioritising 'authoritative sources' in their results. Such definition includes 'clicks' over time. It fails to

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-16 Thread Akkana Peck
jkk writes: > Selenium 3.141+ > python 3.8+ > ubuntu 20.04 or windows 10 > > I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several > DepreciationWarnings. > > Can someone point me to where I can find the documentation that explains how > to to remedy these warnings. What are

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-14 Thread jkk
Sorry, this was simply a typo. Disregard the first "browser = " Again, I'm hoping someone knows where to find "best coding practices" for newer versions of python 3.8+ > On 10/13/2021 6:20 PM Tony Oliver wrote: > > > On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote: > > Selenium 3

Re: Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread Tony Oliver
On Wednesday, 13 October 2021 at 16:16:46 UTC+1, jkk wrote: > Selenium 3.141+ > python 3.8+ > ubuntu 20.04 or windows 10 > > I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several > DepreciationWarnings. > > Can someone point me to where I can find the documentation that

Selenium py3.8+ DepreciationWarnings - where to find doc to update code?

2021-10-13 Thread jkk
Selenium 3.141+ python 3.8+ ubuntu 20.04 or windows 10 I'm trying to upgrade code from py3.6+ to py3.8+ and I'm getting several DepreciationWarnings. Can someone point me to where I can find the documentation that explains how to to remedy these warnings. What are the new preferred coding pract

Re: Flush / update GUIs in PyQt5 during debugging in PyCharm

2021-09-26 Thread Mohsen Owzar
n not see this > > modification of the color until the whole method or function is completed. > > I believe that I have seen somewhere during my searches and googling that > > one can flush or update the GUI after each step/action is done. > > But until now I couldn

Re: Flush / update GUIs in PyQt5 during debugging in PyCharm

2021-09-24 Thread DFS
d googling that one can flush or update the GUI after each step/action is done. But until now I couldn't manage it and I don't know where I have to invoke flush/update command in PyCharm. If anyone has done this before and knows about it, I would very appreciate seeing his solut

Flush / update GUIs in PyQt5 during debugging in PyCharm

2021-09-23 Thread Mohsen Owzar
hat during debugging, when I change some attributes of a button or label, let say its background-color, I can not see this modification of the color until the whole method or function is completed. I believe that I have seen somewhere during my searches and googling that one can flush or update the

Re: SQLALchemy: update with in clause from kwargs

2021-08-04 Thread Larry Martell
On Tue, Aug 3, 2021 at 7:26 PM dn via Python-list wrote: > > On 04/08/2021 13.08, Larry Martell wrote: > > I am trying to write a function that takes kwargs as a param and > > generates an update statement where the rows to be updated are > > specified in an in clause. >

Re: SQLALchemy: update with in clause from kwargs

2021-08-03 Thread dn via Python-list
On 04/08/2021 13.08, Larry Martell wrote: > I am trying to write a function that takes kwargs as a param and > generates an update statement where the rows to be updated are > specified in an in clause. > > Something like this: > > def update_by_in(self, **kwargs): &

Re: SQLALchemy: update with in clause from kwargs

2021-08-03 Thread MRAB
On 2021-08-04 02:08, Larry Martell wrote: I am trying to write a function that takes kwargs as a param and generates an update statement where the rows to be updated are specified in an in clause. Something like this: def update_by_in(self, **kwargs): filter_group

SQLALchemy: update with in clause from kwargs

2021-08-03 Thread Larry Martell
I am trying to write a function that takes kwargs as a param and generates an update statement where the rows to be updated are specified in an in clause. Something like this: def update_by_in(self, **kwargs): filter_group = [] for col in kwargs['query_p

Re: NumPy: build script not finding correct python version [UPDATE]

2021-01-03 Thread Rich Shepard
On Sun, 3 Jan 2021, Rich Shepard wrote: I'm trying to rebuild numpy-1.18.2 using the newly installed Python-3.9.1. The script fails when running setup.py: Traceback (most recent call last): File "setup.py", line 32, in raise RuntimeError("Python version >= 3.5 required.") RuntimeError: Pyth

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Chris Green
Matt Wheeler wrote: > On 29 Dec 2020, 14:48 +, Chris Green , wrote: > > I seem to have quite a lot of old python packages installed over the > > years using pip and would like, if I can. to clear some of them out. > > > > > > Is there any way to tell if a python package was installed by me > >

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Matt Wheeler
On 29 Dec 2020, 14:48 +, Chris Green , wrote: > I seem to have quite a lot of old python packages installed over the > years using pip and would like, if I can. to clear some of them out. > > > Is there any way to tell if a python package was installed by me > directly using pip or was installe

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Chris Green
Mats Wichmann wrote: > On 12/29/20 7:48 AM, Chris Green wrote: > > > > If there are any tools/utilities one can install to check these things > > out I'd love to know about them. > > There are some tools (on pypi naturally) for fiddling with installed > packages, but for starters try these two:

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Mats Wichmann
On 12/29/20 7:48 AM, Chris Green wrote: I seem to have quite a lot of old python packages installed over the years using pip and would like, if I can. to clear some of them out. Is there any way to tell if a python package was installed by me directly using pip or was installed from the [x]ubun

Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Chris Green
I seem to have quite a lot of old python packages installed over the years using pip and would like, if I can. to clear some of them out. Is there any way to tell if a python package was installed by me directly using pip or was installed from the [x]ubuntu repositories? 'pip list' just tells me

Cannot update parso

2020-11-21 Thread Cecil Westerhof via Python-list
I cannot update parso because of the rule from jedi: <0.8.0,>=0.7.0 This kind of things happens more often, but normally in less of a week the module that prevents another to be installed is updated and the restriction is lifted. But I think it is about half a year that this restrict

Re: pip update fails

2020-09-28 Thread Eryk Sun
On 9/28/20, Dennis Lee Bieber wrote: > On Sun, 27 Sep 2020 05:33:14 +0300, "Hylton" > declaimed the following: > >> "C:\Users\user\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\ >> distlib\scripts.py", line 386, in _get_launcher > > That path seems to imply that you have a Pytho

pip update fails

2020-09-27 Thread Hylton
Hello, � When I tried to install a package using pip, it informed me that there is a new version available. � Per the recommendation, I tried to update pip, but the update failed. � The following is the last few lines of the failure messages

Re: PyValentina 0.2.0 library documentation update on PyPI

2020-04-10 Thread Souvik Dutta
Might be your wish!!! If that is not the fault of the devs then I think issuing in GitHub wont help. Souvik flutter dev On Fri, Apr 10, 2020, 5:10 PM Sanjay Gupta wrote: > Hi Everyone, > I recently started working on Data Visualization. In one of my > assignments, I want to use PyValentina 0.2.

PyValentina 0.2.0 library documentation update on PyPI

2020-04-10 Thread Sanjay Gupta
Hi Everyone, I recently started working on Data Visualization. In one of my assignments, I want to use PyValentina 0.2.0 library. When I visited the https://pypi.org/project/PyValentina/ page and click on PyValentina Home Page link it give me a 404 error. After spending a little more time I come

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-07 Thread Peter J. Holzer
On 2019-12-05 19:30:31 +, Rhodri James wrote: > On 05/12/2019 18:49, RobH wrote: > > TabError: inconsistent use of tabs and spaces in indentation > > The problem will be that you have a mix of tabs and spaces in your > indentation. This causes problems because some people don't think that the

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Terry Reedy
On 12/5/2019 3:55 PM, MRAB wrote: Ok thanks for the explanation there, and I have placed the cursor at the beginning of the first indented line. Moving down 1 line at a time , each line is at the same position upto line 157 in the authors code . Then it is closer in to the edge upto line 190, wh

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread MRAB
On 2019-12-05 20:39, Joel Goldstick wrote: On Thu, Dec 5, 2019 at 3:31 PM RobH wrote: On 05/12/2019 19:40, Rhodri James wrote: > On 05/12/2019 19:30, Rhodri James wrote: >> On 05/12/2019 18:49, RobH wrote: >>> Update: >>> I did python3 Internet.py >>> and

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Joel Goldstick
On Thu, Dec 5, 2019 at 3:31 PM RobH wrote: > > On 05/12/2019 19:40, Rhodri James wrote: > > On 05/12/2019 19:30, Rhodri James wrote: > >> On 05/12/2019 18:49, RobH wrote: > >>> Update: > >>> I did python3 Internet.py > >>> and now on

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread RobH
On 05/12/2019 19:40, Rhodri James wrote: On 05/12/2019 19:30, Rhodri James wrote: On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py    File "Internet.py", line 24 font = ImageFon

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Rhodri James
On 05/12/2019 19:30, Rhodri James wrote: On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py    File "Internet.py", line 24 font = ImageFont.truetype( 'Minec

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread Rhodri James
On 05/12/2019 18:49, RobH wrote: Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~/Downloads $ python3 Internet.py   File "Internet.py", line 24     font = ImageFont.truetype( 'Minecraftia.ttf', 35)   

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread MRAB
y. I was looking at the wrong file previously, and got mixed up, doh! I have installed the Adafruit_Python_SSD1306 library now. (There is no mention that I can see about installing other libraries etc to get the project to work, by the author) Update: I did python3 Internet.py and now only

Re: ImportError: No module named Adafruit_SSD1306 Update

2019-12-05 Thread RobH
file previously, and got mixed up, doh! I have installed the Adafruit_Python_SSD1306 library now. (There is no mention that I can see about installing other libraries etc to get the project to work, by the author) Update: I did python3 Internet.py and now only get this error: pi@raspberrypi:~

ANN: A new version (0.4.4) of python-gnupg has been released. It contains a security-related change - please update to this version

2019-01-24 Thread Vinay Sajip via Python-list
A new version of the Python module which wraps GnuPG has been released. What Changed?=This is an enhancement and security-fix release, and all users are stronglyencouraged to upgrade. Brief summary: * Fixed #108: Changed how any return value from the on_data callable is  processed. In

Looking for someone proficient in Python to update a website.

2018-08-31 Thread Stacy Brewer
Hello! I’m not sure if this is the right forum, but I am looking for someone proficient in Python software to update a website. I will pay well, and work in the Kansas City area. If this is not the correct way to find someone who can help, do you have any contacts in the Kansas City area who

ANN: A new version (0.4.3) of python-gnupg has been released. It contains a security-related change - please update to this version

2018-06-13 Thread Vinay Sajip via Python-list
A new version of the Python module which wraps GnuPG has been released. What Changed?=This is a security-fix release, and all users are strongly encouraged to upgrade.This fix mitigates against CVE-2018-12020. See the discoverer's blog post [6] formore information. Brief summary: * A

EuroPython 2018: Ticket Sales Update

2018-05-09 Thread M.-A. Lemburg
Some community members have been wondering why tickets are not available yet. We’d like to update you on the current status. EuroPython is run by the EuroPython Society located in Sweden. However, the conference being held in the UK, we have to charge UK VAT for the tickets we sell and submit the

Re: After update to pip 10 I get: Cache entry deserialization failed, entry ignored

2018-04-26 Thread Cecil Westerhof
[email protected] writes: > On Wednesday, April 18, 2018 at 1:59:14 AM UTC-5, Cecil Westerhof wrote: >> After I updated pip2/3 to 10 from 9 I sometimes get: >> Cache entry deserialization failed, entry ignored >> >> For example when I execute: >> pip3 list --outdated >> >> But not always

Re: After update to pip 10 I get: Cache entry deserialization failed, entry ignored

2018-04-26 Thread tartley
On Wednesday, April 18, 2018 at 1:59:14 AM UTC-5, Cecil Westerhof wrote: > After I updated pip2/3 to 10 from 9 I sometimes get: > Cache entry deserialization failed, entry ignored > > For example when I execute: > pip3 list --outdated > > But not always. > > What could be happening here?

After update to pip 10 I get: Cache entry deserialization failed, entry ignored

2018-04-18 Thread Cecil Westerhof
After I updated pip2/3 to 10 from 9 I sometimes get: Cache entry deserialization failed, entry ignored For example when I execute: pip3 list --outdated But not always. What could be happening here? And how would I solve this? -- Cecil Westerhof Senior Software Engineer LinkedIn: http:/

EuroPython 2018: Hotel tips and general update

2018-03-08 Thread M.-A. Lemburg
: * EuroPython 2018 Hotel Booking Website * https://cabsedinburgh.eventsair.com/QuickEventWebsitePortal/europython-2018/home-page (run by the Edinburgh Convention Bureau) Update on EuroPython 2018 - Meanwhile, we wanted to give you an update of where we are with the conference

Re: [Python-Dev] How to set/update value in a xml file using requests in python

2018-02-12 Thread Sum J
Thanks Dan for your response. I have updated the data to be sent in xml format and now I am able to update the required fields using put request. data= ''' web-proxy.xx.com 8080 on ''' On Thu, Feb 8, 2018 at 10:15 PM, Dan Stromberg wrot

Re: [Python-Dev] How to set/update value in a xml file using requests in python

2018-02-08 Thread Dan Stromberg
koverflow.com/questions/107390/whats-the-difference-between-a-post-and-a-put-http-request HTH. On Thu, Feb 8, 2018 at 12:38 AM, Sum J wrote: > My xml file is located in local network: > > http://192.168.43.109/DevMgmt/NetAppsDyn.xml > > Below is a part content of above xml I want

Re: How to set/update value in a xml file using requests in python

2018-02-06 Thread dieter
Sum J writes: > My xml file is located in local network : > http://192.168.43.109/DevMgmt/NetAppsDyn.xml > > Below is a part content of above xml I want to update : > > > > > off > > > I want to set value for 'ResourceUI' and

How to set/update value in a xml file using requests in python

2018-02-06 Thread Sum J
My xml file is located in local network : http://192.168.43.109/DevMgmt/NetAppsDyn.xml Below is a part content of above xml I want to update : off I want to set value for 'ResourceUI' and 'Port' field in above xml. I have used bel

how to update mongo using a dataframe for multiple documents

2017-09-01 Thread Daiyue Weng
Hi, I am trying to batch update mongo using a DataFrame, df_dict = df[['id', 'name']].to_dict(orient='records') [{'name': 'vendor1', 'id': '1'}, {'name': 'vendor2', 'id': '2'}, {'

How Can I edit and update my .config (for my python application) file using WebSockets exactly like how we edit and update router .config file?

2017-07-18 Thread T Obulesu
I have my python application running on Raspberry Pi and it needs to be configured every time. Hence I want to access this .config file over online and configure it exactly like how we can configure our router, but I want to use only web sockets. -- https://mail.python.org/mailman/listinfo/pyth

Re: update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread MRAB
der (they default to installing into different folders anyway, e.g. Python34 vs Python36). thanks On 21 May 2017 at 22:18, Chris Angelico wrote: On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote: > Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64 > (Win 10), the

Re: update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread Daiyue Weng
okay, I see, I will uninstall 3.4 and install 3.6. thanks On 21 May 2017 at 22:18, Chris Angelico wrote: > On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote: > > Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64 > > (Win 10), the PSF only provides t

Re: update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread Chris Angelico
On Mon, May 22, 2017 at 7:14 AM, Daiyue Weng wrote: > Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64 > (Win 10), the PSF only provides tarballs for the 3.4.6 installation. Do you actually need 3.4.6, or can you upgrade to 3.5 or 3.6? Full installers are availab

update python 3.4.2 to 3.4.6 on Windows X64

2017-05-21 Thread Daiyue Weng
Hi, I am wondering how to update/install python 3.4.2 to 3.4.6 on Win X64 (Win 10), the PSF only provides tarballs for the 3.4.6 installation. cheers -- https://mail.python.org/mailman/listinfo/python-list

Re: EXTERNAL: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread breamoreboy
On Wednesday, May 3, 2017 at 3:50:01 PM UTC+1, Joaquin Henriquez wrote: > >Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and > >wondering how to update it to 3.5.3. Are there some simple commands to do > >that? > > If available on the Mint repository you s

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Chris Angelico
the kind of > misconception that could fester for a long time without my every > realizing it. They won't update the entire package to 3.4.3 without changing the version number, but what usually happens is that there are just a handful of critical security patches on top of 3.4.2. So t

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Thomas Nyberg
On 05/03/2017 01:14 PM, Matt Ruffalo wrote: > This isn't quite true -- Ubuntu 14.04 shipped with Python 3.4.0, but was > updated at some point to 3.4.3 (which will be installed automatically > through normal update mechanisms). > > MMR... > Well I'm less worried

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Matt Ruffalo
On 2017-05-03 12:43, Thomas Nyberg wrote: > On 05/03/2017 11:47 AM, Wolfgang Maier wrote: >> On 03.05.2017 17:11, Thomas Nyberg wrote: >>> On 05/03/2017 11:04 AM, Daiyue Weng wrote: >>>> nope, I was thinking it might be good to update to 3.5.3 for security >>

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Thomas Nyberg
On 05/03/2017 11:47 AM, Wolfgang Maier wrote: > On 03.05.2017 17:11, Thomas Nyberg wrote: >> On 05/03/2017 11:04 AM, Daiyue Weng wrote: >>> nope, I was thinking it might be good to update to 3.5.3 for security >>> reasons? >>> >> >> (CCing bac

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Chris Angelico
On Thu, May 4, 2017 at 1:47 AM, Wolfgang Maier wrote: >> I wouldn't worry about it. Package managers tend to usually take care of >> security updates. (Of course there is criticism of Linux Mint saying >> they're not as great at this...) Looking at Ubuntu 16.04, they are still >> on 3.5.1 (plus Ub

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Wolfgang Maier
On 03.05.2017 17:11, Thomas Nyberg wrote: On 05/03/2017 11:04 AM, Daiyue Weng wrote: nope, I was thinking it might be good to update to 3.5.3 for security reasons? (CCing back in python-list since I accidentally dropped it.) I wouldn't worry about it. Package managers tend to usually

Re: EXTERNAL: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Chris Angelico
On Thu, May 4, 2017 at 1:03 AM, Daiyue Weng wrote: > not too urgent, just thinking it might be better to update python to the > latest version for security reasons? Let your upstream worry about that. It's their responsibility to balance security against the potential to break t

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Thomas Nyberg
On 05/03/2017 11:04 AM, Daiyue Weng wrote: > nope, I was thinking it might be good to update to 3.5.3 for security > reasons? > (CCing back in python-list since I accidentally dropped it.) I wouldn't worry about it. Package managers tend to usually take care of security updat

Re: EXTERNAL: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Chris Angelico
On Thu, May 4, 2017 at 12:55 AM, Daiyue Weng wrote: > tried apt-get upgrade, but didn't get python updated, maybe 3.5.3 isn't in > the repository. Might have to download it and install? How urgently do you need 3.5.3? ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: EXTERNAL: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Daiyue Weng
not too urgent, just thinking it might be better to update python to the latest version for security reasons? On 3 May 2017 at 15:58, Chris Angelico wrote: > On Thu, May 4, 2017 at 12:55 AM, Daiyue Weng wrote: > > tried apt-get upgrade, but didn't get python updated, maybe 3.

Fwd: EXTERNAL: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Daiyue Weng
tried apt-get upgrade, but didn't get python updated, maybe 3.5.3 isn't in the repository. Might have to download it and install? On 3 May 2017 at 15:42, Joaquin Henriquez wrote: > >Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and > >wondering how to u

Re: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Thomas Nyberg
On 05/03/2017 10:34 AM, Daiyue Weng wrote: > Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and > wondering how to update it to 3.5.3. Are there some simple commands to do > that? > > cheers > I wouldn't mess with the system python if I were you. That

RE: EXTERNAL: How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Joaquin Henriquez
>Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and >wondering how to update it to 3.5.3. Are there some simple commands to do >that? If available on the Mint repository you should be able to upgrade it manyally. Centos: yum upgrade Debian: apt-get upgrade Then for

How to update python from 3.5.2 to 3.5.3 on Linux

2017-05-03 Thread Daiyue Weng
Hi, I am using Python 3.5.2 on Linux Mint (X64) at the moment, and wondering how to update it to 3.5.3. Are there some simple commands to do that? cheers -- https://mail.python.org/mailman/listinfo/python-list

dnspython update dns record issue

2017-03-02 Thread stamnik
I'm trying to use dnspython to do a TSIG based dynamic DNS update. I've followed the example code : #!/usr/bin/env python import sys import dns.update import dns.query import dns.tsigkeyring keyring = dns.tsigkeyring.from_text({ 'keyname.' : 'VarFF=2Xts

Re: Spyder 3.1.3 update

2017-02-24 Thread Pavol Lisy
On 2/24/17, Pablo Lozano wrote: > Good day, > > I installed the Spyder 3.6 IDE from the Anaconda package and at the start k > to the IDE I get the Spyder Update saying Spyder 3.1.3 is available. Did it > incorrectly install Anaconda? As far as I know Spyder 3.1.3 is rather old &

Spyder 3.1.3 update

2017-02-23 Thread Pablo Lozano
Good day, I installed the Spyder 3.6 IDE from the Anaconda package and at the start k to the IDE I get the Spyder Update saying Spyder 3.1.3 is available. Did it incorrectly install Anaconda? As far as I know Spyder 3.1.3 is rather old and the latest is 3.6 Regards Pablo -- https

Re: update a list element using an element in another list

2017-01-31 Thread Rhodri James
On 31/01/17 11:28, Daiyue Weng wrote: Hi, I am trying to update a list of dictionaries using another list of dictionaries correspondingly. In that, for example, # the list of dicts that need to be updated dicts_1 = [{'dict_1': '1'}, {'dict_2': '2'},

Re: update a list element using an element in another list

2017-01-31 Thread Jussi Piitulainen
Daiyue Weng writes: > Hi, I am trying to update a list of dictionaries using another list of > dictionaries correspondingly. In that, for example, > > # the list of dicts that need to be updated > dicts_1 = [{'dict_1': '1'}, {'dict_2': '2

update a list element using an element in another list

2017-01-31 Thread Daiyue Weng
Hi, I am trying to update a list of dictionaries using another list of dictionaries correspondingly. In that, for example, # the list of dicts that need to be updated dicts_1 = [{'dict_1': '1'}, {'dict_2': '2'}, {'dict_3': '3'}] #

Update to Python 3 Cheat Sheet

2017-01-28 Thread Laurent Pointal
Hi, I updated the cheat sheet on the aesthetic side. Parts bloc and their title are now more easily identified with colors (but its nice with B&W printing too). French and german versions have also been updated. See https://perso.limsi.fr/pointal/python:memento A+ L.Pointal. -- https://mail.p

Re: update certain key-value pairs of a dict from another dict

2016-11-11 Thread Tim Chase
On 2016-11-11 13:29, Peter Otten wrote: > The same using update(), with a generator expression that avoids > the intermediate dict: > > >>> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} > >>> dict1.update((

Re: update certain key-value pairs of a dict from another dict

2016-11-11 Thread Peter Otten
Tim Chase wrote: > On 2016-11-11 11:17, Daiyue Weng wrote: >> dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} >> dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'} >> &

Re: update certain key-value pairs of a dict from another dict

2016-11-11 Thread Tim Chase
On 2016-11-11 11:17, Daiyue Weng wrote: > dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} > dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'} > > I am wondering how to update d

update certain key-value pairs of a dict from another dict

2016-11-11 Thread Daiyue Weng
Hi, I have two dicts, e.g. dict1 = {'A': 'a', 'B': 'b', 'C': 'c'} dict2 = {'A': 'aa', 'B': 'bb', 'C': 'cc'} I am wondering how to update dict1 using dict2 that o

Re: Failed to update the os.environ with subprocess.Popen.

2016-04-03 Thread Cameron Simpson
On 03Apr2016 11:24, Hongyi Zhao wrote: On Sun, 03 Apr 2016 18:20:31 +1000, Cameron Simpson wrote: In particular, you want the subprocess' output. As written, your code sets "output" to the Popen object. You actually want to set it to the .stdout attribute of that object, which is the output fr

Re: Failed to update the os.environ with subprocess.Popen.

2016-04-03 Thread Hongyi Zhao
On Sun, 03 Apr 2016 18:20:31 +1000, Cameron Simpson wrote: > In particular, you want the subprocess' output. As written, your code > sets "output" to the Popen object. You actually want to set it to the > .stdout attribute of that object, which is the output from the > subcommand. Based on your a

Re: Failed to update the os.environ with subprocess.Popen.

2016-04-03 Thread Cameron Simpson
On 03Apr2016 14:24, Steven D'Aprano wrote: On Sun, 3 Apr 2016 01:29 pm, Hongyi Zhao wrote: I use the following code to update the os.environ with subprocess.Popen: I don't understand what you are trying to do here. But regardless of your intention, the problem you have is nothing

Re: Failed to update the os.environ with subprocess.Popen.

2016-04-02 Thread Steven D'Aprano
On Sun, 3 Apr 2016 01:29 pm, Hongyi Zhao wrote: > Hi all, > > I use the following code to update the os.environ with subprocess.Popen: I don't understand what you are trying to do here. But regardless of your intention, the problem you have is nothing to do with updating os.

Re: Get the output from a Popen instance (was: Failed to update the os.environ with subprocess.Popen.)

2016-04-02 Thread Hongyi Zhao
5, in >> os.environ.update(line.partition('=')[::2] for line in output.split >> ('\0')) >> AttributeError: 'Popen' object has no attribute 'split' >> --- > > So your problem is nothing to do with “update ‘o

Get the output from a Popen instance (was: Failed to update the os.environ with subprocess.Popen.)

2016-04-02 Thread Ben Finney
Hongyi Zhao writes: > I use the following code to update the os.environ with > subprocess.Popen Again, it is quite misleading to describe what you are doing as “update the os.environ with subprocess.Popen”. The ‘subprocess.Popen’ call *cannot* upsdate the Python process's ‘os.envi

Failed to update the os.environ with subprocess.Popen.

2016-04-02 Thread Hongyi Zhao
Hi all, I use the following code to update the os.environ with subprocess.Popen: - from subprocess import Popen output = Popen(""" /bin/bash < os.environ.update(line.partition('=')[::2] for line in output.split ('\0')) AttributeError:

Failed to update the os.environ with subprocess.Popen.

2016-04-02 Thread Hongyi Zhao
Hi all, I use the following code to update the os.environ with subprocess.Popen: - from subprocess import Popen output = Popen(""" /bin/bash < os.environ.update(line.partition('=')[::2] for line in output.split ('\0')) AttributeError:

Failed to update the os.environ with subprocess.Popen.

2016-04-02 Thread Hongyi Zhao
Hi all, I use the following code to update the os.environ with subprocess.Popen: - from subprocess import Popen output = Popen(""" /bin/bash < os.environ.update(line.partition('=')[::2] for line in output.split ('\0')) AttributeError:

  1   2   3   4   5   6   >