[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-08 Thread John Posner
Changes by John Posner : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-08 Thread John Posner
John Posner added the comment: On python-list, Wolfram Hinderer objected to the proposed patch's calling __missing__ a "special method". -- ___ Python tracker ___ __

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-08 Thread John Posner
John Posner added the comment: I think it would be confusing to create of subclass of defaultdict, defining a __missing__ method in that subclass. The existence of the __missing__ method would cancel the main functionality of the defaultdict object: invoking the "default value factory" callab

[issue6005] Bug in socket example

2010-08-08 Thread Brian Brazil
Changes by Brian Brazil : Added file: http://bugs.python.org/file18436/socket-sendall-doc-py3k.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue6005] Bug in socket example

2010-08-08 Thread Brian Brazil
Brian Brazil added the comment: I've updated this patch to apply cleanly to 2.7, and also adapted it to for py3k. I added a small tweak to the example description in socket.rst. I've tested the instructions for both 2.7 and 3k and verified they still work as expected. -- nosy: +bbraz

[issue9253] argparse: optional subparsers

2010-08-08 Thread R. David Murray
R. David Murray added the comment: See also 9540, which has an alternate proposal (that I don't like as much) for how to handle parser arguments supplied after subparsers are declared. Reviewing this, I'm now +1 on fixing this *somehow*, since clearly there is an ambiguity here that needs to

[issue6335] Add support for mingw

2010-08-08 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +BreamoreBoy, xuecan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue3456] compile python using MinGW

2010-08-08 Thread Stefan Krah
Changes by Stefan Krah : -- resolution: -> duplicate status: open -> closed superseder: -> Add support for mingw ___ Python tracker ___ _

[issue9540] argparse: combine subparsers with global positional args

2010-08-08 Thread R. David Murray
R. David Murray added the comment: This is almost a duplicate of issue 9253. Your proposed semantics are different, but it would be better to carry on a discussion of the "correct" semantics in that ticket rather than have two separate and conflicting ones, so I'm closing this as duplicate.

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread René Schümann
René Schümann added the comment: @LRN what program did u used to create the patch? And what to apply it? Just because i can't get Tortoise to apply the patch (An unknown line type was found in line 678 !) and MSYS's patch also does not work. -- ___

[issue1633941] for line in sys.stdin: doesn't notice EOF the first time

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: Benjamin, is it too late too have this fixed in 2.7? -- nosy: +benjamin.peterson, merwok ___ Python tracker ___

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread Éric Araujo
Éric Araujo added the comment: See http://bitbucket.org/tarek/distutils2 -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Stefan Krah
Stefan Krah added the comment: Mark, the proper way of closing an issue is to test first if the problem still exists. -- keywords: +gsoc nosy: +skrah status: pending -> open ___ Python tracker _

[issue5673] Add timeout option to subprocess.Popen

2010-08-08 Thread Pablo Bitton
Changes by Pablo Bitton : -- nosy: +Pablo.Bitton ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor added the comment: nullimporter_unicode.patch: patch NullImporter_init(): - use GetFileAttributesW() instead of GetFileAttributesA() for the Windows version to be fully Unicode compliant - use "O&" format with PyUnicode_FSConverter instead of "es" with Py_FileSystemDefaultEnco

[issue4608] urllib.request.urlopen does not return an iterable object

2010-08-08 Thread Brian Brazil
Brian Brazil added the comment: The attached patch handles short writes, and adds ajaksu2's tests. -- Added file: http://bugs.python.org/file18433/tests-iter-urllib-py3k.patch ___ Python tracker ___

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor added the comment: pyerr_warnformat.patch: create PyErr_WarnFormat() function, and use it in PyType_Ready() and PyUnicode_AsEncodedString(). The patch fixes also setup_context(): work on the unicode filename, not the encoded (bytes) filename. It does fix a bug because len is a

[issue3402] test_nis is hanging on Solaris

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: No, for all we know, it still happens. -- resolution: out of date -> status: closed -> open ___ Python tracker ___ _

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: I can't reproduce this using Windows Vista. -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker ___ __

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor added the comment: r83783 creates run_file() subfunction. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor added the comment: _Py_wchar2char.patch: create _Py_wchar2char() private function, and _wstat() and _wfopen() use it. _Py_wchar2char() function has been improved since the previous version posted to Rietveld: it now computes the exact length of the output buffer, instead of usi

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close this unless anyone shows some interest in it. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker ___ ___

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-08-08 Thread Valeo de Vries
Valeo de Vries added the comment: Thanks for the speedy response! I'm fairly certain that this affects 2.6.5 as well. I'll test and report back when I'm in front of my development machine (sometime tomorrow). -- ___ Python tracker

[issue3456] compile python using MinGW

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: This has just been raised on python-dev, see :- http://mail.python.org/pipermail/python-dev/2010-August/102913.html -- nosy: +BreamoreBoy ___ Python tracker

[issue2840] Expat parser locks XML source file if ContentHandler raises an exception

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: I can't reproduce this on Windows Vista from the command line with 2.7 or py3k. Can someone confirm that I'm correct? -- nosy: +BreamoreBoy ___ Python tracker

[issue1759845] subprocess.call fails with unicode strings in command line

2010-08-08 Thread Shahar Or
Changes by Shahar Or : -- nosy: -DawnLight ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8280] urllib2 passes fragment identifier to server

2010-08-08 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: accepted -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue8280] urllib2 passes fragment identifier to server

2010-08-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in revision 83818(py3k), 83819 (release31-maint) and 83820 (release27-maint). David, a couple of comments on your patch. - Request method was from urllib2, so the proper place of tests were test_urllib2. This already had Requests test so some addition

[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-08 Thread Tim Golden
Tim Golden added the comment: OK, the issue identified by Hirokazu Yamamoto in msg113106 only actually affects the 2.x series, because of the awkwardly multiple-level interaction between file handles. The io rewrite in 3.x seems not to suffer the same way. Nonetheless, the proposed adhok.patc

[issue1643712] Emphasize buffering issues when sys.stdin is used

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: Please note update to #1633941 -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list m

[issue1633941] for line in sys.stdin: doesn't notice EOF the first time

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: This is fixed in py3k but still exists in 2.7. -- nosy: +BreamoreBoy versions: +Python 2.7 -Python 2.6 ___ Python tracker ___

[issue9009] Improve quality of Python/dtoa.c

2010-08-08 Thread Mark Dickinson
Mark Dickinson added the comment: Version of the rewrite_strtod patch applied in r83813. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue4608] urllib.request.urlopen does not return an iterable object

2010-08-08 Thread Brian Brazil
Brian Brazil added the comment: This looks as though its a short write: [pid 28343] recvfrom(5, "GET / HTTP/1.1\r\nAccept-Encoding:"..., 8192, 0, NULL, NULL) = 118 [pid 28343] poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 1) = 1 [pid 28343] sendto(5, "HTTP/1.0 200 OK\r\n", 17, 0, NULL

[issue3075] make minidom.toxml() encoding argument useful

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg111607. -- resolution: -> out of date status: pending -> closed ___ Python tracker ___

[issue3402] test_nis is hanging on Solaris

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg111668. -- resolution: -> out of date status: pending -> closed ___ Python tracker ___

[issue5825] Patch to add "remove" method to tempfile.NamedTemporaryFile

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg85. -- resolution: -> rejected status: pending -> closed ___ Python tracker ___ ___

[issue444582] Finding programs in PATH, adding shutil.which

2010-08-08 Thread Tarek Ziadé
Tarek Ziadé added the comment: looks good, minor changes before I commit it can you: - remove all old patches in this issue - make your code pep8 - rename the 'file' argument to 'filename' - add yourself in ACKS one or two usage examples in the Doc would be a nice plus thx --

[issue9173] logger statement not guarded in shutil._make_tarball

2010-08-08 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek versions: +Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ ___ Py

[issue9511] CharacterEncoderError when reading from sys.stdin from piped input in cmd.exe

2010-08-08 Thread STINNER Victor
STINNER Victor added the comment: If stdin is a pipe, stdin uses ASCII encoding. Do you consider that as a bug? -- ___ Python tracker ___

[issue1294232] Error in metaclass search order

2010-08-08 Thread Daniel Urban
Daniel Urban added the comment: I think the situation is a bit more complicated. Here is the example described by Pedro Werneck (this is py3k, but its essentially the same in 2.x): >>> class M_A(type): ... def __new__(mcls, name, bases, ns): ... print('M_A.__new__') ...

[issue9522] xml.etree.ElementTree forgets the encoding

2010-08-08 Thread Stefan Behnel
Stefan Behnel added the comment: I think it makes sense to keep input and output separate. After all, the part of the software that outputs a document doesn't necessarily know how it came in, so having the default output encoding depend on the input sounds error prone. Encoding should always

[issue6008] Idle should be installed as `idle3.1` and not `idle3`

2010-08-08 Thread Ned Deily
Ned Deily added the comment: For OS X installer builds, this was fixed by r72723 prior to the final release of 3.1; idle is installed in the framework bin directory as idle3 with a symlink to the versioned name, i.e. idle3.n, and the optional UNIX command-line tools package installs symlinks

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread Руслан Ижбулатов
Руслан Ижбулатов added the comment: Where's the distutils2 code? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

<    1   2   3