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 chris.jerdonek
Recipients chris.jerdonek, ezio.melotti, pitrou
Date 2012-09-29.20:54:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348952088.23.0.676863232248.issue16045@psf.upfronthosting.co.za>
In-reply-to
Content
Adding patch modified for 2.7.  Here are the differences I found from 3.3.  Unlike 3.3--

(1) 2.7 does not accept bytearrays for x (though it accepts str/bytes).
(2) 2.7 raises a TypeError if passed a string base without providing x.

Is it acceptable to add tests like this to the 2.7 branch?

This information also helps in preparing the 2.7 documentation patch for issue 16036 and ensuring that it is correct.
History
Date User Action Args
2012-09-29 20:54:48chris.jerdoneksetrecipients: + chris.jerdonek, pitrou, ezio.melotti
2012-09-29 20:54:48chris.jerdoneksetmessageid: <1348952088.23.0.676863232248.issue16045@psf.upfronthosting.co.za>
2012-09-29 20:54:48chris.jerdoneklinkissue16045 messages
2012-09-29 20:54:47chris.jerdonekcreate