[issue9253] argparse: optional subparsers

2020-04-03 Thread brent s.
Change by brent s. : -- nosy: +bsaner ___ Python tracker <https://bugs.python.org/issue9253> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue37594] re does not honor matching trailing multiple periods

2019-07-14 Thread brent s.
brent s. added the comment: Oh for pete's sake. I wish I could edit comments. Eric- To make it clear: * VERSION: 2.7.16 (default, Mar 11 2019, 18:59:25) [GCC 8.2.1 20181127] PATTERN: \.*$ BEFORE: a.b WITHOUT: a.b DUMMY: a.bX AFTER: a.b. RSTRIP: a.b == BEFORE: a.b. WITHOUT: a.b DUMMY

[issue37594] re does not honor matching trailing multiple periods

2019-07-14 Thread brent s.
brent s. added the comment: "'\.' is an invalid escape sequence. Could you try it with a raw string?" Well, a valid regex escape, but right. Point taken. I am under the impression, however, that given the value in ptrn (in example.py) is already a string, it should be interprete

[issue37594] re does not honor matching trailing multiple periods

2019-07-14 Thread brent s.
brent s. added the comment: WORKAROUND: Obviously, str.rstrip('.') still works, but this is of course quite inflexible compared to a regex pattern. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37594] re does not honor matching trailing multiple periods

2019-07-14 Thread brent s.
brent s. added the comment: Sorry- by "chokes", I mean "substitutes in multiple replacements". -- ___ Python tracker <https://bug

[issue37594] re does not honor matching trailing multiple periods

2019-07-14 Thread brent s.
New submission from brent s. : (Sorry for the title; not quite sure how to summarize this) SO! Have I got an interesting one for you. ISSUE: In release 3.7.3 (and possibly later), the re module, if one has a string e.g. 'a.b.', a pattern such as '\.*$' will successfully *match* any number

[issue33480] Improvement suggestions for urllib.parse.urlparser

2018-05-13 Thread brent s.
New submission from brent s. <brent.sa...@gmail.com>: Currently, a parsed urlparse() object looks (roughly) like this: urlparse('http://example.com/foo;key1=value1?key2=value2#key3=value3#key4=value4') returns: ParseResult(scheme='http', netloc='example.com', path='/foo', params='key1=

how to build and install multiple micro-level major.minor versions of Python

2014-04-29 Thread Brent S. Elmer Ph.D.
I have built and installed Python on AIX as well as installed a stack of Python tools. The version I installed is 2.7.2. Everything is working fine but I want to install Python 2.7.6 and the tool stack. Before I installed 2.7.2, I installed 2.6.x. I was able to install the 2.7.2 and 2.6.x side

Re: how to build and install multiple micro-level major.minor versions of Python

2014-04-29 Thread Brent S. Elmer Ph.D.
On Tue, 2014-04-29 at 11:35 -0700, Ned Deily wrote: In article 1398785310.2673.16.camel@belmer, Brent S. Elmer Ph.D. webe...@aim.com wrote: Is there a way to do what I want to do (i.e. install 2.7.6 beside 2.7)? The usual way to support multiple micro versions is to build and install