[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

2010-01-12 Thread Ned Deily
Ned Deily added the comment: Works for me. GNU gettext, which provides libintl, is not included in OS X 10.6. Chances are your build is being contaminated by packages installed via MacPorts or Fink or in /usr/local. If you do want to build with it, check config.log in your build directory.

[issue7657] test_ctypes failure on AIX 5.3

2010-01-12 Thread sangamesh
sangamesh added the comment: These failures are specific to xlc compiler In xlc signed bit fields will be mapped to unsigned by default as opposed to gcc where the value stored in the bit field is of type declared. so the the value returned by "func(byref(b), name)" positive in some cases as

[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-01-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a patch that should fix the build issues with the 10.4 SDK. The patch touches configure.in, run autoconf and autoheader after applying the patch. I haven't tested the patch yet beyond compilation on 10.6 system without the 10.4 SDK. This p

[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

2010-01-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: As Ned noted you probably have installed GNU gettext in /usr/local and that copy does not contain both intel architectures (i386 and x86_64) There's nothing we can do about that, I have tried to find a way to exclude non-system locations from the default com

[issue7680] pythonw crash while attempting to start() a thread object

2010-01-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: pythonw.exe has an invalid stdout. Does the problem reproduce when you call print function directly, without a thread? -- nosy: +amaury.forgeotdarc ___ Python tracker __

[issue7681] Incorrect division in [wave.py] causing crash

2010-01-12 Thread Alf P. Steinbach
New submission from Alf P. Steinbach : CPython 3.1.1 in Windows XP. Traceback (most recent call last): File "C:\Documents and Settings\Alf\sound\error.py", line 6, in writer.setframerate( framerate ) NameError: name 'framerate' is not defined Exception wave.Error: Error('sampling rate not

[issue7681] Incorrect division in [wave.py] causing crash

2010-01-12 Thread Alf P. Steinbach
Changes by Alf P. Steinbach : Removed file: http://bugs.python.org/file15834/error.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7681] Incorrect division in [wave.py] causing crash

2010-01-12 Thread Alf P. Steinbach
Alf P. Steinbach added the comment: Sorry, here's correct error message: Traceback (most recent call last): File "C:\Documents and Settings\Alf\sound\error.py", line 8, in writer.writeframes( b"\0"*2*4 ) File "C:\Program Files\cpython\python31\lib\wave.py", line 432, in writeframes

[issue7682] Optimisation of if with constant expression

2010-01-12 Thread Sylvain Defresne
New submission from Sylvain Defresne : Python compiler detect some constant expression used in if / while statement and evaluate them at compilation. However, it does not perform some simple optimisation (evaluating not unary expression or checking if and or or expression are constant because

[issue7682] Optimisation of if with constant expression

2010-01-12 Thread Sylvain Defresne
Changes by Sylvain Defresne : Removed file: http://bugs.python.org/file15836/compile.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7682] Optimisation of if with constant expression

2010-01-12 Thread Sylvain Defresne
Sylvain Defresne added the comment: Correct version of the patch. -- Added file: http://bugs.python.org/file15837/compile.diff ___ Python tracker ___

[issue7682] Optimisation of if with constant expression

2010-01-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue7681] Incorrect division in [wave.py] causing crash

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: In your example, the "n_frames" name does not exist, which is causing the problem. In your first comment, "framerate" also did not exist. I don't know what a proper frame rate value is, but I just put 10 in there and it worked fine. Can you confirm? --

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

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

[issue1602] windows console doesn't print utf8 (Py30a2)

2010-01-12 Thread sorin
Changes by sorin : -- nosy: +sorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailma

[issue7680] pythonw crash while attempting to start() a thread object

2010-01-12 Thread dontbugme
dontbugme added the comment: I did not understand the question. If you were meaning running a plain print(), then it does work: #!/usr/bin/env python print "foo" IDLE 2.6.4 No Subprocess >>> foo >>> Well, as you suggested the problem most probably originates from calling print

[issue2679] email.feedparser regex duplicate

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue7683] Wrong link in HTML documentation

2010-01-12 Thread Francesco Ricciardi
New submission from Francesco Ricciardi : The first page of the Python Tutorial in version 3.1 (http://docs.python.org/3.1/tutorial/index.html) has the "previous topic" link pointing to "What’s New in Python 2.0" instead of "What’s New in Python 3.1". -- assignee: georg.brandl componen

[issue7523] add SOCK_NONBLOCK and SOCK_CLOEXEC to socket module

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch is basically fine. I'll add a "try .. finally" to the tests. lekma, do you have a real name that we should add to the ACKS file? -- ___ Python tracker ___

[issue2554] test_ioctl failed Python 2.6a2 Solaris 10 SUN C

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue7683] Wrong link in HTML documentation

2010-01-12 Thread Francesco Ricciardi
Francesco Ricciardi added the comment: As written in the description, it should point to the "What's New in Python 3.1" page, shouldn't it? -- ___ Python tracker ___ ___

[issue7683] Wrong link in HTML documentation

2010-01-12 Thread July Tikhonov
July Tikhonov added the comment: I don't see anything wrong in this fact.. All "what's new" pages since python 2.0 are keeped in documentation, not only the last one. -- nosy: +july ___ Python tracker ___

[issue7683] Wrong link in HTML documentation

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: The section before the tutorial is the "What's new" and there all the "What's new" pages are listed starting from 3.1 to 2.0 in descending order. The "What's new in Python 2.0" is therefore the last page in the "What's new" section so the link in the tutorial po

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Alex
Alex added the comment: Ugh, I haven't had the time to work on this, just wanted to note that this now applies to 2.7 as well since set literals were backported. -- ___ Python tracker _

[issue7523] add SOCK_NONBLOCK and SOCK_CLOEXEC to socket module

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looking at it again, there's the question of accept() behaviour. In the original code, it will call internal_setblocking() on the new fd if the listening socket is non-blocking. In the new code, if SOCK_NONBLOCK is defined it will not call any OS function to

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7669] test_unicode_file fails with non-ascii path

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: This is because in "path = join(os.getcwd(), path)" os.getcwd() returns a non-ascii byte string and path is unicode, so the cwd is implicitly decoded with the ascii codec in join and the error is raised. Using getcwdu() when the path is unicode seems to fix the

[issue6651] Py3k's posixpath.relpath not compatible with ntpath.relpath

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-lis

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: Added the FlushViewOfFile calls, and an msync call to the close method. Not sure how to explicitly test this, if it's possible. Current tests pass on Windows, I'll need to check *NIX when I have the access later today. As for justification, from the UnmapViewOf

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : Removed file: http://bugs.python.org/file15838/issue2643.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: tab/space issue, updated the patch -- Added file: http://bugs.python.org/file15839/issue2643.diff ___ Python tracker ___ _

[issue3426] os.path.abspath with unicode argument should call os.getcwdu

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: This also caused the failure in #7669. I think that the functions in os.path are supposed to return unicode when they get unicode, so I agree that os.getcwdu should be used instead. I'm not sure about os.path.supports_unicode_filenames though. -- assigne

[issue7669] test_unicode_file fails with non-ascii path

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: See #3426. -- priority: -> normal resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue2919] Merge profile/cProfile in 3.0

2010-01-12 Thread Brett Cannon
Brett Cannon added the comment: I'll see if I can have a look sometime soon, but my profile experience is practically non-existent so I am not the best person for a code review. -- ___ Python tracker _

[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

2010-01-12 Thread Steve Steiner
Steve Steiner added the comment: It's in /usr/local/include alright but I have no idea with which package it came in. I don't use Fink or Macports. If it's not going to wreck the build, maybe remove the "Report this to http://bugs.python.org/"; instructions? --

[issue7632] dtoa.c: oversize b in quorem

2010-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: Progress report: I've had a response, and fix, from David Gay for the first 2 bugs (Stefan's original bug and the incorrect subnormal result); I'm still arguing with him about a 3rd one (not reported here; there's some possibly incorrect code in bigcomp tha

[issue3426] os.path.abspath with unicode argument should call os.getcwdu

2010-01-12 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue767645] incorrect os.path.supports_unicode_filenames

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue767645] incorrect os.path.supports_unicode_filenames

2010-01-12 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Dave Malcolm
Dave Malcolm added the comment: Attaching a probably over-simplistic attempt at this patch, against the py3k branch. This patch attempts to extend the replacement of LOAD_CONST, , LOAD_CONST, BUILD_LIST, COMPARE_OP(in) with LOAD_CONST(tuple), COMPAREOP(in) so that it also replaces:

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Alex
Alex added the comment: David, I think it should use frozen set since doing it this way could actually increase the time the operation takes (which is certainly not our goal!). Plus marshall.c already handles frozenset, so I don't think it's that much more work. -- _

[issue767645] incorrect os.path.supports_unicode_filenames

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: Maybe os.path.supports_unicode_filenames should be deprecated. The doc currently says: "True if arbitrary Unicode strings can be used as file names (within limitations imposed by the file system), and if os.listdir() returns Unicode strings for a Unicode argumen

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Dave Malcolm
Dave Malcolm added the comment: Alex: good point - thanks! Attaching updated version of the patch (again, against py3k, likewise, I'm somewhat new to this code, so I may have missed things) With this: >>> dis.dis(lambda o: o in {1,2,3}) 1 0 LOAD_FAST0 (o)

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Alex
Alex added the comment: The patch looks more or less right to me (but I'm far from an expert). It needs tests in the peephole tests though. -- ___ Python tracker ___ __

[issue767645] incorrect os.path.supports_unicode_filenames

2010-01-12 Thread R. David Murray
R. David Murray added the comment: In addition, whether or not true unicode filenames are supported really depends, at least on Linux, on the *filesystem*, not on the OS (for some definition of support). In other words, I think os.path.supports_unicode_filenames is an API design that is brok

[issue7684] decimal.py: infinity coefficients in tuples

2010-01-12 Thread Stefan Krah
New submission from Stefan Krah : It should not be possible to pass coefficients when constructing infinities from tuples. Otherwise it looks like infinities can have payloads (which they can't). Example: >>> import decimal, cdecimal >>> d = decimal.Decimal((0, (4, 5, 3, 4), 'F')) >>> d Decim

[issue7684] decimal.py: infinity coefficients in tuples

2010-01-12 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue7647] Add statvfs flags to the posix module

2010-01-12 Thread Adam Jackson
Adam Jackson added the comment: None of the other symbolic constants in 'posix' have documentation. Perhaps they should, but the patch is at least doing the same as what's already done. -- ___ Python tracker

[issue767645] incorrect os.path.supports_unicode_filenames

2010-01-12 Thread Florent Xicluna
Florent Xicluna added the comment: Additionally it filters out test_pep277 on some platforms. But seemingly, it is not needed anymore with this patch. -- nosy: +flox resolution: later -> Added file: http://bugs.python.org/file15842/issue767645_test_pep277.py _

[issue7610] Cannot use both read and readline method in same ZipExtFile object

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some comments: * you should probably write `n = sys.maxsize` instead of `n = 1 << 31 - 1` * ZipExtFile.read() should support `n=None` as a synonym to `n=-1` (read everything) * `bytes` as a variable name isn't very good since it's the built-in name for bytestr

[issue767645] incorrect os.path.supports_unicode_filenames

2010-01-12 Thread Joe Amenta
Joe Amenta added the comment: If it is decided to keep supports_unicode_filenames, here is a patch for test_os.py that verifies the value of supports_unicode_filenames against the following line from the documentation: "True if arbitrary Unicode strings can be used as file names (within limit

[issue1693546] email.Message set_param rfc2231 encoding incorrect

2010-01-12 Thread R. David Murray
R. David Murray added the comment: Hmm. The RFC text says: Note that quotes around parameter values are part of the value syntax; they are NOT part of the value itself. Furthermore, it is explicitly permitted to have a mixture of quoted and unquoted continuation fields. So this l

[issue7685] minor typo in re docs

2010-01-12 Thread Michael Stephens
New submission from Michael Stephens : Just something small that bothers me whenever I'm in the re docs - his name's spelled 'Malcolm Reynolds', not 'Malcom Reynolds' ;) -- assignee: georg.brandl components: Documentation files: malcolm_typo.diff keywords: patch messages: 97662 nosy: ge

[issue7654] [patch] Enable additional bytes and memoryview tests.

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r77448 and r77449, thank you. -- nosy: +pitrou resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: A test could explicitly close a dirtied mmaped file and then open() it to check that everything was written, no? -- nosy: +pitrou ___ Python tracker __

[issue1721862] email.FeedParser.BufferedSubFile improperly handles "\r\n"

2010-01-12 Thread R. David Murray
R. David Murray added the comment: This seems to be a duplicate of issue 170, which has a simpler patch. -- nosy: +r.david.murray resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed superseder: -> email parser incorrectly breaks headers with a

[issue1555570] email parser incorrectly breaks headers with a CRLF at 8192

2010-01-12 Thread R. David Murray
R. David Murray added the comment: See also issue 1721862, which has a different test and patch. This one seems simpler. -- nosy: +r.david.murray stage: -> patch review type: -> behavior ___ Python tracker _

[issue7632] dtoa.c: oversize b in quorem

2010-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed the crash that Stefan originally reported in r77450. That revision also removes the 'possibly incorrect code in bigcomp that probably never actually gets called'. -- ___ Python tracker

[issue7681] Incorrect division in [wave.py] causing crash

2010-01-12 Thread Alf P. Steinbach
Alf P. Steinbach added the comment: No, sorry, the bugs in [wave.py] have nothing to do with a name IN A COMMENT in the trivial code to exercise the bugs. To reproduce the crash, just run the supplied code with Python 3.1.1 in Windows XP. The cause of the crash is, as I pointed out, use of P

[issue7544] Fatal error on thread creation in low memory condition

2010-01-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Running the tests in debug mode gives the following error: test_3_join_in_forked_from_thread (test.test_threading.ThreadJoinOnShutdown) ... Fatal Python error: Invalid thread state for this thread [21851 refs] FAIL [snip] =

[issue7632] dtoa.c: oversize b in quorem

2010-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: Second bug fixed in r77451 (trunk), using a fix from David Gay, modified slightly for correctness. -- ___ Python tracker ___ __

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2010-01-12 Thread Dave Malcolm
Dave Malcolm added the comment: Thanks for looking at the patch. Attached is an updated version (again against py3k) which adds tests to Lib/test/test_peepholer.py, for both the new folding away of BUILD_SET, and for the pre-existing folding of BUILD_LIST (which didn't seem to have tests). H

[issue7632] dtoa.c: oversize b in quorem

2010-01-12 Thread Mark Dickinson
Mark Dickinson added the comment: Merged fixes so far, and a couple of other cleanups, to py3k in r77452, and release31-maint in r77453. -- ___ Python tracker ___ __

[issue7681] Incorrect division in [wave.py]

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: There is no crash, but I see what you are saying now. Patch to correct the two divisions and a test similar to your example. -- keywords: +needs review, patch stage: needs patch -> patch review title: Incorrect division in [wave.py] causing crash -> Incor

[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2010-01-12 Thread ivank
New submission from ivank : This probably only applies to Windows. The redundant 'b' modes still work on Linux. These worked on Windows in 2.6.4: open('test', 'rbb') open('test', 'wbb') open('test', 'abb') and possibly others. In 2.7a2, they throw ValueErrors like this: >>> open('test', 'wb

[issue7685] minor typo in re docs

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r77455 (trunk), r77456 (release26-maint), r77457 (py3k) and r77458 (release31-maint), thanks! -- assignee: georg.brandl -> ezio.melotti nosy: +ezio.melotti priority: -> normal resolution: -> fixed stage: -> committed/rejected status: open ->

[issue5178] Add context manager for temporary directory

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue3426] os.path.abspath with unicode argument should call os.getcwdu

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a patch that uses os.getcwdu() instead of os.getcwd() when the arg of abspath is unicode (with tests). It also include an helper context manager in test_support used to create temp dirs and set them as cwd (this will be committed separately) and two hel

[issue3426] os.path.abspath with unicode argument should call os.getcwdu

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue3636] Managing dual 2.x and 3.0 installations on Windows

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: This won't solve the problem of dual installations, but it'll leave things how you were expecting... There is an option in the installer on the customize page for "Register Extensions". Choosing to not install that item will keep the installer from modifying th

[issue2375] PYTHON3PATH environment variable to supersede PYTHONPATH for multi-Python environments

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list maili

[issue7544] Fatal error on thread creation in low memory condition

2010-01-12 Thread STINNER Victor
STINNER Victor added the comment: > Running the tests in debug mode gives the following error: > ... Fatal Python error: Invalid thread state for this thread I tried all Lib/test/test_thread*py, but not in debug mode :-/ The problem is here: PyThreadState_New() -> _PyGILState_NoteThreadState()

[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-01-12 Thread Jeremy Kloth
Jeremy Kloth added the comment: I have developed a patch that adds the ability to disable SSLv2, SSlv3 and TLSv1 when using the SSLv23 method. It changes Modules/_ssl.c, Lib/ssl.py and Doc/library/ssl.rst. -- keywords: +patch nosy: +jeremy.kloth Added file: http://bugs.python.org/file

[issue3426] os.path.abspath with unicode argument should call os.getcwdu

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: You could use assertIsInstance(s, unicode, '%r is not unicode' % s) in the tests instead of your assertTrue. I think the rest of it looks good. Works for me. -- nosy: +brian.curtin ___ Python tracker

[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailin

[issue2694] msilib file names check too strict ?

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> needs patch versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ ___ P

[issue444582] Finding programs in PATH, addition to os

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5115] Extend subprocess.kill to be able to kill process groups

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue7579] Patch to add docstrings to msvcrt

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-lis

[issue4772] undesired switch fall-through in socketmodule.c

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___ _

[issue7306] Patch - skip winsound tests if no default sound is configured

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue7347] Add {Create|Delete}KeyEx to _winreg, doc and test updates

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review priority: -> normal stage: -> patch review versions: -Python 2.5 ___ Python tracker ___ ___

[issue7301] Add environment variable $PYTHONWARNINGS

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review priority: -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-lis

[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : Removed file: http://bugs.python.org/file15262/issue5774_20091104_v1.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review Added file: http://bugs.python.org/file15850/issue5774.patch ___ Python tracker ___ __

[issue5116] expose _CrtSetReportMode via the msvcrt module

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +26backport -needs review, patch, patch stage: -> needs patch versions: -Python 3.0, Python 3.1 ___ Python tracker ___ ___

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1222585] C++ compilation support for distutils

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue7672] _ssl module causes segfault

2010-01-12 Thread Bill Janssen
Bill Janssen added the comment: Martin, I'm thinking that the module object has a __del__ method, and we could un-register the callbacks there. But I don't know if that method would ever get called. How does the act of "unloading a library" interact with the initialized Python interpreter?

[issue7672] _ssl module causes segfault

2010-01-12 Thread Sean Soria
Sean Soria added the comment: Simply unloading the callbacks wouldn't be wise. Callbacks are necessary for proper thread safety with libcrypto (man pages says random crashing could occur without them). So setting them to NULL could cause random crashing which is even worse than what's there n

[issue7681] Incorrect division in [wave.py]

2010-01-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch! Applied in r77459. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue2846] Gzip cannot handle zero-padded output + patch

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: Here tadek's patch updated for trunk, with a test added to it. I feel like this should be documented somewhere, but Doc/Library/gzip.rst doesn't feel right. Maybe it just needs a mention in the "What's new" or something? -- assignee: -> brian.curtin

[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2010-01-12 Thread Ezio Melotti
Ezio Melotti added the comment: With 2.7 I can reproduce the issue on Windows 7 (i.e. I get a ValueError). However I'm not sure how common is to add a 'b' indiscriminately: 1) most of the times the modes are written as strings, and not generated automatically; 2) even if generated, checking if

[issue2846] Gzip cannot handle zero-padded output + patch

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin : Removed file: http://bugs.python.org/file15851/issue2846.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2846] Gzip cannot handle zero-padded output + patch

2010-01-12 Thread Brian Curtin
Brian Curtin added the comment: Updated patch with some documentation -- Added file: http://bugs.python.org/file15852/issue2846.diff ___ Python tracker ___ __

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7658] OS X pythonw.c compile error with 10.4 or earlier deployment target: no spawn.h

2010-01-12 Thread Ned Deily
Ned Deily added the comment: Thanks, Ronald. The patch looks good. I've got a patch in progress for the LIPO flags part: looks like the key is 'ppc' for DEPLOYMENT_TARGET <= 10.4 and 'ppc7400' for DEPLOYMENT_TARGET >= 10.5 for either gcc-4.0 or -4.2. I'll test the two together on the variou

  1   2   >