[Python-Dev] Re: thes mapping data type and thescfg cfg file module - review and suggestion request

2019-11-18 Thread Dave Cinege
ng, printf, format, template) And with that said, if the only obstacle to a new recursive mapping object for stblib is attribute aliasing, then it can be removed. Dave I'm not denying that Thesaurus[Cfg] looks useful. But, like Tal, I must stress that that's not enough to consider inclu

[Python-Dev] Re: thes mapping data type and thescfg cfg file module - review and suggestion request

2019-11-18 Thread Dave Cinege
Tal, On 2019/11/18 10:59, Tal Einat wrote: These days, thanks to pip and PyPI, anyone can publish libraries and it is easy for developers to find and use them if they like. There is no longer a need to add things to the stdlib just to make them widely available. Fair enough, only that you

[Python-Dev] Re: thes mapping data type and thescfg cfg file module - review and suggestion request

2019-11-18 Thread Dave Cinege
is for the discussion of the development *of* Python itself, however, rather than development *with* Python, so it's not an appropriate place for such posts. I suggest you post this on python-list and/or python-announce, to get this in front of a wider audience. - Tal Einat On Mon

[Python-Dev] thes mapping data type and thescfg cfg file module - review and suggestion request

2019-11-17 Thread Dave Cinege
If you are not aware: - Thesaurus is a mapping data type with recursive keypath map and attribute aliasing. It is a subclass of dict() and is mostly compatible as a general use dictionary replacement. - ThesaurusExtended is a subclass of Thesaurus providing additional usability methods such a

Re: [Python-Dev] New string method - splitquoted

2006-05-20 Thread Dave Cinege
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.

Re: [Python-Dev] New string method - splitquoted

2006-05-20 Thread Dave Cinege
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 bet

Re: [Python-Dev] New string method - splitquoted - New EmailAddress

2006-05-20 Thread Dave Cinege
Sorry to all about tmda on my dcinege-mlists email addy. It was not supposed to be, however the dash in dcinege-mlists was flipping out the latest incarnation of my mail server config. Please use this address to reply to me in this thread. Dave ___ Py

Re: [Python-Dev] New string method - splitquoted

2006-05-18 Thread Dave Cinege
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. (

Re: [Python-Dev] New string method - splitquoted

2006-05-18 Thread Dave Cinege
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

[Python-Dev] New string method - splitquoted

2006-05-17 Thread Dave Cinege
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: s = ' Chan: 11 SNR: 2