Skip to content

Instantly share code, notes, and snippets.

@Kroisse
Created June 18, 2012 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kroisse/2947527 to your computer and use it in GitHub Desktop.
Save Kroisse/2947527 to your computer and use it in GitHub Desktop.
PyPy fails on formatting bool
Python 2.7.2 (0e28b379d8b3, Feb 09 2012, 18:31:14)
[PyPy 1.8.0 with GCC 4.2.1] on darwin
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``PyPy is vast, and contains
multitudes''
>>>> print True
True
>>>> print '{0}'.format(True)
1
>>>> print '%s' % True
True
Python 2.7.1 (r271:86832, Jun 25 2011, 05:09:01)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print True
True
>>> print '{0}'.format(True)
True
>>> print '%s' % True
True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment