[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2012-04-09 Thread Nick Coghlan
Nick Coghlan added the comment: Although, for the stdlib version, I wouldn't suppress the OS Error (I'd follow what we currently do for TemporaryDirectory) -- ___ Python tracker __

[issue14540] Crash in Modules/_ctypes/libffi/src/dlmalloc.c on ia64-hp-hpux11.31

2012-04-09 Thread Paul A.
New submission from Paul A. : The following stack trace happened towards the end of a Python-2.7.3rc2 build, but I also get much the same results with 2.7.2; one difference I noticed was I didn't think I needed to add -DHAVE_USR_INCLUDE_MALLOC_H there. running build_scripts creating build/scri

[issue14526] Python-2.6.8rc2 test never finishes ia64-hp-hpux11.31

2012-04-09 Thread Paul A.
Paul A. added the comment: Apparently my memory was faulty the other day... 2.7.2 does crash the same way as Python-2.7.3rc2 on this box. I opened a new bug report for that, so will close this one. I'll also sign up for core-mentorship as you suggest, and see what I can do to help.

[issue14524] Python-2.7.3rc2/Modules/_ctypes/libffi/src/dlmalloc.c won't compile on ia64-hp-hpux11.31 without -DHAVE_USR_INCLUDE_MALLOC_H

2012-04-09 Thread Paul A.
Paul A. added the comment: Will close this -- I'll try to help improve configure as I can get time. -- resolution: -> postponed status: open -> closed ___ Python tracker ___ __

[issue14512] Pydocs module docs server not working on Windows.

2012-04-09 Thread Nick Coghlan
Nick Coghlan added the comment: Hmm, we changed a few things with the way the back end server for pydoc works in 3.2. I didn't realise there was a Windows shortcut though, and I don't know how it gets generated. It sounds like it is still using the "-g" option, which is now deprecated. If yo

[issue14527] How to link with an external libffi?

2012-04-09 Thread Paul A.
Paul A. added the comment: Yes, I think my libffi setup is okay, but python apparently doesn't (according to the deeper-down log files I didn't initially know about). The following is a suspicious-looking snippet from build/temp.hp-ux-B.11.31-ia64-2.7/libffi/config.log... I have to question

[issue14423] Getting the starting date of iso week from a week number and a year.

2012-04-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Apr 9, 2012 at 7:28 PM, Marc-Andre Lemburg wrote: > You don't really expect anyone to remember such rules, do you ? :-) No, but it is still a one-line function that those who need it can easily implement. I am on the fence here because we alread

[issue14521] math.copysign(1., float('nan')) returns -1.

2012-04-09 Thread mattip
mattip added the comment: The pickle issue occurs in the numpy module, on windows >> cPickle.dumps(numpy.array(float('nan'))) yeilds "cnumpy.core.multiarray\n_reconstruct\np1\n(cnumpy\nndarray\np2\n(I0\ntS'b'\ntRp3\n(I1\n(tcnumpy\ndtype\np4\n(S'f8'\nI0\nI1\ntRp5\n(I3\nS'<'\nNNNI-1\nI-1\nI0\ntbI0

[issue11218] pattern=None when following documentation for load_tests and unittest.main()

2012-04-09 Thread Martin von Gagern
Martin von Gagern added the comment: Rik, I don't follow your argument on not changing discover. Currently, if code calls discover with pattern=None, there will be an exception. So there cannot be any working code out there which passes pattern=None. Therefore, it should be all right for the

[issue14512] Pydocs module docs server not working on Windows.

2012-04-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: C:\Programs\Python32\Tools\Scripts>..\..\pythonw pydocgui.pyw -b has the same behavior I described. So does -g. The shortcut has been part of the Windows installation for many versions. It obviously uses pydocgui.py. C:\Programs\Python32\Lib>pydoc.py -b # sta

[issue14521] math.copysign(1., float('nan')) returns -1.

2012-04-09 Thread Mark Dickinson
Mark Dickinson added the comment: > The pickle issue occurs in the numpy module, on windows I'm still not clear what the issue is. Is there something wrong in the output of the pickle example you show? -- ___ Python tracker

<    1   2