[issue1965] Move trunc() to math module

2008-02-01 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: *sigh* That's the version I put there. Did you read the patch before complaining about it? __ Tracker <[EMAIL PROTECTED]> __ _

[issue1965] Move trunc() to math module

2008-02-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: The latest version in Py2.6 has wording about truncating toward zero. This is fine. Leaving the report closed. __ Tracker <[EMAIL PROTECTED]> __

[issue1965] Move trunc() to math module

2008-02-01 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Go ahead and fix the docstring. I don't really understand what was incorrect about the original "returns the integral closest to x between 0 and x", so I'm not confident that I'll come up with something you'll like. -- assignee: jyasskin -> rhettinger

[issue1965] Move trunc() to math module

2008-01-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: It would be nice in the docstring the definition of "truncate" wasn't assumed. It would be more specific to say that it rounds towards zero or that it is ceil(x) for negatives and floor(x) for positives. Alternatively, state that it returns the integer po

[issue1965] Move trunc() to math module

2008-01-31 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Moved in r60486. I tried to improve the docstring too. -- resolution: accepted -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1965] Move trunc() to math module

2008-01-30 Thread Christian Heimes
Changes by Christian Heimes: -- priority: -> high __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1965] Move trunc() to math module

2008-01-29 Thread Jeffrey Yasskin
Changes by Jeffrey Yasskin: -- resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1965] Move trunc() to math module

2008-01-29 Thread Raymond Hettinger
New submission from Raymond Hettinger: http://mail.python.org/pipermail/python-dev/2008-January/076626.html Also, the docstring doesn't seem correct or clear. -- assignee: jyasskin components: Extension Modules messages: 61823 nosy: jyasskin, rhettinger severity: normal status: open tit