Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MyInt(2)+"3" -> NotImplemented #36094

Closed
kirillsimonov mannequin opened this issue Feb 13, 2002 · 2 comments
Closed

MyInt(2)+"3" -> NotImplemented #36094

kirillsimonov mannequin opened this issue Feb 13, 2002 · 2 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@kirillsimonov
Copy link
Mannequin

kirillsimonov mannequin commented Feb 13, 2002

BPO 516727

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2002-03-08.21:12:34.000>
created_at = <Date 2002-02-13.00:13:40.000>
labels = ['interpreter-core']
title = 'MyInt(2)+"3" -> NotImplemented'
updated_at = <Date 2002-03-08.21:12:34.000>
user = 'https://bugs.python.org/kirillsimonov'

bugs.python.org fields:

activity = <Date 2002-03-08.21:12:34.000>
actor = 'jhylton'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2002-02-13.00:13:40.000>
creator = 'kirill_simonov'
dependencies = []
files = []
hgrepos = []
issue_num = 516727
keywords = []
message_count = 2.0
messages = ['9263', '9264']
nosy_count = 2.0
nosy_names = ['jhylton', 'kirill_simonov']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue516727'
versions = ['Python 2.3']

@kirillsimonov
Copy link
Mannequin Author

kirillsimonov mannequin commented Feb 13, 2002

class MyInt(int): pass
print MyInt(2)+"3"

This code printed "NotImplemented" while I was
expecting "TypeError". Not sure that this is a bug though.

@kirillsimonov kirillsimonov mannequin closed this as completed Feb 13, 2002
@kirillsimonov kirillsimonov mannequin added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Feb 13, 2002
@jhylton
Copy link
Mannequin

jhylton mannequin commented Mar 8, 2002

Logged In: YES
user_id=31392

Fixed in rev 2.97 of abstract.c.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

0 participants