[issue8418] Crash 0xc0000417 STATUS_INVALID_CRUNTIME_PARAMETER on program exit

2010-04-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: That's because 7681 is closed. (That said, I consider it a bug in the tracker that it defaults to searching only open issues...and I think I filed an issue in the metatracker for that, too. Maybe I'll get around to fixing it if I can

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Charles-Francois Natali
Changes by Charles-Francois Natali neolo...@free.fr: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___ ___

[issue7384] curses crash on FreeBSD

2010-04-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: One oddity: In Mark's test case, the error only shows if readline is imported _before_ curses. The other way around it's fine. On FreeBSD 8.0 amd64, with the _default_ libcurses, the Valgrind output for py3k looks like this: [...]

[issue7384] curses crash on FreeBSD

2010-04-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I take that back. With the curses from /usr/ports/devel/ncurses, Mark's test case is fine, but ./python Lib/test/regrtest.py -uall test_curses fails again. -- ___ Python tracker

[issue7384] curses crash on FreeBSD

2010-04-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Alas, after installing curses from /usr/ports/devel/ncurses I did not recompile Modules/_curses_panel.c. So, after a proper build ./python Lib/test/regrtest.py -uall test_curses shows no errors. --

[issue8299] Improve GIL in 2.7

2010-04-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I'm not trying to be a pain here, but do you have any explanation as to why, with fair scheduling, the observed execution time of multiple CPU-bound threads is substantially worse than with unfair scheduling? Yes. This is because

[issue8299] Improve GIL in 2.7

2010-04-17 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: I'm definitely sure that semaphores were being used in my test---I stuck a print statement inside the code that creates locks just to make sure it was using the semaphore version :-). Unfortunately, at this point I think most of this discussion

[issue8428] buildbot: test_multiprocessing timeout

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Same issue on sparc solaris10 gcc 3.x: http://www.python.org/dev/buildbot/builders/sparc solaris10 gcc 3.x/builds/639/steps/test/logs/stdio -- ___ Python tracker rep...@bugs.python.org

[issue8299] Improve GIL in 2.7

2010-04-17 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: As a followup, since I'm not sure anyone actually here actually tried a fair GIL on Linux, I incorporated your suggested fairness patch to the condition-variable version of the GIL (using this pseudocode you wrote as a guide): with gil.cond:

[issue8430] test_site failure with non-ASCII directory

2010-04-17 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: r80137 (PEP 3147) introduced a test in test_site. The test fails on non-ASCII directory because stdout uses ASCII whereas the directories contains non-ASCII characters. http://www.python.org/dev/buildbot/builders/AMD64 Ubuntu

[issue8431] buildbot: test_tokenize and test_io hung on ARMv4 Debian 3.x

2010-04-17 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: test_tokenize and test_io does sometimes hung on buildbot ARMv4 Debian 3.x. It looks to be related to #8429. http://www.python.org/dev/buildbot/builders/ARMv4 Debian 3.x/builds/52/steps/test/logs/stdio - ...

[issue8401] Strange behavior of bytearray slice assignment

2010-04-17 Thread Eugene Kapun
Eugene Kapun abacabadabac...@gmail.com added the comment: -1 on special-casing string without an encoding. Current code does (almost) this: ... if argument_is_a_string: if not encoding_is_given: # Special case raise TypeError(string argument without an encoding)

[issue8429] buildbot: test_subprocess timeout

2010-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8429 ___ ___ Python-bugs-list mailing list

[issue8431] buildbot: test_tokenize and test_io hung on ARMv4 Debian 3.x

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't know about test_tokenize, but test_io is quite heavy and a couple of individual tests launch many threads. On a slow CPU with little RAM, the test could simply be still running (swapping?) after 1800s... -- nosy: +doko, pitrou

[issue8430] test_site failure with non-ASCII directory

2010-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8430 ___ ___

[issue5650] Obsolete RFCs should be removed from doc of urllib.urlparse

2010-04-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in revision 80146 and merged into other branches release26-maint: r80147 py3k: r80148 release31-maint: r80149 -- assignee: georg.brandl - orsenthil resolution: - fixed stage: needs patch - committed/rejected status: open -

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I agree that we can consider dropping the static buffer and always using PyMem_MALLOC(). It looks a bit strange for this bug to happen, though. Does Ubuntu use a small stack size? -- nosy: +pitrou, tim_one

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Oh, and the record of the original patch conversation (when this optimization was added) can be found here: http://mail.python.org/pipermail/patches/2001-January/003500.html -- priority: normal - high versions: +Python 2.7, Python 3.1,

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: A small benchmark shows no difference in startup time when disabling the stack buffer. (this is on Linux: of course, the problem might be that the glibc is heavily optimized) The benchmark was a simple: $ time ./python -E -c import logging,

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___ ___ Python-bugs-list

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: It looks a bit strange for this bug to happen, though. Does Ubuntu use a small stack size? There are other possible reasons: - the programs that crash (or the libraries they're using) use the stack a lot - somehow,

[issue8432] build: test_send_signal of test_subprocess failure

2010-04-17 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: http://www.python.org/dev/buildbot/builders/x86 FreeBSD 3.x/builds/211/steps/test/logs/stdio Example: == FAIL: test_send_signal

[issue2987] RFC2732 support for urlparse (IPv6 addresses)

2010-04-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I posted this to the checkins list, but for reference, the following invalid URL should be added to the test cases: http://[::1/foo/bar]/bad -- nosy: +r.david.murray ___ Python tracker

[issue8433] buildbot: test_curses failure

2010-04-17 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: http://www.python.org/dev/buildbot/builders/sparc Debian 3.x/builds/62/steps/test/logs/stdio test_curses [?1049h(B[?7h[?5h[?5l[?12l[?25habc[?1000h[?1000l(B[?1049l

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-17 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: If everyone agrees on error: [Errno 0] Error being a legitimate alias for a connection closed event condition then I'd say the test server looks good, even if I think that expecting a ssl.SSLError derived exception would have made more

[issue8433] buildbot: test_curses failure, getmouse() returned ERR

2010-04-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: buildbot: test_curses failure - buildbot: test_curses failure, getmouse() returned ERR ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8433

[issue8322] test_ssl failures with OpenSSL 1.0.0

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r80151 (trunk), r80154 (py3k). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-17 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: the scheduling function bfs_find_task returns the first task that has an expired deadline. since an expired deadline probably means that the scheduler hasn't run for a while, it might be worth it to look for the thread with the oldest deadline

[issue8433] buildbot: test_curses failure, getmouse() returned ERR

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Other example: http://www.python.org/dev/buildbot/builders/alpha Debian 3.x/builds/63/steps/test/logs/stdio test_curses

[issue8371] Add a command to download distributions

2010-04-17 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: There is a ready-to-use public domain code with a progress bar if you'll need it. http://pypi.python.org/pypi/wget/ -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: Ok, I've done too some trivial benchmarking on my Linux box, and I get this: right now: $ time ./python /tmp/test_import.py real0m1.258s user0m1.111s sys 0m0.101s with mmap: $ time ./python /tmp/test_import.py real

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If everyone agrees on error: [Errno 0] Error being a legitimate alias for a connection closed event condition then I'd say the test server looks good, even if I think that expecting a ssl.SSLError derived exception would have made more

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-04-17 Thread Charles-Francois Natali
Changes by Charles-Francois Natali neolo...@free.fr: Removed file: http://bugs.python.org/file16960/marshal_stack.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7332 ___

[issue2987] RFC2732 support for urlparse (IPv6 addresses)

2010-04-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Moving the Bad URL check to a higher level can be detect the bad urls much better. Once I the netloc is parsed and obtained, invalid URL can be checked. I am attaching an update with the new test included. If you have any comments, please

[issue8434] buildbot: test_gdb failure on sparc Ubuntu trunk

2010-04-17 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: http://www.python.org/dev/buildbot/builders/sparc Ubuntu trunk/builds/76/steps/test/logs/stdio test_gdb test test_gdb failed -- multiple errors occurred; run in verbose mode for details Re-running test 'test_gdb' in verbose mode

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-17 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: To me a better option would be an ability to specify a path to compiler from command line. --compiler-path=./mingw/bin/gcc.exe -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org

[issue8431] buildbot: hung on ARM Debian

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: There are other hung on trunk (output of bbreport): ARMv4 Debian trunk 80129, 80120, 80101, 80098, 80085, 80129: # hung for 30 min: test_ast 80120: # hung for 30 min: test_descr

[issue8434] buildbot: test_gdb failure on sparc Ubuntu trunk

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Related issue: #8281 (For gdb7, a python-gdb.py file is added to the build, allowing to use advanced gdb features when debugging Python.) -- ___ Python tracker rep...@bugs.python.org

[issue8434] buildbot: test_gdb failure on sparc Ubuntu trunk

2010-04-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8434 ___ ___

[issue8420] Objects/setobject.c contains unsafe code

2010-04-17 Thread Eugene Kapun
Eugene Kapun abacabadabac...@gmail.com added the comment: I've found more unsafe code in Objects/setobject.c. This code makes Python 3.1.2 segfault by using a bug in function set_merge: class bad: def __eq__(self, other): if be_bad: set2.clear()

[issue4814] ftplib does not honour timeout parameter for active data connections

2010-04-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- assignee: - giampaolo.rodola nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4814 ___

[issue6789] ftplib storelines does not honor strings returned in fp.readline

2010-04-17 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Closed as a duplicate of 6822 which provides a patch. -- nosy: +giampaolo.rodola resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8435] It is possible to observe a mutating frozenset

2010-04-17 Thread Eugene Kapun
New submission from Eugene Kapun abacabadabac...@gmail.com: This code shows that frozensets aren't really immutable. The same frozenset is printed twice, with different content. Buggy functions are set_contains, set_remove and set_discard, all in Objects/setobject.c class bad: def

[issue8420] Objects/setobject.c contains unsafe code

2010-04-17 Thread Eugene Kapun
Changes by Eugene Kapun abacabadabac...@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8420 ___ ___ Python-bugs-list

[issue8436] set.__init__ accepts keyword args

2010-04-17 Thread Eugene Kapun
New submission from Eugene Kapun abacabadabac...@gmail.com: list().__init__(a=0) Traceback (most recent call last): File stdin, line 1, in module TypeError: 'a' is an invalid keyword argument for this function set().__init__(a=0) -- components: Interpreter Core messages: 103427

[issue8435] It is possible to observe a mutating frozenset

2010-04-17 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8435 ___

[issue8436] set.__init__ accepts keyword args

2010-04-17 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8436 ___

[issue7811] [decimal] ValueError - TypeError in from_tuple

2010-04-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Given the lack of agreement here, I propose that we just leave the current code as it is; it doesn't seem like a big issue to me, and we should resist messing with code that isn't clearly broken. -- resolution: - wont fix status:

[issue7384] curses crash on FreeBSD

2010-04-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: It seems that FreeBSD has problems with the fact that readline.so is linked with -lreadline and -lncursesw (why?). With issue7384.patch I get no more errors using either Mark's test case or test_curses.py. -- Added file:

[issue2987] RFC2732 support for urlparse (IPv6 addresses)

2010-04-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I don't know how deep you want to get into detecting invalid URIs, but with the new patch this one causes a parsing error that is probably worth dealing with: http://abc[xyz]jkl Maybe a reasonable set of checks would be (in hostname)

[issue2302] Uses of SocketServer.BaseServer.shutdown have a race

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: After a bit of investigation, this issue seems to be exactly why test_httpservers sometimes hangs. The patch looks complicated to me, though; I don't think we really have to support the multiple shutdowns case. -- nosy: +pitrou

[issue7384] curses crash on FreeBSD

2010-04-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: That patch works for me, too. Nice! It seems that FreeBSD has problems with the fact that readline.so is linked with -lreadline and -lncursesw (why?). Good question... -- ___ Python tracker

[issue2302] Uses of SocketServer.BaseServer.shutdown have a race

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a simpler patch. It also fixes the wrong use of a lock instead of an event in test_httpservers. With this patch, test_httpservers runs forever without freezing. -- Added file: http://bugs.python.org/file16964/shutdown.patch

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-04-17 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Attached is a patch I wrote entirely independently of this issue (Mercurial's test suite trigger it for me). I go further in terms of caching items than the original patch as I still got failures even when I stored just a reference to os (might

[issue8281] test_gdb_sample fails

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: test_gdb.py refers to test_gdb_sample.py instead of gdb_sample.py. Attached patch fixes that. But then I get new errors: --- ... Verify the pretty-printing of unicode values ... ok

[issue8404] Set operations don't work for dictionary views

2010-04-17 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: I found the issue. The view types didn't have Py_TPFLAGS_CHECKTYPES set, so the types were using the old-style binary operators. Here's a patch that fixes the issue. Please review. -- Added file:

[issue8404] Set operations don't work for dictionary views

2010-04-17 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti alexan...@peadrop.com: Removed file: http://bugs.python.org/file16927/fix_dictviews_as_number.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8404 ___

[issue8434] buildbot: test_gdb failure on sparc Ubuntu trunk

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oh, this is a duplicate of #8279. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8434

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: #8434 is a duplicate of this issue. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8279 ___

[issue8281] test_gdb_sample fails

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oops, my last message (msg103435) was for #8434, not this issue. Anyway, #8434 is a duplicate of #8279, it doesn't matter. -- ___ Python tracker rep...@bugs.python.org

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: In GDB 7.1, a gdb.frame object has no more function method: it's replaced by a name method. Tools/gdb/libpython.py should be modified: Add GDB_70 = gdb.VERSION.startswith(7.0) at the beginning, and replace is_evalframeex() by:

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch, committed as r80156. As expected, there are still complaints about gdb.Frame. As the original issue is now resolved, I'm closing this issue as fixed, and open a new issue for the remaining failures. --

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-17 Thread Martin v . Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: I get a number of failures in test_gdb with gdb 7.0.1 about gdb.Frame, e.g. FAIL: test_basic_command (test.test_gdb.PyListTests) Verify that the py-list command works

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See my msg103440 of issue #8279. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8437 ___

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: According to documentation of the Python API of gdb, a frame has a function method. I read gdb 7.0, 7.0.1 and 7.1 (downloaded from http://ftp.gnu.org/gnu/gdb): there is not function method, but a name method. On my Debiand Sid

[issue8279] python-gdb PyListTests fail

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: In GDB 7.1, a gdb.frame object has no more function method (...) Missing function method is not related to gdb version: see #8437 (msg103444). As Martin wrote: let's continue the discussion in issue #8437 ;-) --

[issue8431] buildbot: hung on ARM Debian

2010-04-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Antoine is right: On a fast machine (3.16GHz) test_io.py takes 810s on debian-arm/qemu. All tests pass, so perhaps the limit is just too restrictive on slow machines. -- nosy: +skrah ___

[issue8431] buildbot: hung on ARM Debian

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: On ARMv7Thumb Ubuntu trunk, build 47 hung after the following tests: --- test_wait3 test_genericpath test_uuid test_zipimport_support test_slice test_decorators --- build 48 hung after the following tests: --- test_memoryio

[issue8436] set.__init__ accepts keyword args

2010-04-17 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Thx, will look at it when I get a chance. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8436 ___

[issue8431] buildbot: hung on ARM Debian

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It would help if regrtest.py added a timestamp to messages (at least test_xxx lines). Eg. 18:08:34.750933: test_io. -- ___ Python tracker rep...@bugs.python.org

[issue7811] [decimal] ValueError - TypeError in from_tuple

2010-04-17 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7811 ___

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-17 Thread Darryl Miles
Darryl Miles darryl.mi...@darrylmiles.org added the comment: With regards to create test cases for certain situations, sure this would be possible but not with pure python since your APIs deny/inhibit the particular things required to force a situation for a test case. With regards to

[issue8435] It is possible to observe a mutating frozenset

2010-04-17 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I'm not sure that I care about this one. The only way to pull it off it is to intentionally try to mutate the frozenset. Will look at it along with the others though. -- priority: - low

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-04-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The test_break unit test is now skipped for freebsd6 on trunk in r80155. I suspect this affects py3k as well on freebsd6. -- ___ Python tracker rep...@bugs.python.org

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-04-17 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5099 ___ ___

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The commit creating methods function, select were added the 24th february 2010, whereas gdb 7.1 was released around the 18th february 2010. http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-frame.c?cvsroot=src I guess that

[issue8263] regrtest stops prematurately on FreeBSD buildbot, with success result.

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #8432. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8263 ___

[issue8432] build: test_send_signal of test_subprocess failure

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also issue #8263. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8432 ___ ___

[issue8424] buildbots: test_itimer_virtual failures

2010-04-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: i486 Ubuntu also showed the test_itimer_virtual failure (but not the other one...FreeBSD didn't show the other one either) here: http://www.python.org/dev/buildbot/builders/i386 Ubuntu trunk/builds/949/steps/test/logs/stdio --

[issue850728] Semaphore.acquire() timeout parameter

2010-04-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Modified patch committed in r80157 (py3k). Thank you! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8394] ctypes.dlopen() doesn't support surrogates

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed: r80159 (py3k), r80160 (3.1). I commited a different version of my patch to support None. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8391] os.execvpe() doesn't support surrogates in env

2010-04-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Current code of execve() has a bug: it uses the length of the environment variable value in *characters* and not in *bytes* to allocate the p buffer. I remember that someone wrote a comment somewhere about that... The result is

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-17 Thread Nir Aides
Changes by Nir Aides n...@winpdb.org: Removed file: http://bugs.python.org/file16947/bfs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___ ___

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-17 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: Yet another update to bfs.patch. I upload a variation on Florent's write test which prints progress of background CPU bound threads as: thread-name timestamp progress Here are some numbers from Windows XP 32bit with Intel q9400 (4 cores). Builds

[issue8424] buildbots: test_itimer_virtual failures

2010-04-17 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: To make the situation worse, this Ubuntu buildbot passed all signal tests on the next run. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8424

[issue6095] os.curdir as the default argument for os.listdir

2010-04-17 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6095 ___

[issue8436] set.__init__ accepts keyword args

2010-04-17 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: If you submit a patch, be sure to include a test that covers both set.__init__() and frozenset.__init__(). Model the code are the equivalent checks in Modules/itertoolsmodule.c -- priority: - low stage: - needs

[issue8437] test_gdb: gdb.Frame has no attribute function

2010-04-17 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Victor, please leave that to David. He will fix it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8437 ___

[issue8425] a -= b should be fast if a is a small set and b is a large set

2010-04-17 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- keywords: +easy stage: - patch review versions: +Python 2.7, Python 3.2 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8425

[issue8436] set.__init__ accepts keyword args

2010-04-17 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8436 ___ ___