[issue9951] introduce bytes.hex method

2014-09-11 Thread Chris Lasher
Chris Lasher added the comment: int has int.from_bytes and int.to_bytes. Currently, bytes has bytes.fromhex. Would the core developers please consider naming the method bytes.tohex instead of bytes.hex, so there's at least a modicum of consistency in the method names of Python's builtin types

[issue9951] introduce bytes.hex method

2014-09-10 Thread Chris Lasher
Changes by Chris Lasher chris.las...@gmail.com: -- nosy: +gotgenes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9951 ___ ___ Python-bugs-list

[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

2011-01-22 Thread Chris Lasher
New submission from Chris Lasher chris.las...@gmail.com: argparse supports registering conflicting arguments, however, it does so in a way that an argument may belong to at most one group of conflicting arguments. The inspiration for this bug is Stack Overflow question #4770576. http

[issue10745] --user option, per user site-packages undocumented in Installing Python Modules document

2010-12-20 Thread Chris Lasher
New submission from Chris Lasher chris.las...@gmail.com: Python 2.6 saw the introduction of per user site-packages directory for easy installation of Python packages into a guaranteed location in which the user has appropriate permissions. http://bugs.python.org/issue1799 http

[issue7744] Allow site.addsitedir insert to beginning of sys.path

2010-01-20 Thread Chris Lasher
New submission from Chris Lasher chris.las...@gmail.com: Would it be possible to add an extra option to site.addsitedir so that it left-appends (inserts at the beginning of the list rather than the end of the list) to sys.path the new path? The use case for this is that sometimes the user has

[issue7744] Allow site.addsitedir insert to beginning of sys.path

2010-01-20 Thread Chris Lasher
Chris Lasher chris.las...@gmail.com added the comment: One correction: by beginning of sys.path, what I really mean is, the portion of sys.path after the initial ''. I forgot that '', the empty path, should always be at the start of sys.path to ensure that packages and modules in the current

[issue7445] urllib2 (and urllib) should raise error for incomplete response

2009-12-05 Thread Chris Lasher
New submission from Chris Lasher chris.las...@gmail.com: This question is motivated by a question on Stack Overflow: http://stackoverflow.com/questions/1824069/urllib2-not-retrieving-entire-http-response In the event the user receives an incomplete response when using urllib2 (and urllib

[issue3244] multipart/form-data encoding

2009-01-07 Thread Chris Lasher
Changes by Chris Lasher chris.las...@gmail.com: -- nosy: +gotgenes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python-bugs-list