[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

[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

[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

[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__') ...

[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 ___

[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

[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 --

[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 ___ ___

[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 ___

[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 ___

[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

[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

[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 ___

[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

[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

[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

[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 ___ _

[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

[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

[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

[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

[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 ___ ___

[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

[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

[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 ___ __

[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 ___ _

[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

[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: 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

[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

[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 _

[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

[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 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. -- ___

[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.

[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 ___ _

[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

[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

[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

[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

[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

[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
Changes by John Posner : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2010-08-08 Thread Brian Brazil
Brian Brazil 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', 'w').w

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

2010-08-08 Thread R. David Murray
R. David Murray 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 close this issue as won't

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

2010-08-08 Thread Nick Coghlan
Nick Coghlan 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 the max cache size

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

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

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

2010-08-08 Thread Руслан Ижбулатов
Руслан Ижбулатов 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 ___

[issue9292] Dead code in Modules/pyexpat.c

2010-08-08 Thread Brian Brazil
Brian Brazil 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 : -- nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue5673] Add timeout option to subprocess.Popen

2010-08-08 Thread Pablo Bitton
Pablo Bitton 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 &", stdin=subprocess.PIPE, stdout=su

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

2010-08-08 Thread Tim Golden
Tim Golden added the comment: Committed in r83815, r83816, r83817 -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue9292] Dead code in Modules/pyexpat.c

2010-08-08 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: This patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2010-08-08 Thread Tim Golden
Tim Golden added the comment: Committed as r83830, r83831, r83832 -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna 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 tracker

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

2010-08-08 Thread Tim Golden
Tim Golden added the comment: Duplicate of #2304 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Pyt

[issue9292] Dead code in Modules/pyexpat.c

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: r83834 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

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

2010-08-08 Thread Tim Golden
Tim Golden 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 or Python comman

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Mark Lawrence
Mark Lawrence 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 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é wrote: > > Tarek Ziadé added the comment: > > looks good, minor changes before I commit it > > can you: > > - remove all old patches in this issue > - mak

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, if it's still a problem. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-

[issue8006] os.popen in Python 3.1

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

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

2010-08-08 Thread Tim Golden
Tim Golden 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: import subprocess FILENAME = "abc£.bat" FILENAME.encode ("ascii") # # UnicodeEncodeError # with open (FILENAME, "w") as f

[issue1707753] get status output fix for Win32

2010-08-08 Thread Tim Golden
Tim Golden 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 I'm not interested i

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Stefan Krah
Stefan Krah 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 similar: gcc: Parser/pgenma

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

2010-08-08 Thread Thomas Heller
Thomas Heller 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 ___

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

2010-08-08 Thread Thomas Heller
Thomas Heller added the comment: Fixed in rev 83836 (release27-maint branch) and rev. 83837 (py3k branch). -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7564] test_ioctl may fail when run in background

2010-08-08 Thread Florent Xicluna
Florent Xicluna added the comment: Fixed with revision 83839. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Mark Lawrence
Mark Lawrence 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 rot, why not simply close

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/8/8 Mark Lawrence : > > Mark Lawrence 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 noon

[issue8047] Serialiser in ElementTree returns unicode strings in Py3k

2010-08-08 Thread Stefan Behnel
Stefan Behnel 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 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 : Removed file: http://bugs.python.org/file18405/issue9452.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9452] configparser support for reading from strings and dictionaries

2010-08-08 Thread Łukasz Langa
Łukasz Langa 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 couple were ed

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

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Reverted because of test-breakage on unixes. -- nosy: +benjamin.peterson resolution: fixed -> status: closed -> open ___ Python tracker ___

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

2010-08-08 Thread Raymond Hettinger
Raymond Hettinger 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 should be looked at to see if they

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

2010-08-08 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou 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 don't you simp

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

2010-08-08 Thread Roumen Petrov
Roumen Petrov 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 added the comment: Oh, and I would call CreateSemaphore() with a max count of 1, precisely to guard us against bugs. -- ___ Python tracker ___ ___

[issue5673] Add timeout option to subprocess.Popen

2010-08-08 Thread Brian Curtin
Brian Curtin 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 __

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-08-08 Thread Stefan Krah
Stefan Krah 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 debug/ ../configure --with-

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

2010-08-08 Thread Łukasz Langa
Łukasz Langa 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 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 ___ Python tracker

[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 : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2010-08-08 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18276/issue5412.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou 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 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 django trunk to grep

[issue9431] 2to3 reapplies fix_dict

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ah ha. I found one. -- resolution: out of date -> status: closed -> open ___ Python tracker ___

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

2010-08-08 Thread Łukasz Langa
Łukasz Langa 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 review this patch,

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna 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 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 implementations or (no

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson 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 LONG was argument was

[issue8411] Improve condition variable emulation on NT

2010-08-08 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: "this is a critical lock" should read "this is a critical moment" :) -- ___ Python tracker ___ _

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

2010-08-08 Thread Antoine Pitrou
Antoine Pitrou 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 /etc/mandriva

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

2010-08-08 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16571/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna 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 to keep the current beha

[issue8411] Improve condition variable emulation on NT

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

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

2010-08-08 Thread Florent Xicluna
Florent Xicluna 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 tracker

[issue9431] 2to3 reapplies fix_dict

2010-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: And fixed in r83857. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

  1   2   3   >