Index
A
apply function
B
Backtick repr
Bagcat-master
Base strings
check against str
past.builtins module
Python 2
Python 3
string_types constant
unicode type
Binary data
indexing
looping
Bytearray type
Bytes
BytesIO
future.utils.six
six module through Python-future
string literals
explicit marking
six
C
Catching exceptions
cgi.escape()method
chr() function
cmp() function
codecs.open()
Coexistence Gotchas
Configparser
Custom behavior of classes
custom iterators
Custom __str__ Methods
Python_2_unicode_compatible decorator
future
six
python-future
Custom Boolean methods
Custom iterator methods
@implements_iterator decorator
__iter__() method
iterator class
__next__ special method
next() function
six.advanced_iterator() method
subclass object, future’s builtins module
Custom __str__ Methods
D

Get Python 2 and 3 Compatibility: With Six and Python-Future Libraries now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.