Am Donnerstag 18 Mai 2006 06:06 schrieb Dave Cinege:
This is useful, but possibly better put into practice as a separate
method??
I personally don't think it's particularily useful, at least not in the
special case that your patch tries to address.
1) Generally, you won't only have one
On Thursday 18 May 2006 11:11, Guido van Rossum wrote:
This is not an apropriate function to add as a string methods. There
are too many conventions for quoting and too many details to get
right. One method can't possibly handle them all without an enormous
number of weird options. It's better
On Thursday 18 May 2006 16:13, you wrote:
Dave Cinege wrote:
For example:
s = ' Chan: 11 SNR: 22 ESSID: Spaced Out Wifi Enc: On'
My complaint with this example is that you are just using the wrong tool
to do this job. If I was going to do this, I would've immediately jumped
on
I'm sorry Dave, I'm afraid I can't do that.
We hear you, Dave, but this is not a suitable function to add to the
standard library. Many respondents are trying to tell you that in many
different ways. If you keep arguing for it, we'll just ignore you.
--Guido
PS. Give up TDMA. Try Spambayes
Am Donnerstag 18 Mai 2006 06:06 schrieb Dave Cinege:
This is useful, but possibly better put into practice as a separate
method??
I personally don't think it's particularily useful, at least not in the
special case that your patch tries to address.
1) Generally, you won't only have one
On 5/17/06, Dave Cinege
[EMAIL PROTECTED] wrote:
Very oftenmake that very very very very very very very very very often,
I find myself processing text in python that when .split()'ing a line, I'd
like to exclude the split for a 'quoted' item...quoted because it contains
whitespace or the
Heiko Wundram [EMAIL PROTECTED] wrote:
Don't get me wrong, I personally find this functionality very, very
interesting (I'm +0.5 on adding it in some way or another),
especially as a
part of the standard library (not necessarily as an extension to
.split()).
It's already there. It's called
Am Donnerstag 18 Mai 2006 10:21 schrieb Giovanni Bajo:
Heiko Wundram [EMAIL PROTECTED] wrote:
Don't get me wrong, I personally find this functionality very, very
interesting (I'm +0.5 on adding it in some way or another),
especially as a
part of the standard library (not necessarily as an
Heiko Wundram [EMAIL PROTECTED] wrote:
Don't get me wrong, I personally find this functionality very, very
interesting (I'm +0.5 on adding it in some way or another),
especially as a
part of the standard library (not necessarily as an extension to
.split()).
It's already there. It's called
Am Donnerstag 18 Mai 2006 12:26 schrieb Giovanni Bajo:
I believe the standard library already covers common usage. There will
surely be cases where a custom lexer/splitetr will have to be written, but
that's life
The csv data field parser handles all common usage I have encountered so far,
Dave Cinege wrote:
Very oftenmake that very very very very very very very very very often,
I find myself processing text in python that when .split()'ing a line, I'd
like to exclude the split for a 'quoted' item...quoted because it contains
whitespace or the sep char.
For example:
This is not an apropriate function to add as a string methods. There
are too many conventions for quoting and too many details to get
right. One method can't possibly handle them all without an enormous
number of weird options. It's better to figure out how to do this with
regexps or use some of
Am Donnerstag 18 Mai 2006 17:11 schrieb Guido van Rossum:
(Did anyone mention the csv module yet? It deals with this too.)
Yes, mentioned it thrice. ;-)
--- Heiko.
___
Python-Dev mailing list
Python-Dev@python.org
On Thursday 18 May 2006 03:00, Heiko Wundram wrote:
Am Donnerstag 18 Mai 2006 06:06 schrieb Dave Cinege:
This is useful, but possibly better put into practice as a separate
method??
I personally don't think it's particularily useful, at least not in the
special case that your patch tries
On Thursday 18 May 2006 04:21, Giovanni Bajo wrote:
It's already there. It's called shlex.split(), and follows the semantic of
a standard UNIX shell, including escaping and other things.
Not quite. As I said in my other post, simple is the idea for this, just like
the split method itself.
Dave Cinege wrote:
It's already there. It's called shlex.split(), and follows the
semantic of a standard UNIX shell, including escaping and other
things.
Not quite. As I said in my other post, simple is the idea for this,
just like the split method itself. (no escaping, etc.just
16 matches
Mail list logo