[issue5879] multiprocessing - example "pool of http servers " fails on windows "socket has no attribute fromfd"

2010-03-16 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8160] platform.platform() throws exception on modified debian distribution

2010-03-16 Thread Brian Curtin
Brian Curtin added the comment: Duplicate of #7773 which was fixed with r77735. -- nosy: +brian.curtin resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___

[issue8077] cgi handling of POSTed files is broken

2010-03-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: This doesn't look like a documentation bug to me - handling of uploaded files via CGI *should* work, even if CGI is not the best way to do that. -- nosy: +gagenellina ___ Python tracker

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

2010-03-16 Thread Brian
Brian added the comment: What solution did you chose? While matching cElementTree to the ElementTree is the simplest solution I think there is some ambiguity as to the what the preferred behavior as outlined in my original post. -brian On Tue, Feb 16, 2010 at 9:41 AM, Florent Xicluna wrote:

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Matthias Klose
Matthias Klose added the comment: crash seen on both Debian unstable and recent Ubuntu lucid. (gdb) run Starting program: /home/doko/a.out process 30155 is executing new program: /bin/ls [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. strrchr

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread R. David Murray
R. David Murray added the comment: It does not crash on Gentoo, either: rdmur...@maestro:~>uname -a Linux maestro 2.6.31-gentoo-r3 #1 SMP PREEMPT Thu Oct 22 20:13:19 EDT 2009 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux rdmur...@maestro:~/python/release26-maint>./python P

[issue8160] platform.platform() throws exception on modified debian distribution

2010-03-16 Thread R. David Murray
Changes by R. David Murray : -- priority: -> normal stage: -> test needed type: crash -> behavior ___ Python tracker ___ ___ Python-b

[issue8153] 'set' union() fails in specific use case

2010-03-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Frank, try using "update" instead of "union". -- nosy: +rhettinger ___ Python tracker ___ ___ Pyt

[issue1103213] Adding the missing socket.recvall() method

2010-03-16 Thread Irmen de Jong
Irmen de Jong added the comment: Ok I've looked at it again and think I can build an acceptable patch this time. However there are 2 things that I'm not sure of: 1) how to return the partial data to the application if the recv() loop fails before completion. Because the method will probably r

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2010-03-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes, the revert put back distutils in its initial 2.6.x state but I guess this can be added back since it doesn't change the original behavior. -- priority: -> high resolution: -> accepted ___ Python tracker

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Tue, Mar 16, 2010 at 7:46 PM, Matthias Klose wrote: .. > it does crash: Strange. Can you report your Linux version and the stack trace from the crash? On Ubuntu, 2.6.24-27-generic #1 SMP Wed Jan 27 23:54:28 UTC 2010 i686 GNU/Linux, I see no crash.

[issue8159] spam

2010-03-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- title: a11 -> spam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue8159] a11

2010-03-16 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file16569/o11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Matthias Klose
Matthias Klose added the comment: it does crash: $ python Python 2.6.5rc2 (r265rc2:78822, Mar 11 2010, 13:01:50) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.execlp('true') Segmentation fault (core dumped) arg[0] (the comman

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2010-03-16 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Ah, I see. I am just re-opening this bug hoping to see it get fixed by 3.1.2. -- status: closed -> open versions: +Python 3.1 ___ Python tracker ___

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Adding Thomas. Thomas, Do you remember why your patch for issue1039 was not backported? -- nosy: +theller ___ Python tracker ___ ___

[issue6164] [AIX] Patch to correct the AIX C/C++ linker argument used for 'runtime_library_dirs'

2010-03-16 Thread Roumen Petrov
Roumen Petrov added the comment: and restore of distutils in trunk abandon it. -- nosy: +rpetrov ___ Python tracker ___ ___ Python-bug

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The original report, issue1039 has a better problem description: "In a windows debug build, an assertion is triggered when os.execvpe is called with an empty argument list: self.assertRaises(OSError, os.execvpe, 'no such app-', [], None)" The patch, fil

[issue8160] platform.platform() throws exception on modified debian distribution

2010-03-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> lemburg nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue8160] platform.platform() throws exception on modified debian distribution

2010-03-16 Thread tejas
New submission from tejas : I am calling platform.linux_distribution() and platform.platform() on a modified Debian distribution with Python 2.6. FWIW the file /etc/debian_version exists on this machine, but is empty. On calling platform.platform(), it seems to try to read the linux version fro

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

2010-03-16 Thread Nir Aides
Nir Aides added the comment: I updated the patch with a small fix and increased the ticks countdown-to-release considerably. This seems to help the OS classify CPU bound threads as such and actually improves IO performance. -- Added file: http://bugs.python.org/file16570/linux-7946.pa

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I forgot to add that this behavior is documented: os.execlp = execlp(file, *args) execlp(file, *args) Execute the executable file (which is searched for along $PATH) with argument list args, replacing the current process. -- ___

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: As far as I can tell, it does not *crash* the interpreter. Instead, it replaces the python interpreter process with a "true" utility. $ ./python.exe Python 2.7a4+ (trunk:78816M, Mar 9 2010, 18:57:13) [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on dar

[issue8159] a11

2010-03-16 Thread Razan Abbass
Changes by Razan Abbass : Added file: http://bugs.python.org/file16569/o11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue8159] a11

2010-03-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/opti

[issue8159] a11

2010-03-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Py

[issue8159] a11

2010-03-16 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file16568/ooo1.html ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue8159] a11

2010-03-16 Thread Razan Abbass
Changes by Razan Abbass : Added file: http://bugs.python.org/file16568/ooo1.html ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8159] a11

2010-03-16 Thread Razan Abbass
New submission from Razan Abbass : a11 -- components: None messages: 101194 nosy: raz71abb6 severity: normal status: open title: a11 type: feature request ___ Python tracker ___ _

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-03-16 Thread Vlastimil Brom
Vlastimil Brom added the comment: I am not sure about the testsuite for this regex module, but it seems to me, that many of the problems reported here probably don't apply for the current builtin re, as they are connected with the new features of regex. After the suggestion in msg91462. I brie

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

2010-03-16 Thread Nir Aides
Nir Aides added the comment: I tried Florent's modification to the write test and did not see the effect on my machine with an updated revision of Python32. I am running Ubuntu Karmic 64 bit. 7s - no background threads. 20s - one background thread. According to the following documentation the

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-16 Thread Tom Loredo
Tom Loredo added the comment: > Unless you vehemently disagree, I am not making this a release blocker for > 2.6.5. I'm not sure who you are asking (I doubt it was me!), but I don't consider this a release blocker. The only possible substantive issue is whether "python" should run 32-bit or

[issue3928] os.mknod missing on Solaris

2010-03-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: jcea, why did you make this a release blocker for 2.6.5? -- nosy: +barry priority: release blocker -> deferred blocker ___ Python tracker ___

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks ok, but I think it needs a test, and it looks like execve suffers from the same problem. -- nosy: +benjamin.peterson ___ Python tracker __

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Unless you vehemently disagree, I am not making this a release blocker for 2.6.5. -- priority: release blocker -> critical ___ Python tracker

[issue6584] gzip module has no custom exception

2010-03-16 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Modified patch with test, that catches both BadGzipFile and IOError exceptions. -- Added file: http://bugs.python.org/file16566/6584_2.patch ___ Python tracker

[issue8133] test_imp fails on OS X 10.6; filename normalization issue.

2010-03-16 Thread Brett Cannon
Brett Cannon added the comment: Trying to get this right is nasty as mixed filesystem stuff is always tricky, especially since NFD is still UTF-8 as is NFC so sys.getdefaultencoding() doesn't help. Without some way to get that extra bit of info about what form of UTF-8 encoding is being used

[issue6584] gzip module has no custom exception

2010-03-16 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: I have created a small patch, that introduces BadGzipFile exception. It is a subclass of IOError, so it would be backward compatible and will be still caught by old code, but this way is distinct from IOError. -- keywords: +patch nosy: +gruszczy A

[issue7319] Silence DeprecationWarning by default

2010-03-16 Thread Ezio Melotti
Ezio Melotti added the comment: The silencing of DeprecationWarnings should also be advertised, so that who writes the code knows that now -Wd should be used explicitly while testing the code. A warning in the "What's new" would be a good place where to start. --

[issue5233] Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart

2010-03-16 Thread Cherniavsky Beni
Cherniavsky Beni added the comment: Oops! Mitchell's patch didn't actually run the startup code after restart. Fixed patch attached (updated against 2.7 trunk). Also added some doc updates. Too lazy to produce a 3.2 version now. [Apology to Mitchell: I removed most of your comments explai

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2010-03-16 Thread Cherniavsky Beni
Cherniavsky Beni added the comment: History access by Up/Down is important because it makes IDLE history much more discoverable. Most users instinctively expect Up/Down to work; moving back through the text of the session is nice but they probably won't guess that you can press Enter to reus

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-03-16 Thread Ezio Melotti
Ezio Melotti added the comment: Does regex.py have its own test suite (which also includes tests for all the problems reported in the last few messages)? If so, the new tests could be merged in re's test_re. This will simplify the testing of regex.py and will improve the test coverage of re.py

[issue8133] test_imp fails on OS X 10.6; filename normalization issue.

2010-03-16 Thread Mark Dickinson
Mark Dickinson added the comment: Brett: any thoughts on this? Should imp.find_module automatically apply NFD normalization to the given string on OS X? It seems to me that doing this properly is a bit nasty, since the correct condition isn't that the OS is OS X, but that the relevant files

[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread R. David Murray
R. David Murray added the comment: Would you care to submit a patch? The docs are in the svn repository in the 'Doc' subdirectory. See http://www.python.org/dev for how to get a checkout and create a patch. That said, note that 2.7/3.2 will have argparse, which is pretty much a superset of

[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> needs patch type: -> behavior versions: +Python 3.1 ___ Python tracker ___ __

[issue1103213] Adding the missing socket.recvall() method

2010-03-16 Thread Irmen de Jong
Irmen de Jong added the comment: Sure, I'll give it another go. I've not done any c-development for quite a while though, so I have to pick up the pieces and see how far I can get. Also, I don't have any compiler for Windows so maybe I'll need someone else to validate the patch on Windows for

[issue8158] documentation of 'optparse' module incomplete

2010-03-16 Thread Simon Anders
New submission from Simon Anders : The class optparse.OptionParser supports a number of useful keyword arguments to the initializer, which are not documented in the Python Standard Library documentation, here: http://docs.python.org/library/optparse.html This is a bit unfortunate. For example,

[issue5594] IDLE startup configuration

2010-03-16 Thread Cherniavsky Beni
Cherniavsky Beni added the comment: (Another point I forgot to mention is that you must also run idle with the -s command-line option to look at these envvars. This was silly and is also fixed by the #5233 patch.) -- ___ Python tracker

[issue5594] IDLE startup configuration

2010-03-16 Thread Cherniavsky Beni
Cherniavsky Beni added the comment: Editing a block of code from inside the config dialog (and storing it in the config file?) seems a bad idea because you lose all the power of the normal IDLE editor. Instead, you should edit the startup code in the editor, save it to a file and point the I

[issue8157] test_doctest.py fails with unexpected results in doctest.testfile

2010-03-16 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 1729305. -- nosy: +r.david.murray priority: -> normal resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> test_doctest fails when run in verbose mode

[issue6716] Windows install error when choosing to compile .py files

2010-03-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Problem 3 is now fixed in r78994. Leaving this report open for backporting the changes to 2.6/3.1 -- versions: +Python 2.6 ___ Python tracker

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-03-16 Thread Alex Willmer
rt is attached. -- Added file: http://bugs.python.org/file16563/regex_test-20100316 ___ Python tracker <http://bugs.python.org/issue2636> ___ ___ Python-bugs-list m

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-16 Thread Tom Loredo
Tom Loredo added the comment: > the python-32 executable has never been linked into /usr/local/bin. What I meant by "the version pointed to" is: The "python" command in 2.6.4 produced by an "intel" universal build (whether in the framework or the install prefix) executed as 64-bit. I don't be

[issue8157] test_doctest.py fails with unexpected results in doctest.testfile

2010-03-16 Thread Martin Ducár
New submission from Martin Ducár : During python regrtest.py i have found that doctest test module does not count with expected output when using testfile test_doctest.txt. Example output of the test: - File "/usr/lib/python2.6

[issue3621] it would be nice if installers made by bdist_wininst stored an EstimatedSize property in the Windows registry

2010-03-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: Moving the target to Distutils2, as Distutils is now feature frozen. -- components: +Distutils2 -Distutils ___ Python tracker ___ _

[issue8145] Documentation about sqlite3 isolation_level

2010-03-16 Thread Gerhard Häring
Changes by Gerhard Häring : -- nosy: +ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-16 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6716] Windows install error when choosing to compile .py files

2010-03-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Problem 2 is resolved as of r78992 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue8152] Divide error on Windows 7 Home Premium 64 bits

2010-03-16 Thread Mark Dickinson
Mark Dickinson added the comment: I see that you already closed this; but just for completeness: This is expected behaviour: in 2.x, the '/' operator does floor division unless you've done a 'from __future__ import division', in which case it does true division. In 3.x, '/' always does flo

[issue8156] pybsddb 4.8.3+ integration

2010-03-16 Thread Jesús Cea Avión
New submission from Jesús Cea Avión : This issue tracks the progress of integration of pybsddb 4.8.3+ and centralize related discussion. I have integrated all bsddb related patches until r78988, in pybsddb 4.8.3+, with the following caveats: - The new code supports BDB 4.8, but drops support

[issue7808] test_bsddb3 leaks references

2010-03-16 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I have problem getting your changes working in python 3.x. Yes, pybsddb supports py3k. The problem is line "sys.exc_traceback = sys.last_traceback = None", that throws the following error under python 3.x: """ File "/home/pybsddb/build/lib.solaris-2.10-i86

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-16 Thread Nick Coghlan
Changes by Nick Coghlan : -- title: Incompoatible change to test.test_support.check_warnings behaviour -> Incompatible change to test.test_support.check_warnings behaviour ___ Python tracker ___

[issue8155] Incompoatible change to test.test_support.check_warnings behaviour

2010-03-16 Thread Nick Coghlan
New submission from Nick Coghlan : A bug report for the incompatibility I was trying to explain on the checkins list. The test_support module is the only part of the regression test suite that is officially documented, so we can't go changing behaviour that is visible to third parties at will.

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-03-16 Thread Eric Devolder
Eric Devolder added the comment: Same problem on 3.1.2rc1. -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-16 Thread Matthias Klose
New submission from Matthias Klose : calling os.execlp('true') with the wrong number of arguments (missing 2nd arg), the interpreter crashes. fixed in 3.x, this is a backport of the patch to 2.x -- components: Extension Modules files: p.diff keywords: patch messages: 101162 nosy: doko s

[issue6716] Windows install error when choosing to compile .py files

2010-03-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Merged last commit to py3k, as r78991. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2010-03-16 Thread Matthias Klose
Matthias Klose added the comment: fixed for 2.7, 3.1, 3.2, commit pending for 2.6 until after the 2.6.5 release -- resolution: -> fixed status: open -> pending ___ Python tracker __

[issue4961] Inconsistent/wrong result of askyesno function in tkMessageBox

2010-03-16 Thread Matthias Klose
Matthias Klose added the comment: the patch works for me with tcl8.5 -- nosy: +doko stage: test needed -> patch review ___ Python tracker ___

[issue5166] ElementTree and minidom don't prevent creation of not well-formed XML

2010-03-16 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: What about this example? >>> from xml.dom import minidom >>> doc = minidom.Document() >>> el = doc.createElement("Test") >>> el.setAttribute("with space", "False") >>> doc.appendChild(el) >>> >>> #nahhh ... minidom.parseString(doc.toxml()) Traceback (most rec

[issue8153] 'set' union() fails in specific use case

2010-03-16 Thread Ezio Melotti
Ezio Melotti added the comment: set.union doesn't change the first set (i.e. a), but returns a new sets (i.e. c): >>> def func(): ... a = set([0]) ... a.pop() ... print 'a:', a ... b = set([1, 2]) ... c = a.union(b) ... print 'a:', a ... return c ... >>> func() a: set([]) a: set([