Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(224)

Issue 504: Patch to short circuit an exact match (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 11 months ago by GvR
Modified:
14 years, 8 months ago
Reviewers:
python
Base URL:
http://svn.python.org/view/*checkout*/python/trunk/
Visibility:
Public.

Description

http://bugs.python.org/issue2303

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
Objects/abstract.c View 1 chunk +5 lines, -1 line 1 comment Download

Messages

Total messages: 1
GvR
15 years, 11 months ago (2008-05-02 05:20:44 UTC) #1
http://codereview.appspot.com/504/diff/1/21
File Objects/abstract.c (right):

http://codereview.appspot.com/504/diff/1/21#newcode2914
Line 2914: if (Py_TYPE(inst) == cls && !PyTuple_Check(cls))
The tuple check is technically redundant. :-)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b