This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dangyogi
Recipients dangyogi
Date 2010-03-28.20:15:13
SpamBayes Score 1.67253e-11
Marked as misclassified No
Message-id <>
I'm getting a "TypeError: bad argument type for built-in operation" on a print() with no arguments.  This seems to be a problem in both 3.1 and 3.1.2 (haven't tried 3.1.1).

I've narrowed the problem down in a very small demo program that you can run to reproduce the bug.  Just do "python3.1" and hit <ENTER> at the "prompt:".

Removing the doctest call (and calling "foo" directly) doesn't get the error.  Also removing the "input" call (and leaving the doctest call in) doesn't get the error.

The startup banner on my python3.1 is:
Python 3.1.2 (r312:79147, Mar 26 2010, 16:55:44) 
[GCC 4.3.3] on linux2

I compiled python 3.1.2 with ./configure, make, make altinstall without any options.  I'm running ubuntu 9.04 with the 2.6.28-18-generic (32-bit) kernel.
Date User Action Args
2010-03-28 20:15:16dangyogisetrecipients: + dangyogi
2010-03-28 20:15:16dangyogisetmessageid: <>
2010-03-28 20:15:14dangyogilinkissue8256 messages
2010-03-28 20:15:13dangyogicreate