[issue16665] doc for builtin hex() is poor

2012-12-11 Thread rurpy the second
New submission from rurpy the second: The documentation of the hex() builtin function is poor. Specifically it does not say (directly) that: 1. The resulting string is prefixed with "0x". 2. Any a-f characters used are lower case. 3. Negative integers are converted by prefixing a

[issue12806] argparse: Hybrid help text formatter

2012-11-23 Thread rurpy the second
rurpy the second added the comment: Additional comment loosely related to the ParagraphFormatter offered in previous comment... [If this is not the right venue -- perhaps a new issue or one of the python mail lists would be better -- please tell me.] I notice that argparse.ArgumentParser

[issue12806] argparse: Hybrid help text formatter

2012-11-23 Thread rurpy the second
rurpy the second added the comment: I happened upon this issue while Googling for a formatter with the behavior described here. I put together a formatter derived from the code submitted by GraylinKim (2011-08-22) and offer it for consideration (though it is missing some things like

[issue16180] cannot quit pdb when there is a syntax error in the debuggee (must kill it)

2012-11-19 Thread rurpy the second
rurpy the second added the comment: This continues to be a problem on Python-3.3.0 -- nosy: +rurpy2 versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue16

[issue15216] Support setting the encoding on a text stream after creation

2012-08-08 Thread rurpy the second
Changes by rurpy the second : -- nosy: +rurpy2 ___ Python tracker <http://bugs.python.org/issue15216> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14973] restore python2 unicode literals in "ru" strings

2012-05-31 Thread rurpy the second
New submission from rurpy the second : PEP 414 proposes restoring the "u" string prefix (semantically as a "noop") to make porting from Python2 easier. I would like to propose that "ru"-strings also interpret embedded "\u" unicode literals in t

[issue1397474] timeit execution enviroment

2011-01-11 Thread rurpy the second
rurpy the second added the comment: I find the changes suggested by T Reedy and refined in the patch by E Bendersky an improvement. However, I found the following things confused me when reading it: "...constructor creates a function..." the constructor creates a Timeit insta

[issue10545] remove or rewrite "Using Backslash to Continue Statements" anti-idiom

2010-11-26 Thread rurpy the second
New submission from rurpy the second : The Python HOWTOs->Idioms and Anti-Idioms has a section "Using Backslash to Continue Statements". It says that line continuation is "dangerous" and gives two reasons. 1. Hard to see a space after the backslash. This is not &qu