[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-05-20 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Eric. Committed in r72803; backported to trunk in r72805. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-05-17 Thread Eric Smith
Eric Smith added the comment: It looks good to me. -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-05-16 Thread Mark Dickinson
Changes by Mark Dickinson : -- components: +Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: Patch against py3k. If someone can review this I'll apply it for 3.1; otherwise, it can wait until 3.2. -- keywords: +patch priority: -> normal stage: test needed -> commit review versions: -Python 2.6, Python 3.0 Added file: http://bugs.python.org/

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-05-01 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> marketdickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-04-25 Thread Mark Dickinson
Mark Dickinson added the comment: complex('1e-500') bug fixed in r71891 (2.6) and r71892 (3.0). It's already gone in trunk and py3k. What's left is deciding whether the OverflowError that 2.7 and 3.1 currently produce should disappear in favour of producing infinities instead. -- __

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-04-24 Thread Mark Dickinson
Mark Dickinson added the comment: Note: complex('1e-500') also produces ValueError in 2.6. That's definitely a bug. -- ___ Python tracker ___ __

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-04-24 Thread Mark Dickinson
Changes by Mark Dickinson : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-04-24 Thread Mark Dickinson
New submission from Mark Dickinson : In (for example) Python 2.6: >>> float('1e500') inf >>> complex('1e500') Traceback (most recent call last): File "", line 1, in ValueError: float() out of range: 1e500 I'd say that one of these is a bug, but I'm not sure which one. Ideally, float('1e500'