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

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. It seems that hijacking the existing HAVE_BROKEN_POSIX_SEMAPHORES wasn't a good idea. I was surprised to find that OS X defines _POSIX_SEMAPHORES to -1, indicating a lack of POSIX semaphore support. -- ___ P

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

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: Variable clash should be fixed in r76558. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: Merged to py3k, release31-maint in r76566, r76567. David, I think we're ready to enable POSIX semaphore support on the FreeBSD 7.2 buildbot now, if you get the chance. -- resolution: -> fixed status: open -> closed __

[issue7048] decimal.py: logb: round the result if it is greater than prec

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: There's a restriction on the second argument to scaleb in the spec, namely that scaleb should be in the range -2*(Emax + precision) to 2*(Emax + precision) inclusive. This restriction seems entirely arbitrary and unnecessary to me. My guess is that it's ther

[issue7098] g formatting for decimal types should always strip trailing zeros.

2009-11-28 Thread Mark Dickinson
Changes by Mark Dickinson : -- components: +Documentation -Library (Lib) priority: normal -> low stage: patch review -> needs patch ___ Python tracker ___

[issue7046] decimal.py: use DivisionImpossible and DivisionUndefined

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: I think it's actually easier for the user if we keep the exception type as it is, so that it's clear which flag it corresponds to. This didn't occur to me until I looked at the section of the doctests (around line 100 in decimal.py) that looks like: >>> pri

[issue1515] deepcopy doesn't copy instance methods

2009-11-28 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Guido - agreed! Versions updated. -- versions: +Python 3.2 -Python 2.6 ___ Python tracker ___ ___

[issue7048] decimal.py: logb: round the result if it is greater than prec

2009-11-28 Thread Mark Dickinson
Changes by Mark Dickinson : -- priority: high -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1515] deepcopy doesn't copy instance methods

2009-11-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch has been committed in r76571 (trunk) and r76572 (py3k). Thank you! -- resolution: accepted -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue3944] faster long multiplication

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: I'm going to close this: it's a really nice idea, but after the 30-bit long digits were implemented, the speedup doesn't seem to be worth the extra code complication. The only situation I've found where this optimization really does make a big difference is

[issue4486] Exception traceback is incorrect for strange exception handling

2009-11-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Finally committed in py3k and 3.1. Thanks! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 3.0 ___ Python tracker _

[issue1678380] 0.0 and -0.0 identified, with surprising results

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: Applied (along with a corresponding fix for the complex type) in revisions r76575 through r76578. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue7327] format: minimum width: UTF-8 separators and decimal points

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

[issue644744] bdist_rpm fails when installing man pages

2009-11-28 Thread Thomas Vander Stichele
Thomas Vander Stichele added the comment: Ok, so this patch can go in as is except for changing .gz to * ? -- ___ Python tracker ___ ___

[issue7327] format: minimum width: UTF-8 separators and decimal points

2009-11-28 Thread Matthew Barnett
Matthew Barnett added the comment: Surely this is to be expected when working with bytestrings. You should be working in Unicode and using UTF-8 only for input and output. -- nosy: +mrabarnett ___ Python tracker __

[issue1859] textwrap doesn't linebreak on "\n"

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: I notice that Greg Ward just resurfaced on the issue tracker (issue 6454). :) Greg, any comment on this issue? -- nosy: +gward stage: -> test needed type: behavior -> feature request versions: -Python 2.6, Python 3.1 __

[issue1859] textwrap doesn't linebreak on "\n"

2009-11-28 Thread Mark Dickinson
Mark Dickinson added the comment: The current patch is too simple: it fails if lines end with ' \n', for example. The simplest way to make this work may be to put each '\n' into its own chunk. -- ___ Python tracker

[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 idle time for a restart. -- __

[issue1859] textwrap doesn't linebreak on "\n"

2009-11-28 Thread Greg Ward
Greg Ward added the comment: > Greg, any comment on this issue? Yes, two: 1) textwrap does not handle paragraphs or paragraph breaks in any way. That was a deliberate limitation to keep the code from getting any hairier. People have complained about this in the past, and I have studiously

[issue3471] PyObject_GetAttr() to get special methods

2009-11-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm closing this now. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___