This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients asvetlov, iritkatriel, orsenthil, pfish
Date 2021-05-28.09:52:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622195556.64.0.558016084707.issue32779@roundup.psfhosted.org>
In-reply-to
Content
The relevant part in the RFC pseudo code is 

               if defined(R.query) then
                  T.query = R.query;
               else
                  T.query = Base.query;
               endif;

which is implemented in urljoin as:

        if not query:
            query = bquery


Is this correct? Should the code not say "if query is not None"?
(I can't see in the RFC a definition of defined()).
History
Date User Action Args
2021-05-28 09:52:36iritkatrielsetrecipients: + iritkatriel, orsenthil, asvetlov, pfish
2021-05-28 09:52:36iritkatrielsetmessageid: <1622195556.64.0.558016084707.issue32779@roundup.psfhosted.org>
2021-05-28 09:52:36iritkatriellinkissue32779 messages
2021-05-28 09:52:36iritkatrielcreate