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

2010-08-08 Thread Руслан Ижбулатов
Руслан Ижбулатов lrn1...@gmail.com added the comment: Where's the distutils2 code? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___ ___

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

2010-08-08 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue9522] xml.etree.ElementTree forgets the encoding

2010-08-08 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net 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

[issue1294232] Error in metaclass search order

2010-08-08 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com 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): ...

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

2010-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: If stdin is a pipe, stdin uses ASCII encoding. Do you consider that as a bug? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9511

[issue9173] logger statement not guarded in shutil._make_tarball

2010-08-08 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: - tarek versions: +Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9173 ___

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

2010-08-08 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com 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

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

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closing as no response to msg85. -- resolution: - rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5825

[issue3402] test_nis is hanging on Solaris

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closing as no response to msg111668. -- resolution: - out of date status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3402

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

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Closing as no response to msg111607. -- resolution: - out of date status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3075

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

2010-08-08 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com 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

[issue9009] Improve quality of Python/dtoa.c

2010-08-08 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Version of the rewrite_strtod patch applied in r83813. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9009 ___

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

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org http://bugs.python.org/issue1633941

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

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Please note update to #1633941 -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1643712 ___

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

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk 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,

[issue8280] urllib2 passes fragment identifier to server

2010-08-08 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

[issue8280] urllib2 passes fragment identifier to server

2010-08-08 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- resolution: accepted - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8280 ___

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

2010-08-08 Thread Shahar Or
Changes by Shahar Or em...@shahar-or.co.il: -- nosy: -DawnLight ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1759845 ___ ___ Python-bugs-list

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

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org

[issue3456] compile python using MinGW

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org

[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 valeo...@gmail.com 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

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'll close this unless anyone shows some interest in it. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3539

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: r83783 creates run_file() subfunction. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9425 ___

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

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: I can't reproduce this using Windows Vista. -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8631

[issue3402] test_nis is hanging on Solaris

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: No, for all we know, it still happens. -- resolution: out of date - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3402

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2010-08-08 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com 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 rep...@bugs.python.org

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue5673] Add timeout option to subprocess.Popen

2010-08-08 Thread Pablo Bitton
Changes by Pablo Bitton pablo.bit...@gmail.com: -- nosy: +Pablo.Bitton ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___ ___ Python-bugs-list

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org 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 rep...@bugs.python.org

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

2010-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See http://bitbucket.org/tarek/distutils2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___

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

2010-08-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Benjamin, is it too late too have this fixed in 2.7? -- nosy: +benjamin.peterson, merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1633941

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

2010-08-08 Thread René Schümann
René Schümann whitet...@gmail.com 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. --

[issue9540] argparse: combine subparsers with global positional args

2010-08-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue3456] compile python using MinGW

2010-08-08 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- resolution: - duplicate status: open - closed superseder: - Add support for mingw ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3456

[issue6335] Add support for mingw

2010-08-08 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +BreamoreBoy, xuecan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6335 ___ ___

[issue9253] argparse: optional subparsers

2010-08-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue6005] Bug in socket example

2010-08-08 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com 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.

[issue6005] Bug in socket example

2010-08-08 Thread Brian Brazil
Changes by Brian Brazil brian.bra...@gmail.com: Added file: http://bugs.python.org/file18436/socket-sendall-doc-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6005 ___

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-08 Thread John Posner
John Posner jjpos...@optimum.net 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

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-08 Thread John Posner
John Posner jjpos...@optimum.net added the comment: On python-list, Wolfram Hinderer objected to the proposed patch's calling __missing__ a special method. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9536

[issue9536] defaultdict doc makes incorrect reference to __missing__ method

2010-08-08 Thread John Posner
Changes by John Posner jjpos...@optimum.net: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9536 ___ ___ Python-bugs-list

[issue1076515] shutil.move clobbers read-only files.

2010-08-08 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: Here's a quick test: Python 3.2a1+ (py3k:83811, Aug 8 2010, 09:00:22) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2 Type help, copyright, credits or license for more information. import os, shutil open('a', 'w').write('a') 1 open('b',

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

2010-08-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: It is not a bug as it stands, no, so I've changed the type to feature request. I thought you and...Ezio? were talking about some way to improve the encoding situation when reading from/writing to a pipe. If I'm wrong, you can just

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: With Raymond adding functools.lru_cache and functools.lfu_cache, it should be possible to use those for the various caches in the standard library. My only point of concern is that the standard lib caches tend to allow dynamic modification of

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

2010-08-08 Thread Руслан Ижбулатов
Changes by Руслан Ижбулатов lrn1...@gmail.com: Removed file: http://bugs.python.org/file18428/py3k_mingwmsys_2_autogen.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___

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

2010-08-08 Thread Руслан Ижбулатов
Руслан Ижбулатов lrn1...@gmail.com added the comment: Uh, sorry about that. I've replaced the second diff with the correct one. -- Added file: http://bugs.python.org/file18437/py3k_mingwmsys_2_autogen.diff ___ Python tracker rep...@bugs.python.org

[issue9292] Dead code in Modules/pyexpat.c

2010-08-08 Thread Brian Brazil
Brian Brazil brian.bra...@gmail.com added the comment: The attached patch removes the dead code, regrtest is happy. -- keywords: +patch nosy: +bbrazil Added file: http://bugs.python.org/file18438/xmlparse_ParseFile-dead-code.patch ___ Python tracker

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411 ___ ___

[issue5673] Add timeout option to subprocess.Popen

2010-08-08 Thread Pablo Bitton
Pablo Bitton pablo.bit...@gmail.com added the comment: I'd like to report a problem I encountered with the discussed use pattern using subprocess-timeout-v5.patch on linux. I don't have python3 installed at work, sorry. When running: p = subprocess.Popen(tcpdump -i eth0 file ,

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

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Committed in r83815, r83816, r83817 -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3210

[issue9292] Dead code in Modules/pyexpat.c

2010-08-08 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: This patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9292 ___ ___

[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Committed as r83830, r83831, r83832 -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2304

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Thanks, Brian. Pushed with revision 83833. -- assignee: facundobatista - flox nosy: +flox resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python

[issue1714451] subprocess.py problems errors when calling cmd.exe

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Duplicate of #2304 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1714451 ___

[issue9292] Dead code in Modules/pyexpat.c

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: r83834 -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9292 ___

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

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: I can't reproduce on W7. Strangely, though, although my banner suggests that I have exactly the same build as you, I get a \r\n at the end of the communicate bytestream, not a simple \n as you're getting. Do you have any environment variables

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Fascinating, three days from the second birthday, the OP isn't interested, nobody else is interested but it can't be closed. Clearly I'm missing something. Shall we leave this issue until it gets to it's 10th birthday? --

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

2010-08-08 Thread Jan Killian
Jan Killian jan.kill...@gmail.com added the comment: Hi Tarek Will do that on Tusdas. Examples make sense too Jan On Sun, Aug 8, 2010 at 11:15 AM, Tarek Ziadé rep...@bugs.python.org wrote: Tarek Ziadé ziade.ta...@gmail.com added the comment: looks good, minor changes before I commit it

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Yes, if it's still a problem. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3539 ___

[issue8006] os.popen in Python 3.1

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: I've just run this: code import os fd = os.popen(cat.exe, w) for i in range (100): _ = fd.write (%d\n % i) fd.flush () /code and seen the expected list of numbers on the screen. cat.exe is from the gnuwin32 tools but I'm assuming that

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

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: To confirm the situation on 3.x: a unicode string with non-ascii-encodable characters is fine. The easy test here in the uk is a pound sign: code import subprocess FILENAME = abc£.bat FILENAME.encode (ascii) # # UnicodeEncodeError # with open

[issue1707753] get status output fix for Win32

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: OK, I'm going to close this one: * commands is out of 3.x * it's a convenience for 2.x anyway, not a showstopper If anyone feels keen enough to reopen the request, I'm willing to commit a suitable patch against the release27-maint branch, but

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark, instead of using sarcasm, it would be more productive to research this bug. Skip has given a hint that the search terms VPATH or Makefile might be relevant. Searching for VPATH immediately yields issue 1613, which looks very

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-08 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: issue5504-py27-2.patch is the updated patch that now also works on Windows. -- Added file: http://bugs.python.org/file18439/issue5504-py27-2.patch ___ Python tracker rep...@bugs.python.org

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-08 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: Fixed in rev 83836 (release27-maint branch) and rev. 83837 (py3k branch). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5504

[issue7564] test_ioctl may fail when run in background

2010-08-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with revision 83839. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7564

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Stefan, I'm not interested in researching something that has been available for others to research for two years, I don't understand why they aren't interested and I don't care. If noone can be bothered with an issue why leave it to

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/8/8 Mark Lawrence rep...@bugs.python.org: Mark Lawrence breamore...@yahoo.co.uk added the comment: Stefan, I'm not interested in researching something that has been available for others to research for two years, I don't

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-08-08 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: I would suggest fixing the tostring() behaviour also in a future 3.1.x bug fix release. After all, the current behaviour means that 3.0 and 3.1 would behave different from any other (released or future) Python version here.

[issue6869] Embedded python crashed on 4th run, if ctypes is used

2010-08-08 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: Fixed in rev 83841 (py3k), rev 83842 (release31-maint), and rev 83843 (release27-maint). Thanks for the patch. -- resolution: - fixed status: open - closed ___ Python tracker

[issue9452] configparser support for reading from strings and dictionaries

2010-08-08 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file18405/issue9452.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9452 ___

[issue9452] configparser support for reading from strings and dictionaries

2010-08-08 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Patch updated. All docstrings now have a one-line summary. All multiline docstrings now have a newline character before the closing . No method docstrings now include any additional newlines between them and the code. Most of them were okay, a

[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Reverted because of test-breakage on unixes. -- nosy: +benjamin.peterson resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2304

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I will take a look at the various caches and see if some of their features can be consolidated. It is okay if some need to have their own strategies or situation specific approaches, but you're right that common features

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-08 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9396 ___

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Questions: - why does _cond_timed_wait() decrement n_waiting *twice*? - why does _cond_timed_wait() use InterlockedDecrement()? it doesn't protect against regular accesses to the same memory location, since it isn't guarded by the mutex - why

[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2010-08-08 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Hi Terry, both : a) suggestion is for CFLAGS as work-around b) clarification as build use two preprocessor defines : - NDEBUG is defined for non-debug builds - _DEBUG is defined for debug builds (ref msvc{9}compiler.py) --

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Oh, and I would call CreateSemaphore() with a max count of 1, precisely to guard us against bugs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411

[issue5673] Add timeout option to subprocess.Popen

2010-08-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I don't have python3 installed at work, sorry. Does that mean you have been using the patch with 2.x? If so, that's not valid. -- ___ Python tracker rep...@bugs.python.org

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: If VPATH is intended to work without doing `make distclean` first in the root directory, then this is still valid. I'm not sure if this is the case though (see also issue 1613). cd py3k/ ./configure --with-pydebug make mkdir debug cd

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-08 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Thomas, it seems this change doesn't work for py3k. Buildbots complain and my working copy does as well. Example: http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%203.1/builds/990 -- nosy: +lukasz.langa

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-08-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Done for 3.2 with r83851. Still opened, if someone wants to propose a patch for 3.1. -- assignee: effbot - keywords: +easy -patch stage: commit review - needs patch versions: -Python 3.2

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-08-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5504 ___ ___ Python-bugs-list

[issue5412] extend configparser to support mapping access(__*item__)

2010-08-08 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file18276/issue5412.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5412 ___

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It looks like you are a fixing a bug in setup_context() at the same time as you introduce PyErr_WarnFormat(). Both changes should probably go in separately. The PyErr_WarnFormat() doc needs a versionadded tag. --

[issue9431] 2to3 reapplies fix_dict

2010-08-08 Thread George Boutsioukis
George Boutsioukis gboutsiou...@gmail.com added the comment: Tried it on 2 machines(Debian Ubuntu) with both the sandbox and py3k versions. Maybe my setup is tainted on both, I'll try to find a clean one and try again from scratch. Meanwhile, can you/someone pipe 2to3's output for the whole

[issue9431] 2to3 reapplies fix_dict

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Ah ha. I found one. -- resolution: out of date - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9431 ___

[issue5412] extend configparser to support mapping access(__*item__)

2010-08-08 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Patch updated for a state when #9452 is applied. Creating/overwriting sections with __setitem__ on the parser added. More thorough unit test suite for the mapping protocol. No documentation created yet. Fred, if you applied #9452 you might

[issue4617] SyntaxError when free variable name is also an exception target

2010-08-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: This bug is waiting for unit tests and a small patch cleanup. See previous message: http://bugs.python.org/issue4617#msg99950 -- keywords: -needs review nosy: +ezio.melotti, scoder versions: +Python 3.2 -Python 3.0

[issue9520] Add Patricia Trie high performance container

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: A decade ago, 8gig memory was rare, now it is almost standard for high-end consumer machines. People are now doing bigger computations and stressing the implementation more. So it is plausible that we need to either tweak the core class

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Thanks for your comments. The problem with _cond_timed_wait indicates that the timed wait code hadn't been thoroughly tested at the time of submission. 1) The InterlockedDecrement was left in by mistake. It must be removed 2) The

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: this is a critical lock should read this is a critical moment :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411 ___

[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Please could you attach a Mandriva lsb-release file? $ cat /etc/lsb-release LSB_VERSION=lsb-4.0-amd64:lsb-4.0-noarch DISTRIB_ID=MandrivaLinux DISTRIB_RELEASE=2010.1 DISTRIB_CODENAME=Henry_Farman DISTRIB_DESCRIPTION=Mandriva Linux 2010.1 $ cat

[issue7214] TreeBuilder.end(tag) differs between cElementTree and ElementTree

2010-08-08 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16571/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7214 ___

[issue7214] TreeBuilder.end(tag) differs between cElementTree and ElementTree

2010-08-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: The verification of the matching between start and end tag is performed in a debug assert statement in the Python version. This check is ignored if the module is compiled with -O. It is ignored in the C version, too. I would suggest

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Updated patch file -- Added file: http://bugs.python.org/file18442/nt_cond2.path ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-08-08 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Documentation patch accepted, for the path == XPath confusion and clarify other points too. http://bugs.python.org/issue6488#msg90528 -- assignee: effbot - type: - behavior ___ Python

[issue9431] 2to3 reapplies fix_dict

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: And fixed in r83857. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9431 ___ ___

  1   2   3   >