[New-bugs-announce] [issue10282] IMPLEMENTATION token differently delt with in NNTP capability
report at bugs.python.org
Mon Nov 1 21:16:07 CET 2010
New submission from Julien ÉLIE <julien at trigofacile.com>:
I believe the case of "IMPLEMENTATION" should be treated differently.
It is not helpful at all to split the argument. It is meant to be a
text string and ['INN', '2.6.0', '(20101101', 'prelease)'] does not
have much meaning...
name, *tokens = line.split(None, 1)
name, *tokens = line.split()
or something else, though I do not believe another keyword will begin with "IMPLEMENTATION"...
Besides, shouldn't it be checked that the line is not empty, before splitting it?
components: Extension Modules
title: IMPLEMENTATION token differently delt with in NNTP capability
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce