[issue22392] Clarify documentation of __getinitargs__

2014-09-11 Thread David Gilman
New submission from David Gilman: Implementations of __getinitargs__ return a tuple of the positional arguments for __init__. This wasn't initially apparent to me after reading the docs: I thought you were passing a tuple (args, kwargs) that would get called f(*args, **kwargs) and had

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-12 Thread David Edelsohn
New submission from David Edelsohn: As with Solaris and Issue10812, test_posix fadvise and fallocate fail on AIX. Python is compiled with _LARGE_FILES, which changes the function signature for posix_fadvise and posix_fallocate so that off_t is "long long" on 32 bit system pas

[issue22397] test_socket failure on AIX

2014-09-12 Thread David Edelsohn
New submission from David Edelsohn: AIX has the same test_socket problem with FDPassSeparate as Darwin in Issue12958 so skip some tests. -- components: Library (Lib) files: 12958_aix.patch keywords: patch messages: 226837 nosy: David.Edelsohn, pitrou priority: normal severity: normal

[issue22463] Warnings when building on AIX

2014-09-22 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <http://bugs.python.org/issue22463> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-22 Thread David Edelsohn
David Edelsohn added the comment: Any feedback about which approach would be acceptable? -- ___ Python tracker <http://bugs.python.org/issue22396> ___ ___ Pytho

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-23 Thread David Edelsohn
David Edelsohn added the comment: Attached is a revised patch that disables posix_fadvise() and posix_fallocate() when building on 32 bit AIX with _LARGE_FILES defined. -- Added file: http://bugs.python.org/file36699/22396_aix.patch ___ Python

[issue22396] AIX posix_fadvise and posix_fallocate

2014-09-23 Thread David Edelsohn
David Edelsohn added the comment: The declaration of the two system calls should be fixed in the AIX header, but the clueless response to the AIX problem report is underwhelming. I don't understand the "keep the function and skip the test" suggestion. I thought that was

[issue22397] test_socket failure on AIX

2014-09-30 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue22397> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19951] parse_qsl fails on empty query argument without =

2013-12-11 Thread David Pizzuto
New submission from David Pizzuto: Using an empty query argument with no = fails in urlparse.parse_qsl. Chrome and Firefox accept it without the =, so a navigation to google.com/search?q=foo&bar appears in the address bar as google.com/search?q=foo&bar=. Neither RFC 1738 nor RFC 398

[issue12837] Patch for issue #12810 removed a valid check on socket ancillary data

2013-12-15 Thread David Watson
David Watson added the comment: On Fri 13 Dec 2013, Brett Cannon wrote: > Two things. First, I'm sorry David but my mind is not working fully enough at > the moment to see how msg_controllen is compared to cmsg_len_end without > relying on external value coming in through the par

[issue7980] time.strptime not thread safe

2013-12-16 Thread David Palms
David Palms added the comment: I am still seeing this in 2.7.5, has a patch been created yet? -- nosy: +dpalms2011 ___ Python tracker <http://bugs.python.org/issue7

[issue20298] json library needs a non-strict option to decode single-quoted strings

2014-01-18 Thread David Barnett
New submission from David Barnett: Many sloppy JSON APIs return data with poorly-encoded strings, either with single-quotes as delimiters: {'foo': 'bar'} or with no delimiters at all on keys: {foo: 'bar'} The json library is useless for making sense of this d

[issue19748] test_time failures on AIX

2014-02-18 Thread David Edelsohn
David Edelsohn added the comment: With the patch, the results are: ERROR: test_ctime (test.test_time.TimeTestCase) -- Traceback (most recent call last): File "/home/dje/src/cpython/Lib/test/test_time.py", li

[issue19748] test_time failures on AIX

2014-02-20 Thread David Edelsohn
David Edelsohn added the comment: >>> time.mktime((-100, 1, 10) + (0,)*6) -897577382.0 >>> time.mktime((100, 1, 10) + (0,)*6) 111922.0 >>> time.mktime((1900, 1, 10) + (0,)*6) 2086784896.0 >>> time.mktime((1930, 1, 10) + (0,)*6) -1261497600.0 >>

[issue20700] Docs sidebar scrolls strangely in 3.4 docs

2014-02-20 Thread David Felix
New submission from David Felix: On longer documentation pages, the sidebar is scrolling out of view and in an unexpected manner when the main page is scrolled. Seems to only affect 3.4 docs, but I'm not positive. http://docs.python.org/3.4/whatsnew/3.4.html is a good example. Using Fi

[issue19748] test_time failures on AIX

2014-02-20 Thread David Edelsohn
David Edelsohn added the comment: With the latest patch, test_time passes. >>> time.mktime((-100, 1, 10) + (0,)*6) Traceback (most recent call last): File "", line 1, in OverflowError: mktime argument out of range >>> time.mktime((-100, 1, 10) + (0,)*6) Trac

[issue19748] test_time failures on AIX

2014-02-21 Thread David Edelsohn
David Edelsohn added the comment: WITHOUT the patch to timemodule.c: >>> time.ctime(-2**29) 'Fri Dec 26 21:11:28 1952' >>> time.ctime(2**29) 'Mon Jan 5 10:48:32 1987' ERROR: te

[issue19748] test_time failures on AIX

2014-02-21 Thread David Edelsohn
David Edelsohn added the comment: WITH the patch: >>> time.ctime(-2**29) Traceback (most recent call last): File "", line 1, in OverflowError: ctime() timestamp argument out of range >>> time.ctime(2**29) 'Mon Jan 5 10:48:3

[issue19748] test_time failures on AIX

2014-02-21 Thread David Edelsohn
David Edelsohn added the comment: >>> time.localtime(-2) time.struct_time(tm_year=1969, tm_mon=12, tm_mday=31, tm_hour=15, tm_min=59, tm_sec=58, tm_wday=2, tm_yday=365, tm_isdst=0) >>> time.localtime(-1) time.struct_time(tm_year=1969, tm_mon=12, tm_mday=31, tm_hour=15, tm_

[issue20727] Improved roundrobin itertools recipe

2014-02-21 Thread David Lindquist
New submission from David Lindquist: The roundrobin example in the Recipes section of the itertools documentation (http://docs.python.org/3/library/itertools.html#itertools-recipes) is overly complex. Here is a more straightforward implementation: def roundrobin(*iterables): "round

[issue20736] test_socket: testSendmsgDontWait needlessly skipped on Linux

2014-02-22 Thread David Watson
New submission from David Watson: In test_socket, the decorator on SendmsgStreamTests.testSendmsgDontWait still checks for the old sys.platform value of "linux2", with the result that the test is always skipped, when in fact the test is for a Linux facility. Patch attached for 3.3

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-22 Thread David Watson
David Watson added the comment: > I opened the issue #20718 to track the "FD pass" failures. But the failures in the current issue *all* involve FD passing :) The "Message too long" errors are in tests where the ancillary data (in this case file descriptors) is tru

[issue20742] 2to3 zip fixer doesn't fix for loops.

2014-02-23 Thread David Jones
New submission from David Jones: Consider the following code: for z in zip([1]):pass 2to3 does not convert the zip in this code to list(zip(...)); it does not change this code at all. That can be an (obscure) bug because the zip in Python 2 has different semantics from the zip in Python 3

[issue20727] Improved roundrobin itertools recipe

2014-02-24 Thread David Lindquist
David Lindquist added the comment: Sure. That would be nice. :) Thanks Raymond and Larry -- ___ Python tracker <http://bugs.python.org/issue20727> ___ ___ Pytho

[issue20727] Improved roundrobin itertools recipe

2014-02-24 Thread David Lindquist
David Lindquist added the comment: > other benchmarks show it to be more than twice as slow Can you share the method you used to get those results? Here's what I did: $ python -m timeit --number=100 --setup="from rr_mine import roundrobin" "its = ['ABC',

[issue20727] Improved roundrobin itertools recipe

2014-02-25 Thread David Lindquist
David Lindquist added the comment: Thanks Gareth for your analysis. Very informative! -- ___ Python tracker <http://bugs.python.org/issue20727> ___ ___ Python-bug

[issue1043134] Add preferred extensions for MIME types

2014-03-01 Thread David Lindquist
David Lindquist added the comment: I don't think it is unreasonable to return a well-known extension for certain mime types, text/plain being the most obvious (and most in need of repair; .ksh??). I've attached a patch based on the previous discussion. -- keywords: +

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- keywords: +patch Added file: http://bugs.python.org/file34330/test_kque

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34331/test_kqueue.py.diff ___ Python trac

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34333/test_kqueue.py.diff ___ Python trac

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34332/test_kqueue.py.diff ___ Python trac

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34335/test_kqueue.py.diff ___ Python trac

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-03-10 Thread David Naylor
David Naylor added the comment: As requested, please find attached the unit tests that check `flags' can handle a u_short and `fflags' can handle a u_int. -- Added file: http://bugs.python.org/file34334/test_kqueue.py.diff ___ Python trac

[issue20885] Little Endian PowerPC64 Linux

2014-03-10 Thread David Edelsohn
New submission from David Edelsohn: PowerLinux is shifting to Little Endian with a new ABI (ELFv2). Upstream libffi includes support for the new ABI. What is the recommended method to merge support into CPython? Will CPython update the base libffi or _ctypes/libffi.diff should be updated

[issue2504] Add gettext.pgettext() and variants support

2009-07-09 Thread David Schnur
David Schnur added the comment: I came across this ticket while looking for alternatives to Python's gettext, since I need msgctx support. It seems a patch was supplied for this a while back. I have never contributed to Python, and am not familiar with your release process, but is

[issue6482] PATCH: tiny simplification for subprocess

2009-07-16 Thread David Goodger
David Goodger added the comment: r74028 changes the logic of the code. The "finally" clause always executes, regardless of whether or not an exception was raised. The previous behavior only executed when there was an exception. I don't know if the previous logic was correct, o

[issue6482] PATCH: tiny simplification for subprocess

2009-07-16 Thread David Goodger
David Goodger added the comment: To clarify my last message: the log message for r74028 ('simplify "except: raise" to "finally:"') implies a nonexistent equivalence. So was the log message in error, or the change itself? --

[issue6562] OverflowError in RLock.acquire()

2009-07-24 Thread David Roberts
New submission from David Roberts : I'm getting the following error on Windows in an application I've written (the error does not occur on Linux): Exception in thread Thread-4: Traceback (most recent call last): File "C:\Python26\lib\threading.py", line 525, in __bootstr

[issue6562] OverflowError in RLock.acquire()

2009-07-25 Thread David Roberts
David Roberts added the comment: thread.get_ident() returns 1192 and 1560 in the cases where there is no error, and 1316 in the case where the error is thrown. Doesn't seem particularly unusual, and shows get_ident() isn't throwing the error itself. I also noticed that there is a war

[issue6562] OverflowError in RLock.acquire()

2009-07-25 Thread David Roberts
David Roberts added the comment: I haven't been able to isolate the issue. Could someone provide some insight into what the error could possibly mean so that I have a better idea of what I'm trying to isolate? -- ___ Python trac

[issue6562] OverflowError in RLock.acquire()

2009-07-25 Thread David Roberts
David Roberts added the comment: If I comment out all occurrences of "with self.__lock:" I then get the same error in another part of the code: C:\Python26\lib\threading.py:803: RuntimeWarning: tp_compare didn't return -1 or -2 for exception return _active[_get_ident()] Exce

[issue6562] OverflowError in RLock.acquire()

2009-07-25 Thread David Roberts
David Roberts added the comment: Yes, it is the PIL library. Removing calls to Image.open() still results in the same error - the exception is thrown before it even reaches that bit of the code anyway. Another odd thing is that the exception is only thrown on some of the calls to get_tile_path

[issue6562] OverflowError in RLock.acquire()

2009-07-25 Thread David Roberts
Changes by David Roberts : Added file: http://bugs.python.org/file14568/tilestore.py ___ Python tracker <http://bugs.python.org/issue6562> ___ ___ Python-bugs-list mailin

[issue6562] OverflowError in RLock.acquire()

2009-08-04 Thread David Roberts
David Roberts added the comment: I think I've narrowed it down to the ImageQt class provided by PIL - commenting out the reference to this (in the constructor of the Tile class referenced by TileProvider.run) stops the errors. So how do I go about determining where the problem with Im

[issue6641] strptime doesn't support %z format ?

2009-08-04 Thread David House
David House added the comment: >From the documentation from time.strptime() (which acts the same as datetime.strptime()): "Only the directives specified in the documentation [of time.strftime()] are supported. Because strftime() is implemented per platform it can sometimes of

[issue6562] OverflowError in RLock.acquire()

2009-08-04 Thread David Roberts
David Roberts added the comment: Ok, so if it's a bug in (Py)Qt then I'm not going to worry about it. I've managed to fix the issue in my case anyway, by (essentially) replacing: image = Image.open(fname) image.load() tile = ImageQt(image) with (the much more obvio

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

2009-08-12 Thread David Fraser
Changes by David Fraser : -- nosy: +davidfraser ___ Python tracker <http://bugs.python.org/issue2304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2009-08-12 Thread David Fraser
New submission from David Fraser : (from http://stackoverflow.com/questions/1253122/why-does-subprocess-popen-with-shelltrue-work-differently-on-linux-vs-windows/1254322) When using subprocess.Popen(args, shell=True) to run "gcc --version" (just as an example), on Windows we get this:

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2009-08-12 Thread David Fraser
Changes by David Fraser : Added file: http://bugs.python.org/file14698/current-3.patch ___ Python tracker <http://bugs.python.org/issue6689> ___ ___ Python-bugs-list m

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2009-08-14 Thread David Fraser
David Fraser added the comment: Ah, upon closer inspection - the special parameters $0 $1 $2 etc mentioned in the sh docs refer to parameters within the command string, so that: sh -c 'echo $2 $0 $1' run for "the people" produces: the people run for So the correct pat

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2009-08-14 Thread David Fraser
Changes by David Fraser : Removed file: http://bugs.python.org/file14697/current-2.6.patch ___ Python tracker <http://bugs.python.org/issue6689> ___ ___ Python-bugs-list m

[issue6689] subprocess doesn't pass arguments correctly on Linux when shell=True

2009-08-14 Thread David Fraser
Changes by David Fraser : Removed file: http://bugs.python.org/file14698/current-3.patch ___ Python tracker <http://bugs.python.org/issue6689> ___ ___ Python-bugs-list m

[issue6641] strptime doesn't support %z format ?

2009-08-20 Thread David House
David House added the comment: Yes and no. Firstly, %z isn't listed as deprecated in the documentation of the time module's strftime -- although %Z is (note differing case). Secondly, I still think the bug is invalid, because the documentation of datetime.datetime.strptime says

[issue6921] recursion wierdness ... related to variable scoping?

2009-09-16 Thread David Hanney
New submission from David Hanney : I was playing about with ideas behind b-plus-trees and found i python bug the important bit of code is: for p, k in enumerate(self.keys): self.ptrs[p].dump(indent+1, kmin=lk, kmax=k) print sindent

[issue6921] recursion wierdness ... related to variable scoping?

2009-09-16 Thread David Hanney
David Hanney added the comment: Ooops. I'm just learning Python and it never occurred to me that I could get through the for without k begin defined. At least not until about an hour ago in the cinema. I came here ASAP but you'd already got to it. Sorry for wasting your time. I s

[issue1222585] C++ compilation support for distutils

2009-09-28 Thread David Kirkby
David Kirkby added the comment: Just to add, I'd much appreciate if this bug could be squashed. I see there is a patch, but it is against a 3-year old version, and is not a small patch. Hence I am reluctant to try to apply it myself. It is causing a problem in the Sage project, as I tri

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-09-29 Thread David Bonner
David Bonner added the comment: I've got a patch that fixes this. It allows BZ2File to read multi-stream files as generated by pbzip2, allows BZ2File to open files in append mode, and also updates bz2.decompress to allow it to handle multi-stream chunks of data. We originally wrote it ag

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-09-29 Thread David Bonner
Changes by David Bonner : Removed file: http://bugs.python.org/file15000/bz2_patch.tar.bz2 ___ Python tracker <http://bugs.python.org/issue1625> ___ ___ Python-bugs-list m

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-09-29 Thread David Bonner
David Bonner added the comment: sorry, the previous patch was from an old version. attaching the correct version now. apologies for the noise. -- Added file: http://bugs.python.org/file15001/bz2_patch.tar.bz2 ___ Python tracker <h

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-01 Thread David Bonner
David Bonner added the comment: Thanks for the reply. My company's legal dept. told me that we needed to put the boilerplate into the files as part of releasing it under the apache license. I used a tarball because they also recommended including a full copy of the license with the

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-07 Thread David Bonner
David Bonner added the comment: I can remove the boilerplate from the code as long as I add the following to the submittal: VMware, Inc. is providing this bz2 module patch to you under the terms of the Apache License 2.0 with the understanding that you plan to re-license this under the terms

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-21 Thread David Bonner
David Bonner added the comment: Hrm...yeah, I should probably be setting it to closed as soon as BZ2_bzReadClose() returns, and then back to open once BZ2_bzReadOpen succeeds. Wasn't intentional...thanks for the catch. You guys need a new patch with that change in it? I'll try and

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-21 Thread David Bonner
David Bonner added the comment: Understandable. New patch attached. -- Added file: http://bugs.python.org/file15177/py3k_bz2.patch ___ Python tracker <http://bugs.python.org/issue1

[issue1625] bz2.BZ2File doesn't support multiple streams

2009-10-24 Thread David Bonner
David Bonner added the comment: That was mostly just out of paranoia, since the comments mentioned multiple calls to close being legal. Looking at it again, that particular case isn't an issue, since we don't hit that call when the mode is MODE_CLOSED. The testsuite runs happily

[issue7227] Shell Support for installation of Python Packages (.EGG)

2009-10-27 Thread David Lyon
New submission from David Lyon : Under Windows, it would be very handy to have shell support for installing .EGG packages. To implement this would require the addition of some registry keys into the cpython installation to associate the .EGG extension as being a python package. Then a new

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

2009-10-29 Thread David Fraser
Changes by David Fraser : -- nosy: +davidfraser ___ Python tracker <http://bugs.python.org/issue3871> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-08 Thread David Bolen
New submission from David Bolen : This is a pretty tiny bug.. The test_reg_class test in test_msvc9compiler.py assumes that there is a Notepad registry key on Windows systems. That appears to be false until Notepad is run the very first time. I ran into this setting up a build slave VM, where

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-09 Thread David Bolen
David Bolen added the comment: Well, I can at least start by comparing XP and Win7 immediately post-installation. Any suggestions on guidelines to what can be chosen? Does it have to be a DWORD, or a 0/1 value, or under HKCU for a specific reason

[issue6132] Implement the GIL with critical sections in Windows

2009-11-11 Thread David Fraser
Changes by David Fraser : -- nosy: +davidfraser ___ Python tracker <http://bugs.python.org/issue6132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-13 Thread David Bolen
David Bolen added the comment: Since I was feeling bad for the Windows 7 build slave not being able to pass the tests due to this (at least when other tests weren't failing), I manually added a matching key on the slave pending any test changes. In looking around, since this te

[issue7320] Unable to load external modules on build slave with debug python

2009-11-13 Thread David Bolen
New submission from David Bolen : As I mentioned in a recent python-dev post, I've noticed that the Windows build slaves are skipping tests of external modules (like ssl and bz2). After finding an old 2.6a0 tree that I had locally built where things worked fine, I stepped through some 2.6

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-15 Thread David Bolen
David Bolen added the comment: Our last comments may have crossed, but as I mentioned in my last one, yes, as best I can tell from my slaves (XP+VS-Express, XP+VS-Standard, Win7+VS-Standard), the Visual Studio key is present in a brand new install. Note that it is not present in a brand new XP

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-16 Thread David Bolen
David Bolen added the comment: Oh, Tarek, something I missed in your last comment - for the "Build Timing" key, it should probably permit the value to be either 0 or 1, just as the current test does. Just in case someone happens to have build timing

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-16 Thread David Bolen
David Bolen added the comment: The "Build Timing" key (not Build Time) is the only one at all under HKCU/VisualStudio/9.0/VC (and actually the only key under the entire HKCU/VisualStudio tree) on both my XP and Win7 new VS 2008 installation. I can't rule out it being part

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-16 Thread David Bolen
David Bolen added the comment: Oh, BTW, you were missing the VC part of the path in your test. But if I run the same code with that corrected on my Win7 box, I get: >>> from distutils.msvc9compiler import Reg >>> path = r'Software\Microsoft\VisualStudio\9.0

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-16 Thread David Bolen
David Bolen added the comment: Yes to both examples (the first on my VS 2008 full installs on XP and Windows 7, and the second on my XP with VC++ Express). Two caveats (that I don't think invalidates the result) though. First, I can't use forward slashes in the path I supply to Reg

[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-17 Thread David Bolen
David Bolen added the comment: Oh, my bad - I was working on the assumption that test_msvc9compiler was testing compiler related stuff, so obviously would have the compiler installed. But it makes sense you might test support for that compiler on a machine other than the one doing the building

[issue7272] test_multiprocessing fails consistently with 'signal 12' on FreeBSD 6.2 buildbot.

2009-11-20 Thread David Bolen
David Bolen added the comment: Looks like some sort of master side global rebuild was initiated but without the proper SVN information. But I see a rebuild on 7.2 with this patch revision that looks like it worked (still failed, but with a different reason) I'm not that familiar with the

[issue7399] Possible bug in Python Tutorial

2009-11-26 Thread David Henretty
New submission from David Henretty : Hi, In the v3.1.1 Python Tutorial (section 10.7 - Internet Access), the sample code (shown below) results in the following error :- from urllib.request import urlopen for line in urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'): if &#x

[issue7272] test_multiprocessing fails consistently with 'signal 12' on FreeBSD 6.2 buildbot.

2009-11-28 Thread David Bolen
David Bolen added the comment: > David, I think we're ready to enable POSIX semaphore support on the > FreeBSD 7.2 buildbot now, if you get the chance. Done. I'll double check that the module remains loaded across restarts when there's some id

[issue7408] test_distutils fails on Mac OS X 10.5

2009-11-29 Thread David Bolen
David Bolen added the comment: I don't think its OSX specific. My FreeBSD slaves (both 6.4 and 7.2) have been getting the same error recently (sounds like probably around the same time frame). The error always seems to be that member.gid (0) is not matching os.getgid (1001). The os.g

[issue7408] test_distutils fails on Mac OS X 10.5

2009-11-29 Thread David Bolen
David Bolen added the comment: >From Tarek: > Thanks for the digging David, I'll check for /tmp rights in that case. > What's important in distutils, is to make sure it was able to create > tarballs with various uid/gid using the new tarfile feature. Right, and

[issue7408] test_distutils fails on Mac OS X 10.5

2009-11-29 Thread David Bolen
David Bolen added the comment: > I can generate the error on my iMac but not my laptop, which are > equivalent versions/upgrades of Mac OS X AFAIK. The /tmp directory > in both has drwxrwxrwt, and the subdirectories within which I'm doing > the builds are drwxr-xr-x, so it d

[issue7408] test_distutils fails on Mac OS X 10.5

2009-11-29 Thread David Bolen
David Bolen added the comment: > I think that's difficult to implement, as the files are not there > anymore when the check is made (only the tarfile); somebody correct > me if I'm wrong. The files are created during setup, and I think exist through the duration of the test,

[issue6645] multiprocessing build fails on AIX - /dev/urandom (or equivalent) not found

2009-12-03 Thread David Narayan
David Narayan added the comment: This is a patch that I have used on AIX. The idea for this patch came from uuid.py. This patch was created against Python 2.6.4. -- keywords: +patch nosy: +davidnarayan Added file: http://bugs.python.org/file15445/multiprocessing-urandom-fallback.patch

[issue6560] socket sendmsg(), recvmsg() methods

2009-12-14 Thread David Watson
David Watson added the comment: Hi, I'm afraid there may have been some duplication of effort here - I set about reworking Heiko Wundram's original patch (issue #1194378) without knowing about this one. I don't have unit tests yet either, but I saw this and thought I'd be

[issue1068268] subprocess is not EINTR-safe

2010-01-14 Thread David Oxley
David Oxley added the comment: Another instance of a blocking function within subprocess not being protected against EINTR Python 2.6.4, subprocess.py, Popen function, line 1115: data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB If a signal arrives while blocked in this

[issue5317] URL given for IronPython in CPython documentation incorrect

2009-02-19 Thread David Fugate
New submission from David Fugate : http://docs.python.org/reference/introduction.html#alternate- implementations states that the IronPython project's website URL is http://workspaces.gotdotnet.com/ironpython. This site has actually been dead for quite some time and our official project

[issue5163] tkinter.scrolledtext: new text is hidden after using insert()

2009-02-20 Thread David Schultz
David Schultz added the comment: Just an ignorance issue, I supposed. I didn't realize that it was that simple. Still a novice at all of the methods available. In that case, the only advantage is in case you don't want to always manually set it to the end. No good reason to

[issue5382] Allow Python keywords as keyword arguments for functions.

2009-02-27 Thread David Kerkeslager
New submission from David Kerkeslager : This problem arose in this thread: http://www.python-forum.org/pythonforum/viewtopic.php?f=2&t=11606 Basically, we have the following function which will generate an XHTML node: def xhtmlNode(tag, **attr):... If we call: xhtmlNode('div',

[issue5383] Allow intermixing of keyword arguments and vargarg arguments

2009-02-27 Thread David Kerkeslager
New submission from David Kerkeslager : This problem arose in this thread: http://www.python-forum.org/pythonforum/viewtopic.php?f=2&t=11606 Basically, we have the following function which will generate an XHTML node: def xhtmlNode(tag, *content, **attr):... If we call: xhtmlNode(

[issue5383] Allow intermixing of keyword arguments and vargarg arguments

2009-02-27 Thread David Kerkeslager
Changes by David Kerkeslager : -- type: -> feature request versions: +Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue5383> ___ ___ Py

[issue5383] Allow intermixing of keyword arguments and vargarg arguments

2009-02-27 Thread David Kerkeslager
Changes by David Kerkeslager : -- components: +Interpreter Core ___ Python tracker <http://bugs.python.org/issue5383> ___ ___ Python-bugs-list mailing list Unsub

[issue5382] Allow Python keywords as keyword arguments for functions.

2009-02-27 Thread David Kerkeslager
David Kerkeslager added the comment: Thank you all for reading and responding to my submission. I post the following without expectation of results, only to expand my reasoning: The following aren't applicable to the situation I described: def f(): class return def f(

[issue5238] ssl makefile never closes socket

2009-03-01 Thread David Christian
David Christian added the comment: I actually discovered this issue when using httplib over ssl. Closing the httplib connection was not closing the socket - the socket would only be closed after garbage collection, due to this bug. That's what caused me to investigate and find this fla

[issue5414] asciibin.a2b_uu returns unexpected values on non ascii data

2009-03-03 Thread David Majnemer
New submission from David Majnemer : Note that binascii.a2b_uu("\0") returns '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'. This appears to be the same as binascii.a2b_uu() which is most like

[issue5414] asciibin.a2b_uu returns unexpected values on non ascii data

2009-03-03 Thread David Majnemer
David Majnemer added the comment: Added version number of python. -- versions: +Python 2.5 ___ Python tracker <http://bugs.python.org/issue5414> ___ ___ Pytho

[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread David Majnemer
New submission from David Majnemer : str.replace("", "", "asdf", -1) returns "asdf", I believe this is not correct and strictly speaking not up to the documentation posted. I am of the opinion that it should function like str.replace("", &quo

[issue5461] python3 symlink

2009-03-09 Thread David Ripton
New submission from David Ripton : When Python 2.x is manually installed on Linux, a python2 symlink is created, like this: lrwxrwxrwx 1 root root 9 Jan 24 00:03 /usr/bin/python2 -> python2.6 ("make install" updates the symlink; "make altinstall" does not). When Pyth

[issue4709] Mingw-w64 and python on windows x64

2009-03-26 Thread Cournapeau David
Cournapeau David added the comment: Is there any change to see this integrated soon ? The patch is only a couple of lines long, thanks -- ___ Python tracker <http://bugs.python.org/issue4

<    11   12   13   14   15   16   17   18   19   20   >