cgi parse_qs still exists?

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Mar 30 03:52:07 EDT 2015


On 30/03/2015 07:48, dieter wrote:
> Mark Lawrence <breamoreboy at yahoo.co.uk> writes:
>
>> This has been marked for deprecation since at least 2.6 but is still
>> in the 3.5 code base.  Does anybody know if this is by accident or
>> design? If the former I'll happily raise an issue to get it removed
>> unless somebody beats me to it.
>
> I am using "cgi.parse_qs" - and I find it very helpful.
>
> Thus, I would be sad if it went away -- unless the library would
> provide an alternative.
>

 From https://docs.python.org/3/library/cgi.html "This function is 
deprecated in this module. Use urllib.parse.parse_qs() instead. It is 
maintained here only for backward compatibility."

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list