Skip to content

Commit cd12aff

Browse files
committed
added john's comments
1 parent 252b104 commit cd12aff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Python3-porting.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
See cgi-bin/p4_encoder.py for some proposed changes
22

3+
John DeNero's comments on 2012-07-23
4+
'''
5+
Distinguishing whether
6+
some x is a class or not in Python 3 should be performed via:
7+
8+
isinstance(x, type)
9+
10+
I don't think any sort of hack or repr comparison is required.
11+
'''
12+
313

414
Notes from Peter Wentworth about porting to Python 3
515
'''

0 commit comments

Comments
 (0)