Irit Katriel <iritkatr...@yahoo.com> added the comment:

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()).

----------
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32779>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to