Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

error message can not provide more information #597

Closed
ironpythonbot opened this issue Dec 9, 2014 · 0 comments
Closed

error message can not provide more information #597

ironpythonbot opened this issue Dec 9, 2014 · 0 comments
Labels

Comments

@ironpythonbot
Copy link

the error message can not provide more information ,
we should know which function is called. just like Cpython.

E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L
ib

ipy
IronPython console: IronPython 2.0A6 (2.0.11102.00) on .NET 2.0.50727.1318
Copyright (c) Microsoft Corporation. All rights reserved.

long(";0x20";,16)
Traceback (most recent call last):
File , line 0, in ##237
ValueError: invalid integer number literal
int(";";)
Traceback (most recent call last):
File , line 0, in ##244
ValueError: Invalid integer literal
int(";";,10)
Traceback (most recent call last):
File , line 0, in ##246
ValueError: Invalid integer literal
int(";0x20";,10)
Traceback (most recent call last):
File , line 0, in ##248
ValueError: invalid integer number literal

E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L
ib
python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on
win32
Type ";help";, ";copyright";, ";credits"; or ";license"; for more information.
int(";";,10)
Traceback (most recent call last):
File ";";, line 1, in
ValueError: invalid literal for int() with base 10: ''
int(";0x20";,10)
Traceback (most recent call last):
File ";";, line 1, in
ValueError: invalid literal for int() with base 10: '0x20'

Work Item Details

Original CodePlex Issue: Issue 23846
Status: Active
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Jul 28, 2009 at 12:00 AM
Reported by: dfugate
Updated on: Feb 22, 2013 at 2:12 AM
Updated by: jdhardy
Custom value: Reported internally at Microsoft.
Test: test_optparse
CreatedDate: 11/26/2007
NewInternalID: 409659
OldInternalID: 323565
AreaPath: IronPython\Python25

@slozier slozier removed the untriaged label Nov 3, 2016
slozier added a commit to slozier/main that referenced this issue Nov 3, 2016
@slide slide closed this as completed in 7086301 Nov 3, 2016
@slide slide added the 2.7.7 label Nov 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants