Issue2130

classification
Title: __builtin__.max raises "min of empty sequence" error
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.7
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: onealj, zyasoft
Priority: Keywords: patch

Created on 2014-04-24.00:15:07 by onealj, last changed 2014-09-24.00:15:13 by zyasoft.

Files
File name Uploaded Description Edit Remove
fix-issue2130.patch hjacobs, 2014-07-26.08:42:26 Patch for this issue including unit test for builtin "max"
Messages
msg8302 (view) Author: Javen O'Neal (onealj) Date: 2014-04-24.00:15:05
The max function in org.python.core.__builtin__.MaxFunction raises a ValueError with the message "min of empty sequence". The message should be "max of empty sequence".

http://sourceforge.net/p/jython/svn/7261/tree/trunk/jython/src/org/python/core/__builtin__.java#l1361
msg8890 (view) Author: Jim Baker (zyasoft) Date: 2014-07-26.09:05:41
Fixed as of http://hg.python.org/jython/rev/8f4fef31df0b
History
Date User Action Args
2014-09-24 00:15:13zyasoftsetstatus: pending -> closed
2014-07-26 09:05:41zyasoftsetstatus: open -> pending
resolution: accepted -> fixed
messages: + msg8890
nosy: + zyasoft
versions: - Jython 2.1, Jython 2.5, Jython 2.2
2014-07-26 08:42:27hjacobssetfiles: + fix-issue2130.patch
keywords: + patch
2014-04-24 18:16:24zyasoftsetresolution: accepted
2014-04-24 00:15:07onealjcreate