[issue30435] Documentation either unclear or incorrect on comparisons between bytes and strings in Python 3

2017-05-22 Thread ipatrol
New submission from ipatrol: https://docs.python.org/3/reference/expressions.html#comparisons says that "Strings and binary sequences cannot be directly compared." That would seem to me to imply that an equality between them would raise an exception, as also claimed by https://wiki.

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2014-02-23 Thread ipatrol
ipatrol added the comment: The latest patch has an indentation error in an if-else clause, but I can't figure out what exactly was intended by the author. -- ___ Python tracker <http://bugs.python.org/i

[issue4508] distutils compiler not handling spaces in path to output/src files

2011-11-16 Thread ipatrol
ipatrol added the comment: Ok, I found a similar problem with MMTK. I am currently altering my distutils package to add a function called nt_quote_dir that adds quotes to paths with spaces and then applies it to each path if the platform is win32. When I'm done I will submit a diff

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread ipatrol
ipatrol added the comment: The patch has been submitted, now we just need to apply it and update the online docs accordingly. -- status: open -> pending versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue7511] msvc9compiler.py: ValueError: [u'path']

2011-01-08 Thread ipatrol
ipatrol added the comment: Going through more than a few registry keys, here are some that stood out for me: "HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows\v6.0A" InstallationFolder "HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows\v6.1"

[issue9882] abspath from directory

2010-12-25 Thread ipatrol
ipatrol added the comment: Yes, but this seems to be rational particularly for emulating directory changes without actually doing so. Since relative paths can use .. it may not always be straightforward to do this. Applications include archivers, dependency checkers, patch tools, self

[issue10772] Several actions for argparse arguments missing from docs

2010-12-25 Thread ipatrol
New submission from ipatrol : I actually noticed this while trying to free the -h option for my program. The actions not mentioned are count, help, and parsers. Also for nargs, '...' and 'A...' are not documented either in the Sphinx docs or the leading docstring

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-12-23 Thread ipatrol
ipatrol added the comment: Purity shmurity. The point of distutils is largely to present a unified and simple interface. 'python setup.py install' should be all a user has to do on any platform. Unless you can come up with a better idea, MSVC is really the only big compiler

[issue9882] abspath from directory

2010-09-16 Thread ipatrol
New submission from ipatrol : Just an easy patch. os.path.abspath is defined as os.path.normpath(os.path.join(os.getcwd(),path), but os.path.relpath also adds a start option. This creates an asymmetry where getting the absolute path from a relative path and a directory has no single

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2010-09-16 Thread ipatrol
ipatrol added the comment: Possibly, but I don't really have expertise in the underbelly of the HTTP system. -- ___ Python tracker <http://bugs.python.org/i

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2010-09-02 Thread ipatrol
ipatrol added the comment: No, httplib actually creates a second connection with the same object. Neither is their support in urllib, urllib2, nor in any of the HTTP servers. This would be really useful for a bot connected to an API. -- resolution: works for me -> status: pend

[issue1673007] urllib2 requests history + HEAD support

2010-09-02 Thread ipatrol
ipatrol added the comment: Can this be somehow implemented as a bugfix patch as well on other versions? -- nosy: +ipatrol versions: +Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issue1673

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2010-09-02 Thread ipatrol
New submission from ipatrol : HTTP 1.1 introduced persistent connections nearly six years ago. Yet this resource saving and speed improving option is not available in the standard library. Can this be added? -- components: Library (Lib) messages: 115365 nosy: ipatrol priority: normal

[issue2340] Backport PEP 3132 (extended iterable unpacking)

2010-09-01 Thread ipatrol
ipatrol added the comment: Can this be added in a minor release? I came across wanting it while parsing some html forms. -- nosy: +ipatrol ___ Python tracker <http://bugs.python.org/issue2

[issue2889] curses for windows (alternative patch)

2010-08-15 Thread ipatrol
ipatrol added the comment: Any progress yat? -- components: +Windows nosy: +ipatrol type: -> feature request versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue9380] Allow popping of n elements at once from a deque

2010-07-25 Thread ipatrol
New submission from ipatrol : Yes, I know, this was proposed with builtin lists years before. But I can't help but think that at least for pop-append oriented deques, a popping analogue to extend would make use of deques in iterators easier. It should ideally return an iterator, possibly

[issue8340] bytearray undocumented on trunk

2010-07-24 Thread ipatrol
ipatrol added the comment: Yeah, I'll say. I prefer bytearray to back-and-forth mapping with chr and ord. I use it particularly as a mid-step in working with binary representations of strings. Please backport these docs with changes reflecting 2.x's paradigms. -- nosy: +ip

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-07-18 Thread ipatrol
ipatrol added the comment: HAHA DISREGARD THAT, WRONG DOWNLOAD. However, the C++ compiler `is` now installed by default. P.S: that second ValueError? -- ___ Python tracker <http://bugs.python.org/issue7

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-07-18 Thread ipatrol
ipatrol added the comment: I noticed that the directions from mathworks are no longer correct. The only optional feature is a 64 bit SQL server. Yet I still can't get it to work correctly. Does MS no longer provide the compiler in their free edi

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-07-13 Thread ipatrol
ipatrol added the comment: Aren't there two ValueErrors in the file? One is a platform and (in the now-fixed version) the other would indicate a problem with I/O or vcvars execution (like permissions). -- ___ Python tracker

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-07-11 Thread ipatrol
ipatrol added the comment: Actually, I forgot the 64 bit directions X-? It will take some time for everything to download. But I did apply the patch and it did give me the "64 bit SDK not installed" error. Also, I think the tow ValueErrors should be changed to DistutilsPlatfor

[issue9228] Make changes in the path and pathext on installation

2010-07-11 Thread ipatrol
New submission from ipatrol : I was fiddling around with easier ways to run python scripts in the Windows shell. I'll represent these as hypothetical AUTOEXEC.BAT entries (I used the UI for this): ;Add python to the search path so "python script.py" works set path="%pat

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-07-11 Thread ipatrol
ipatrol added the comment: May I request we resolve this by folding this patch into the main source tree for the next bugfix release? -- components: +Windows ___ Python tracker <http://bugs.python.org/issue7

[issue9224] Distutls fails with MSVC++ 2008on Windows Vista 64bit

2010-07-11 Thread ipatrol
New submission from ipatrol : Trying to compile any extension module fails with the following error: running install running build running build_ext building 'bsdiff' extension Traceback (most recent call last): File "setup.py", line 56, in ext_modules = [extension

[issue3428] httplib.HTTPMessage undocumented

2010-06-28 Thread ipatrol
ipatrol added the comment: What about urllib2? It's explicitly mentioned as the return value of .info() -- ___ Python tracker <http://bugs.python.org/i

[issue3428] httplib.HTTPMessage undocumented

2010-06-27 Thread ipatrol
ipatrol added the comment: This is still not fixed. Also, it would be nice to add the response code in somewhere as I don't see it in the stdlib epydoc pages -- nosy: +ipatrol ___ Python tracker <http://bugs.python.org/i

[issue7212] Retrieve an arbitrary element from a set without removing it

2010-05-26 Thread ipatrol
ipatrol added the comment: I support http://bugs.python.org/msg94599 with a check to see if the length is 0, and rename it pick (based on the generic programming and mathematical literature). -- ___ Python tracker <http://bugs.python.

[issue7212] Retrieve an arbitrary element from a set without removing it

2010-05-26 Thread ipatrol
ipatrol added the comment: I still see a use in this. I like to use sets for lists of servers or mirrors. There is no compelling reason *not* to add a get() or pick() method, as described in http://en.wikipedia.org/wiki/Set_%28computer_science%29. Sets could be used for many things that

[issue8830] Add nondestructive selection to sets

2010-05-26 Thread ipatrol
New submission from ipatrol : I see in a lot of references for computer programming a function that returns an arbitrary value from a standard or frozen set. http://en.wikipedia.org/wiki/Set_%28computer_science%29 describes it as pick. It surprised me when I discovered that Python sets don&#