RE: Module urljoin does not appear to work with scheme Gemini

2025-04-24 Thread Anders Munch via Python-list
Henry S. Thompson wrote: > Some approach to support future-proofing in general would seem to be in > order. > Given some other precedents, adding a boolean argument called either 'strict' > or 'lax' would be my preference. An alternative would be to refactor urllib.parse to use strategy objects

Re: Module urljoin does not appear to work with scheme Gemini

2025-04-23 Thread Henry S. Thompson via Python-list
Schimon Jehudah writes: > Is there an "ignore" option for "urljoin" to allow schemes that are not > included in the registry of the interpreter of the Python computer > language? Some approach to support future-proofing in general would seem to be in order. Given some other precedents, adding a

Re: Module urljoin does not appear to work with scheme Gemini

2025-04-22 Thread Schimon Jehudah via Python-list
Is there an "ignore" option for "urljoin" to allow schemes that are not included in the registry of the interpreter of the Python computer language? I think that it is needed to have, even if it is not registered, as there are ongoing attempts to try to censor Gemini and Gopher. gemini://woodpeck

Re: Module urljoin does not appear to work with scheme Gemini

2025-04-22 Thread Henry S. Thompson via Python-list
Schimon Jehudah via Python-list writes: > Yesterday, I have added support for a new syndication format, Gemini > feed. I note that 'gemini' is not (yet?) a registered URI scheme: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml ht -- Henry S. Thompson, School of Informat

Module urljoin does not appear to work with scheme Gemini

2025-04-20 Thread Schimon Jehudah via Python-list
Good day. Yesterday, I have added support for a new syndication format, Gemini feed. Yet, it appears that module urljoin fails at its task, even though module urlsplit correctly handles Gemini. Python 3.13.3 >>> from urllib.parse import urljoin >>> urljoin('gopher://gopher.floodgap.com:70/1/ove