[issue16066] Truncated POST data in CGI script on Windows 7

2012-09-28 Thread Alexander Martin
Alexander Martin added the comment: The successful script execution was run under Python 2.7.3 (as of today one of the two as "production version" labeled releases). The initial report's reference to Python 2.7.2 was made by mistake. May anyone confirm this error beha

[issue10951] gcc 4.6 warnings

2012-09-30 Thread Martin Pool
Martin Pool added the comment: Hi, Martin, On 20 August 2012 05:25, Martin v. Löwis wrote: > Martin v. Löwis added the comment: > > (As usual), I'm quite skeptical about this "bulk bug report"; it violates the > "one bug at a time" principle, wher

[issue3132] implement PEP 3118 struct changes

2012-10-26 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue3132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2909] struct.Struct.unpack to return a namedtuple for easier attribute access

2012-10-26 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue2909> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16349] Document whether it's safe to use bytes for struct format string

2012-10-28 Thread Martin Panter
Martin Panter added the comment: Also it would be nice to clarify if struct.Struct.format is meant to be a byte string. Reading the documentation and examples I expected a character string. It was an issue for me when embedding one structure within another: HSF_VOL_DESC = Struct("<

[issue18144] FD leak in urllib2

2014-03-18 Thread Martin Panter
Martin Panter added the comment: Does the fix for Issue 12692 work for you? Namely this revision <http://hg.python.org/cpython/rev/92656b5df2f2>. It was backported to C Python 3.3.4 as I understand. -- ___ Python tracker <http://bugs.p

[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-18 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue20895> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7159] Urllib2 authentication memory.

2014-03-18 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue7159> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20898] Missing 507 response description

2014-03-18 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue20898> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7776] http.client.HTTPConnection tunneling is broken

2014-03-18 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue7776> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20959] print gives wrong error when printing *generator

2014-03-18 Thread Martin Panter
Martin Panter added the comment: Yet another duplicate of Issue 4806, by the looks -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue20

[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2014-03-19 Thread Martin Panter
Martin Panter added the comment: Actually I am still seeing this in 3.4.0. Looks like the doctype() method was not removed after all. -- versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue19

[issue15351] Add to unittest.TestCase support for using context managers

2014-03-20 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue15351> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21000] json.tool ought to have a help flag

2014-03-20 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21000> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21028] ElementTree objects should support all the same methods as Element objects

2014-03-22 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium title: ElementTree objects should support all the same methods are Element objects -> ElementTree objects should support all the same methods as Element objects ___ Python tracker &l

[issue21032] Socket leak if HTTPConnection.getresponse() fails

2014-03-22 Thread Martin Panter
New submission from Martin Panter: Here is a regression test and patch to close the socket reader when a HTTP server causes getresponse() to fail, for instance if the server times out and drops the connection without sending any response. Without the patch the socket will only be closed by

[issue21032] Socket leak if HTTPConnection.getresponse() fails

2014-03-22 Thread Martin Panter
Changes by Martin Panter : Added file: http://bugs.python.org/file34580/close.patch ___ Python tracker <http://bugs.python.org/issue21032> ___ ___ Python-bugs-list mailin

[issue21044] tempfile.TemporaryFile() shouldn't have a name attribute

2014-03-23 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21044> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21049] Flood of “ImportWarning: sys.meta_path is empty” after exception with socket subclass

2014-03-23 Thread Martin Panter
New submission from Martin Panter: With the code included below, and warnings enabled, I see a flood of unexpected ImportWarnings as the interpreter exits. The issue is seen with Python 3.4.0, but apparently not with 3.3.5. The issue originally happened with code using the Py Socks library

[issue21052] Consider dropping ImportWarning for empty sys.path_hooks and sys.meta_path

2014-03-24 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21052> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21251] Standard library trace module crashes with exception

2014-04-16 Thread Martin Kolman
New submission from Martin Kolman: We are currently working on adding tracing support to Anaconda, the Fedora/Red Hat Enterprise Linux installer and we have encountered some pretty strange behavior of the trace module. Anaconda (or to be concrete the Blivet storage library used by Anaconda

[issue15414] os.path.join behavior on Windows (ntpath.join) is unexpected and not well documented

2014-04-16 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue15414> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1669539] Improve Windows os.path.join (ntpath.join) "smart" joining

2014-04-16 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue1669539> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21259] replace "except: pass" by "except Exception: pass"

2014-04-16 Thread Martin Panter
Martin Panter added the comment: If you do go ahead and add “except Exception” clauses, maybe look around at what other exceptions are being handled. The other day I stumbled across this in “tkinter.font” module: try: ... except (KeyboardInterrupt, SystemExit): raise except Exception

[issue21279] str.translate documentation incomplete

2014-04-16 Thread Martin Panter
Martin Panter added the comment: I suspect “iterable” is the wrong term. >>> isinstance(set(), Iterable) True >>> "abc".translate(set()) TypeError: 'set' object does not support indexing >>> "abc".translate(object()) TypeError: &

[issue21071] struct.Struct.format is bytes, but should be str

2014-04-16 Thread Martin Panter
Martin Panter added the comment: This is closely related to Issue 16349. If format strings were explicitly allowed to be byte strings there would be less conflict, but documenting the data type of the “format” attribute is better than nothing. -- nosy: +vadmium

[issue16349] Document whether it's safe to use bytes for struct format string

2014-04-16 Thread Martin Panter
Martin Panter added the comment: The issue of Struct.format being a byte string has been raised separately in Issue 21071. -- ___ Python tracker <http://bugs.python.org/issue16

[issue1062] nice to have a way to tell if a socket is bound

2014-04-16 Thread Martin Panter
Martin Panter added the comment: The suggested subclass might have to call the default bind(("", 0)) before running certain other operations, including connect(), send[to](), recv[from](), since these operations are meant to automatically bind if necessary. -- nosy

[issue16484] pydoc generates invalid docs.python.org link for xml.etree.ElementTree and other modules

2014-04-16 Thread Martin Panter
Martin Panter added the comment: I don’t think these ones could be so easily fixed, but on my computer “pydoc” references: * library/importlib.machinery.html (ideally should be library/importlib.html#module-importlib.machinery) * library/tkinter.font.html (not in Python documentation at all

[issue1191964] asynchronous Subprocess

2014-04-16 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue1191964> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21108] Add examples for importlib in doc

2014-04-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21108> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21280] shutil.make_archive() with default "root_dir" parameter raises FileNotFoundError: [Errno 2] No such file or directory: ''

2014-04-17 Thread Martin Panter
New submission from Martin Panter: >>> from shutil import make_archive; make_archive("a", "tar") Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.4/shutil.py", line 783, in make_archive filename = fun

[issue21109] tarfile: Traversal attack vulnerability

2014-04-17 Thread Martin Panter
Martin Panter added the comment: Seems like shutil._unpack_tarfile() is affected. I guess it could at least do with one of those warnings in the documentation for make_archive(). The patch for this bug looks a bit over enthusiastic, for example skip_prefixes("blaua../stuff") would i

[issue20198] xml.etree.ElementTree.ElementTree.write attribute sorting

2014-04-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue20198> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18304] ElementTree -- provide a way to ignore namespace in tags and seaches

2014-04-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue18304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21224] BaseHTTPRequestHandler, update the protocol version to http 1.1 by default?

2014-04-17 Thread Martin Panter
Martin Panter added the comment: Looking at Issue 430706 and revision 27f36f4bf525, there is concious support for HTTP 1.1 persistent connections. Apparently the 1.0 default is just for backwards compatibility. -- nosy: +vadmium ___ Python tracker

[issue21257] Document parse_headers function of http.client

2014-04-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21257> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16285] Update urllib quoting to RFC 3986

2014-04-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue16285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19829] _pyio.BufferedReader and _pyio.TextIOWrapper destructor don't emit ResourceWarning if the file is not closed

2014-04-18 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue19829> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-04-18 Thread Martin Panter
New submission from Martin Panter: >>> f = open("/dev/stdout", "w+b") # Or any non-seekable file, pipe, etc __main__:1: ResourceWarning: unclosed file <_io.FileIO name='/dev/stdout' mode='rb+'> Traceback (most recent call last): File &qu

[issue18116] getpass.unix_getpass() always fallback to sys.stdin

2014-04-18 Thread Martin Panter
Martin Panter added the comment: I opened Issue 21310 about a ResourceWarning from open() which I suspect is the same as what was originally described here. -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue18

[issue21228] Missing enumeration of HTTPResponse Objects methods of urllib.request.urlopen's http.client.HTTPResponse?

2014-04-21 Thread Martin Panter
Martin Panter added the comment: I interpreted it more along the lines of “. . . returns a http.client.HTTPResponse object [with] the following [additional] methods.” Indeed, a HTTP urlopen() response I just tried does have info(), geturl() and getcode() methods, and I know the info() method

[issue21044] tarfile does not handle file .name being an int

2014-04-21 Thread Martin Panter
Martin Panter added the comment: I ran into a related issue with the gettarinfo() method. Would that fall under the scope of this bug, or should I raise a separate one? >>> with tarfile.open("/dev/null", "w") as tar: ... with open(b"/bin/sh", &q

[issue21251] Standard library trace module crashes with exception

2014-04-23 Thread Martin Kolman
Martin Kolman added the comment: @ 1.: Reproducer attached to the comment - just build the C code and run trace_test.py It is maybe not as minimal as it could be but I'm afraid the context of what the module is doing would be lost if it was cut down too aggressively. @ 2.: I'm afra

[issue21332] subprocess bufsize=1 docs are misleading

2014-05-01 Thread Martin Panter
Martin Panter added the comment: Perhaps you can avoid the 10 s deadlock timeout and threading in your test by closing the underlying input pipe file descriptor (or raw file object), without flushing it. Also, it seems to me that “line_buffering=True” is redundant with “write_through=True

[issue21332] subprocess bufsize=1 docs are misleading

2014-05-01 Thread Martin Panter
Martin Panter added the comment: Sorry, it seems I was wrong on the second point. Looking closer, it seems write-through mode only flushes the TextIOWrapper layer, not the underlying binary file object, whereas line-buffering mode flushes everything to the OS, so the extra line_buffering=True

[issue21396] Python io implementation doesn't flush with write_through=True unlike C implementation

2014-05-01 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21396> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21363] io.TextIOWrapper always closes wrapped files

2014-05-01 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21363> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2014-05-01 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21368> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21364] Documentation Recommends Broken Pattern

2014-05-01 Thread Martin Panter
Martin Panter added the comment: That particular revision isn’t sound so bad; I think the next revision, 78fb7f8cd349, which adds the make_streams_binary() function that replaces the variables is a worry though. This is the kind of code I use when I want to write binary data to stdout

[issue21332] subprocess bufsize=1 docs are misleading

2014-05-01 Thread Martin Panter
Martin Panter added the comment: On second thoughts maybe the idea of closing the input is not such a good idea in practice. Once you call os.close() on the file descriptor, that descriptor becomes unallocated, and I can’t see any way to prevent p.stdin.close(), Popen() context, destructors

[issue17756] test_syntax_error fails when run in the installed location

2014-05-05 Thread Martin Pitt
Martin Pitt added the comment: I can reproduce this here. In that test, I added the following: with open('/tmp/debug', 'w') as f: for call in self.stderr.method_calls: f.write('call: %s\n' % str(call)) This gives: ==

[issue21423] concurrent.futures.ThreadPoolExecutor should accept an initializer argument

2014-05-12 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue21423> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9400] multiprocessing.pool.AsyncResult.get() messes up exceptions

2014-05-12 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue9400> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2014-05-12 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue8296> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-05-25 Thread Martin Panter
New submission from Martin Panter: At the bottom of the “tkinter” doc page it mentions the “data” option is available. However I was unable to get it to work well when passing a plain bytes() string in. It seems the bytes() string gets interpreted as UTF-8 somewhere along the line, although

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-05-28 Thread Martin Panter
Martin Panter added the comment: Thanks for looking at this. Originally the issue was found by reading the GIF and PNG images on various web pages, such as <http://www.weatherzone.com.au/vic/north-central/castlemaine>. However I was also able to produce the problem with the other form

[issue21619] Cleaning up a subprocess with a broken pipe

2014-05-31 Thread Martin Panter
New submission from Martin Panter: The documentation for the “subprocess” module says that a “with” statement will “wait for” the process, implying that it does not leave a zombie. However this is not the case if there is buffered input data: $ python3 -Wall -bt -q >>> import s

[issue21677] Exception context set to string by BufferedWriter.close()

2014-06-05 Thread Martin Panter
New submission from Martin Panter: I made a writer class whose write() and flush() methods (unintentionally) triggered exceptions. I wrapped this in a BufferedWriter. When close() is called, the resulting exception has a string object in its __context__ attribute. Although the original error

[issue634412] RFC 2387 in email package

2014-06-06 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue634412> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11681] -b option undocumented

2014-06-07 Thread Martin Panter
Martin Panter added the comment: Trouble is, in Python 2 bytes() and str() are the same thing, and most of those conditions don’t apply. Maybe something like this is more correct: -b : issue warnings about comparing bytearray with unicode. (-bb: issue errors

[issue20699] Behavior of ZipFile with file-like object and BufferedWriter.

2014-06-07 Thread Martin Panter
Martin Panter added the comment: I have a related issue in Python 3.4. I suspect it is the same underlying problem as Henning’s. BufferedWriter is trying to write memoryview() objects, but the documentation for RawIOBase.write() implies it only has to accept bytes() and bytearray() objects

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: The attached file is a patch for backporting this fix to 2.7.7. -- Added file: http://bugs.python.org/file35573/cpython2-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
New submission from Martin Dengler: This patch teaches distutils/command/upload.py to return a non-zero exit code when uploading fails. Currently a zero error code is returned (specifically, no Exception is raised by upload.run(...)) regardless of the HTTP response from the server or any

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: Here is the patch against hg tip. -- Added file: http://bugs.python.org/file35581/cpython-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Changes by Martin Dengler : Removed file: http://bugs.python.org/file35573/cpython2-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: Here is the patch against hg 2.7. -- Added file: http://bugs.python.org/file35582/cpython2-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Changes by Martin Dengler : Removed file: http://bugs.python.org/file35572/cpython-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: I will submit patches with tests as soon as the before & after tests finish. -- ___ Python tracker <http://bugs.python.org/iss

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: Here is the patch against tip, including a new test case. -- Added file: http://bugs.python.org/file35583/cpython-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: Here is the patch against 2.7, including a new test case. -- Added file: http://bugs.python.org/file35584/cpython2-patch-Lib-distutils-command-upload.py.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-11 Thread Martin Dengler
Martin Dengler added the comment: If you'd like me to change anything about the test case please let me know. -- ___ Python tracker <http://bugs.python.org/is

[issue13322] buffered read() and write() does not raise BlockingIOError

2014-06-14 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue13322> ___ ___ Python-bugs-list mailin

[issue9008] CGIHTTPServer support for arbitrary CGI scripts

2014-06-15 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue9008> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2014-06-15 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue5207> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21767] singledispatch docs should explicitly mention support for abstract base classes

2014-06-15 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21767> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2014-06-15 Thread Martin Panter
Martin Panter added the comment: For RFC 2822, perhaps email.utils.parsedate() is good enough? For RFC 3339, Issue 15873 has been opened for the "datetime" module. It has more discussion and code, so perhaps this bug can be closed as a

[issue4887] environment inspection and manipulation API is buggy, inconsistent with "Python philosophy" for wrapping native APIs

2014-06-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue4887> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21777] Separate out documentation of binary sequence methods

2014-06-17 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue21777> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-17 Thread Martin Dengler
Martin Dengler added the comment: I've got the contrib form bit now. -- ___ Python tracker <http://bugs.python.org/issue21722> ___ ___ Python-bugs-list m

[issue13238] Add shell command helpers to subprocess module

2012-11-02 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue13238> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8604] Adding an atomic FS write API

2012-11-02 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue8604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7317] Display full tracebacks when an error occurs asynchronously

2012-11-02 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue7317> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16425] minidom replaceChild(new_child, old_child) removes new_child even if in another document

2012-11-07 Thread Martin Kugler
New submission from Martin Kugler: Calling doc.replaceChild(new_child, old_child) with new_child and old_child being similar nodes in two different documents results in new_child to be removed from its document instead of old_child being removed from doc. Example: new_child

[issue2927] expose html.parser.unescape

2012-11-27 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue2927> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16549] regression: -m json.tool module is broken

2012-11-27 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue16549> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15716] Ability to specify the PYTHONPATH via a command line flag

2012-11-28 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue15716> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16499] CLI option for isolated mode

2012-11-28 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker <http://bugs.python.org/issue16499> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15416] 3 * [] gives a list of 3 cross-referenced lists, a[1]='blah' writes in to ALL three!

2013-01-03 Thread Martin Mokrejs
Martin Mokrejs added the comment: For the sake of internet archives, the following could be included in the FAQ you referred to: http://www.scipy.org/Cookbook/BuildingArrays >>> import numpy as np >>> a=np.array(5*[False],bool) >>> a array([False, False, False

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-01-31 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue16809> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11344] Add os.path.splitpath(path) function

2013-09-14 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker <http://bugs.python.org/issue11344> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2013-10-05 Thread Martin Panter
New submission from Martin Panter: I am using the C version of Element Tree via the main ElementTree module. I have subclassed XMLParser, and created my own target object. I am not that interested in XML doctypes, but the following simplified code raises a DeprecationWarning: $ python3.3

[issue12350] Improve stat_result.st_blocks and st_blksize documentation

2013-10-06 Thread Martin Panter
Martin Panter added the comment: What happened to this patch? The current documentation is very misleading because the descriptions of the two block fields appear to complement each other. -- nosy: +vadmium ___ Python tracker <h

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-16 Thread Martin Matusiak
Martin Matusiak added the comment: I've checked sys.version on IronPython 2.6.1, 2.6.2 (same format) and 2.7.4 (slightly different). The patch includes two new test cases. I've also taken the liberty of adding some newlines in between the items in the dict as I found this code ver

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-16 Thread Martin Matusiak
Martin Matusiak added the comment: Hm, I see. Actually, "in" is already used in this function a little further down: elif "PyPy" in sys_version: So we should change both occurrences then. I'm attaching a v2 with these changes. -- Added file: http://

[issue13405] Add DTrace probes

2013-10-18 Thread Martin Marcher
Changes by Martin Marcher : -- nosy: -serverhorror ___ Python tracker <http://bugs.python.org/issue13405> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-18 Thread Martin Matusiak
Martin Matusiak added the comment: It seems the versions of IronPython 1.0 mentioned in test cases do actually support the "in" keyword, so the first version of the patch is probably sufficient. Example session: >>> sys.version IronPython 1.0.60816 on .NET 2.0.50727.3643

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Martin Matusiak
Martin Matusiak added the comment: Attaching a v3 which uses "in" and "startswith". Just for good measure I ran this module on IronPython 1.0 and it fails on import: - bytes literal: b'(__libc_init)' - "if" as infix operator: line 177 - "unexpect

[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

2013-10-19 Thread Martin Matusiak
Martin Matusiak added the comment: Double checked that the test passes against both default and 2.7 branches. Is there anything else that needs to happen here or are you satisfied, Marc-Andre? -- ___ Python tracker <http://bugs.python.

[issue19303] Typo in devguide - coverage

2013-10-19 Thread Martin Matusiak
New submission from Martin Matusiak: - Another option is to use an installed copy of coverage.py if you already have an installed copy. -- components: Devguide files: typo_coverage.diff keywords: patch messages: 200474 nosy: ezio.melotti, numerodix priority: normal severity: normal

<    5   6   7   8   9   10   11   12   13   14   >