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

2010-01-11 Thread Ezio Melotti
Ezio Melotti added the comment: On 2.7a2 on Windows 7 it seems to work, I opened the script with IDLE and did F5, this is the output I got: Python 2.7a2 (r27a2:77402, Jan 10 2010, 10:04:50) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >

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

2010-01-11 Thread dontbugme
New submission from dontbugme : PythonW.exe crash, tested under Windows 7 x86 / x64, Python v2.6.4. The crash can be reproduced by opening and running the attached code in IDLE. TY! Error Message: Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\Python26\pythonw.exe This applicati

[issue5827] os.path.normpath doesn't preserve unicode

2010-01-11 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r77442 (trunk) and r77443 (release26-maint), thanks! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue2796] Build issues in DragonFly BSD

2010-01-11 Thread Brian Curtin
Changes by Brian Curtin : Added file: http://bugs.python.org/file15832/dragonfly-python-trunk.patch ___ Python tracker ___ ___ Python-bugs-list

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

2010-01-11 Thread Steve Steiner
New submission from Steve Steiner : I'm configuring with: ./configure --enable-framework --enable-universalsdk=/Developer/SDKs/MacOSX10.6.sdk/ --with-universal-archs=intel And get the following warning. It told me to report it, so I am. checking libintl.h presence... yes configure: WARNING:

[issue2797] Trunk build issues in DragonFly BSD

2010-01-11 Thread Brian Curtin
Brian Curtin added the comment: See #2796 -- keywords: +needs review nosy: +brian.curtin priority: -> normal resolution: -> duplicate stage: -> patch review status: open -> closed superseder: -> Build issues in DragonFly BSD versions: +Python 2.7, Python 3.1, Python 3.2 ___

[issue2679] email.feedparser regex duplicate

2010-01-11 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> low stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___

[issue7454] Solaris SPARC: _multiprocessing.so: symbol sem_timedwait: referenced symbol not found

2010-01-11 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Found the root cause: it was introduced by a patch (to fix the same issue in the past) committed by us. -- status: open -> closed ___ Python tracker __

[issue1571841] email module does not complay with RFC 2046: CRLF issue

2010-01-11 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: -> committed/rejected superseder: -> email.Generators does not separates headers with "\r\n" ___ Python tracker _

[issue3876] multiprocessing does not compile on systems which do not define sem_timedwait

2010-01-11 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7382] bytes.__getnewargs__ is broken; copy.copy() therefore doesn't work on bytes, and bytes subclasses can't be pickled by default

2010-01-11 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- resolution: -> accepted stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue7382] bytes.__getnewargs__ is broken; copy.copy() therefore doesn't work on bytes, and bytes subclasses can't be pickled by default

2010-01-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Committed in r77437. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2010-01-11 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Our nightly ActivePython builds broke because of this issue. Note that we still build on 10.4 w/ 10.4u SDK. I should be able to help verify the new fix - once it is uploaded - in our build machine. -- nosy: +srid

[issue7453] HPUX 11.00: socketmodule.c -- error 1588: "AI_PASSIVE" undefined.

2010-01-11 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: BTW, this bug no longer occurs with Python trunk (or 2.7a2). I took at look at the vcs history and couldn't find any changes related to this. -- ___ Python tracker __

[issue6710] hotshot stats load causes TypeError when multiple files are loaded

2010-01-11 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- nosy: +alexandre.vassalotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5372] Distutils inappropriately reuses .o files between extension modules

2010-01-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r77424, r77425, r77427, r77430 Thanks Collin ! -- status: open -> closed ___ Python tracker ___ __

[issue1967] Backport dictviews to 2.7

2010-01-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Committed in r77428. Thanks for your comments! -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue2919] Merge profile/cProfile in 3.0

2010-01-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Any comment about the code I posted? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue2333] Backport set and dict comprehensions

2010-01-11 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Committed in r77422. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2010-01-11 Thread Kirk Vander Meulen
Kirk Vander Meulen added the comment: I've also confirmed this one (by chance). I'm on ubuntu linux, and I am seeing the problem in both 2.6 and 3.1, both using Tk 8.5. I don't see the problem on my windows install (Vista, python 2.5, not sure of the Tk version right now). But I did find a

[issue7672] _ssl module causes segfault

2010-01-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: Bill, what do you think? -- assignee: -> janssen ___ Python tracker ___ ___ Python-bugs-list maili

[issue1459867] Message.as_string should use "mangle_from_=unixfrom"?

2010-01-11 Thread R. David Murray
R. David Murray added the comment: If I understand correctly, this is related to issue 1440472. There the complaint is made that what you get out is not what you put in, since unixfrom defaults to True. But that's only true for __str__. As kxroberto points out, in as_string it defaults to

[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-01-11 Thread Florent Xicluna
Florent Xicluna added the comment: It would be nice to upgrade ElementTree for 2.7 and 3.2, at least. -- versions: -Python 2.6, Python 3.1 ___ Python tracker ___ ___

[issue7678] subprocess.Popen pipeline example code in the documentation is lacking

2010-01-11 Thread Steven K. Wong
New submission from Steven K. Wong : The example code at http://www.python.org/doc/2.6.2/library/subprocess.html#replacing-shell-pipeline should be updated to add the close() call noted below: output=`dmesg | grep hda` ==> p1 = Popen(["dmesg"], stdout=PIPE) p2 = Popen(["grep", "hda"], stdin=p1

[issue1023290] Conversion of longs to bytes and vice-versa.

2010-01-11 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7448] when piping output between subprocesses some fd is left open blocking forever

2010-01-11 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: -> duplicate status: open -> closed superseder: -> Popen.subprocess change close_fds default to True ___ Python tracker ___ _

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Florent Xicluna
Changes by Florent Xicluna : Added file: http://bugs.python.org/file15831/issue7675_pydoc_v2.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15830/issue7675_pydoc_v2.diff ___ Python tracker ___ ___ Python-bugs-list

[issue7448] when piping output between subprocesses some fd is left open blocking forever

2010-01-11 Thread Steven K. Wong
Steven K. Wong added the comment: Looks like a duplicate of http://bugs.python.org/issue7213 . -- nosy: +steven.k.wong ___ Python tracker ___

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Florent Xicluna
Florent Xicluna added the comment: New patch: backward compatibility preserved. -- Added file: http://bugs.python.org/file15830/issue7675_pydoc_v2.diff ___ Python tracker ___ ___

[issue5898] Hang in Popen.wait() when another process has been created

2010-01-11 Thread Steven K. Wong
Steven K. Wong added the comment: See this related issue: http://bugs.python.org/issue7213 -- ___ Python tracker ___ ___ Python-bugs-l

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15828/issue7675_pydoc.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue5898] Hang in Popen.wait() when another process has been created

2010-01-11 Thread Steven K. Wong
Steven K. Wong added the comment: See this related issue: http://bugs.python.org/issue7448 -- ___ Python tracker ___ ___ Python-bugs-l

[issue7672] _ssl module causes segfault

2010-01-11 Thread Sean Soria
Sean Soria added the comment: For an app that makes use of SSL itself it better set the callbacks before spawning threads or it's going to be in trouble anyway. For an app not making use of SSL my patch doesn't make the situation any worse. That sounds like an overall gain to me. --

[issue5898] Hang in Popen.wait() when another process has been created

2010-01-11 Thread Steven K. Wong
Steven K. Wong added the comment: I think the hang is not a bug. Take a look at the Popen documentation on close_fds. If you specify close_fds=True when creating proc2, the hang will not happen when you remove the "proc2.stdin.close()" line. -- nosy: +steven.k.wong __

[issue1454285] test_parsedate_acceptable_to_time_functions+DST == :-(

2010-01-11 Thread R. David Murray
R. David Murray added the comment: I can't reproduce this. If you can, please reopen. -- components: +Tests -None nosy: +r.david.murray resolution: -> works for me stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python t

[issue7672] _ssl module causes segfault

2010-01-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch is not thread-safe. If two threads where to do the same thing simultaneously, they might (simultaneously) both determine that the lock is not installed, and then one would overwrite the lock of the other, leading exactly to the situation that the p

[issue7672] _ssl module causes segfault

2010-01-11 Thread Sean Soria
Sean Soria added the comment: Yea, I've given up on getting this fixed based on the crash. Now I'm going for it not being thread safe. -- ___ Python tracker ___

[issue7672] _ssl module causes segfault

2010-01-11 Thread Martin v . Löwis
Martin v. Löwis added the comment: There is no way to unload a module, at least not until Python 3. Losing all references to the module won't help. -- ___ Python tracker ___ ___

[issue1422094] email.MIME*.as_string removes duplicate spaces

2010-01-11 Thread R. David Murray
R. David Murray added the comment: Duplicate of issue 5612, which has a small amount of additional info so I'm closing this one. -- nosy: +r.david.murray resolution: -> duplicate status: open -> closed superseder: -> whitespace folding in the email package could be better ;-) __

[issue7672] _ssl module causes segfault

2010-01-11 Thread Sean Soria
Sean Soria added the comment: Okay, what if I attack this problem from a "it's not thread-safe" point of view? If the callbacks are already loaded, then who knows what state the locks are in. If you replace the locking_callback while a thread already has the lock, and another thread comes in

[issue5525] Problem with email.MIME* library, using wrong new line

2010-01-11 Thread R. David Murray
R. David Murray added the comment: Effectively this is a duplicate of issue 1349106, since you are right that it affects more than just boundary production. I believe we are going to address this in a new version of the email module. -- nosy: +r.david.murray priority: -> normal resol

[issue1349106] email.Generators does not separates headers with "\r\n"

2010-01-11 Thread R. David Murray
R. David Murray added the comment: Consider also issue 975330. -- nosy: +r.david.murray versions: +Python 3.2 -Python 3.1 ___ Python tracker ___ __

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch should also work with 8-bit docstrings, and the tests should reflect both uses. -- nosy: +pitrou ___ Python tracker ___ _

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Florent Xicluna
Florent Xicluna added the comment: The unicode text is sent to the subprocess without encoding. It is encoded implicitly to ASCII (sys.getdefaultencoding()). This patch performs explicit encoding. Tests added. -- keywords: +patch stage: needs patch -> patch review versions: +Python 3.2

[issue7677] distutils, better error message for setup.py upload -sign without identity.

2010-01-11 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> needs patch versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue7677] distutils, better error message for setup.py upload -sign without identity.

2010-01-11 Thread Rene Dudfield
New submission from Rene Dudfield : hi, When using setup.py upload --sign without --identity, gpg can give weird messages. Rather than this error message: """running upload gpg --detach-sign --local-user gn -a dist/pywebsite-0.1.18pre.tar.gz gpg: skipped "gn": secret key not available gpg: sig

[issue1023290] Conversion of longs to bytes and vice-versa.

2010-01-11 Thread Mark Dickinson
Mark Dickinson added the comment: I'd still like to see this backported to 2.7; if no-one else is interested in doing the backport, I'll try to find time before the betas. (Alexandre, if you want to do the backport, please do steal the issue from me.) -- assignee: alexandre.vassalotti

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-11 Thread R. David Murray
R. David Murray added the comment: I was curious, so I googled. You may have already found this as well: it's a 'fault code', and apparently there's no standard for such codes. The choice of 8002 may be modeled on what twisted.web does with exceptions. Staying consistent with them is not a

[issue7675] help() doesn't accept unicode literals in built in docstrings

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

[issue7676] IDLE shell shouldn't use TABs

2010-01-11 Thread Cherniavsky Beni
New submission from Cherniavsky Beni : IDLE defaults to indenting with 4 spaces in editor windows, but hard TABs in the Python Shell window. This is inconsistent with PEP 8; what's worse, it's makes copy-paste code between the shell and editor windows confusing and dangerous! Recently I gave

[issue7633] decimal.py: type conversion in context methods

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

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread Florent Xicluna
Florent Xicluna added the comment: Confirmed. With Python 2: >>> import pydoc >>> pydoc.pipepager(u'tütdelüt\n', 'cat') Traceback (most recent call last): File "", line 1, in File "./Lib/pydoc.py", line 1357, in pipepager pipe.write(text) UnicodeEncodeError: 'ascii' codec can't encode

[issue7675] help() doesn't accept unicode literals in built in docstrings

2010-01-11 Thread pablo stapff
New submission from pablo stapff : We use umlaut in our docstrings and when we use the help() function to extract the documentation, the function reports an error: UnicodeEncodeError: 'ascii' codec can't encode character Our docstrings are specified as unicode literals and the source file

[issue2644] errors from msync ignored in mmap_object_dealloc

2010-01-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: No, I don't know how to provoke such an error other than passing illegal parameters..(or munmap'ing the mmap'ed area). -- ___ Python tracker ___

[issue7671] test_popen fails if path contains special char like ";"

2010-01-11 Thread Florent Xicluna
Florent Xicluna added the comment: With r77420, it fails when path contains backslash "\". Using '"%s" -c "..."' it does not fail. -- resolution: fixed -> status: closed -> open ___ Python tracker ___

[issue1943] improved allocation of PyUnicode objects

2010-01-11 Thread Adam Olsen
Adam Olsen added the comment: On Sun, Jan 10, 2010 at 14:59, Marc-Andre Lemburg wrote: > BTW, I'm not aware of any changes to the PyUnicodeObject by some > fastsearch implementation. Could you point me to this ? /* We allocate one more byte to make sure the string is Ux terminated.