> On 5 Jul 2021, at 15:07, Frederic Muller <fred@xxxxxxxx> wrote: > > On 7/5/21 8:50 PM, stan via users wrote: >>> On Mon, 5 Jul 2021 11:53:46 +0700 >>> Frederic Muller <fred@xxxxxxxx> wrote: >>> >>> Some of my Python code which was running without any issue fails >>> miserably with F34. Python is now version 3.9, I found some building >>> bugs for 1 of the libraries which has been fixed earlier this year. >>> >>> Namely I have issue with urllib3 and pexpect. Where should I ask >>> about it? I feel this list is not really about Python issues, and >>> that code was working fine with Python 3.8. >> The best place to look for these things is at python.org. A quick >> search found this page with changes from 3.8 to 3.9. >> >> https://docs.python.org/3/whatsnew/3.9.html >> >> It has this to say about urllib. >> >> urllib.parse >> >> Earlier Python versions allowed using both ; and & as query parameter >> separators in urllib.parse.parse_qs() and urllib.parse.parse_qsl(). Due >> to security concerns, and to conform with newer W3C recommendations, >> this has been changed to allow only a single separator key, with & as >> the default. This change also affects cgi.parse() and >> cgi.parse_multipart() as they use the affected functions internally. >> For more details, please see their respective documentation. >> (Contributed by Adam Goldschmidt, Senthil Kumaran and Ken Jin in >> bpo-42967.) >> >> It has nothing to say about pexpect. So, pexpect is not a >> python provided program, and probably uses something on that page >> internally that has changed. >> _______________________________________________ >> > Hi and thank you! > > Actually Felix from the devel list 'smelled' the issue right away: I install libraries through pip without a virtual environment. I should either used rpm packages or create venv and use pip for that environment. It’s fine to install packages with pip install —user. Use of venv is very useful, but not mandatory. Barry > > He even told me how to clean up everything and get running. > > As an addon, the pexcept issue which was there right before my email to the list, fixed itself when I emailed devel and want to write the exact error message. So go figure! > > Anyway I learned something and I guess I am a better(?) Python programmer now ;-) > > Thank you all for helping. > > Fred > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure