Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '"this': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'base.': 0.05; 'deprecated': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:still': 0.09; 'thus,': 0.09; 'language.': 0.14; 'backward': 0.16; 'deprecation': 0.16; 'design?': 0.16; 'happily': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sad': 0.16; 'subject:exists': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'header:User-Agent:1': 0.23; 'instead.': 0.24; 'least': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'raise': 0.29; 'went': 0.31; 'code': 0.31; 'helpful.': 0.31; 'writes:': 0.31; 'url:python': 0.33; 'skip:u 20': 0.35; 'anybody': 0.35; 'but': 0.35; '2.6': 0.36; 'maintained': 0.36; 'module.': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'somebody': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:3': 0.61; 'our': 0.64; 'provide': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66; 'alternative.': 0.84; 'beats': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: cgi parse_qs still exists? Date: Mon, 30 Mar 2015 08:52:07 +0100 References: <87wq1z3rri.fsf@handshake.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-14-164.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <87wq1z3rri.fsf@handshake.de> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427701943 news.xs4all.nl 2963 [2001:888:2000:d::a6]:50779 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88322 On 30/03/2015 07:48, dieter wrote: > Mark Lawrence 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