Re: [Python-Dev] [Python-checkins] cpython (3.3): Issue #16045: add more unit tests for built-in int()

2012-12-23 Thread Chris Jerdonek
On Sun, Dec 23, 2012 at 6:19 PM, Terry Reedy wrote: > On 12/23/2012 4:47 PM, Chris Jerdonek wrote: >> On Sun, Dec 23, 2012 at 12:03 PM, Terry Reedy wrote: >>> +# For example, PyPy 1.9.0 raised TypeError for these cases because it +# expects x to be a string if base is given

Re: [Python-Dev] [Python-checkins] cpython (3.3): Issue #16045: add more unit tests for built-in int()

2012-12-23 Thread Terry Reedy
On 12/23/2012 4:47 PM, Chris Jerdonek wrote: On Sun, Dec 23, 2012 at 12:03 PM, Terry Reedy wrote: +# For example, PyPy 1.9.0 raised TypeError for these cases because it +# expects x to be a string if base is given. +@support.cpython_only +def test_base_arg_with_no_x_arg(self):

Re: [Python-Dev] [Python-checkins] cpython (3.3): Issue #16045: add more unit tests for built-in int()

2012-12-23 Thread Chris Jerdonek
On Sun, Dec 23, 2012 at 12:03 PM, Terry Reedy wrote: > >> +# For example, PyPy 1.9.0 raised TypeError for these cases because it >> +# expects x to be a string if base is given. >> +@support.cpython_only >> +def test_base_arg_with_no_x_arg(self): >> +self.assertEquals(int(b

Re: [Python-Dev] [Python-checkins] cpython (3.3): Issue #16045: add more unit tests for built-in int()

2012-12-23 Thread Terry Reedy
+# For example, PyPy 1.9.0 raised TypeError for these cases because it +# expects x to be a string if base is given. +@support.cpython_only +def test_base_arg_with_no_x_arg(self): +self.assertEquals(int(base=6), 0) +# Even invalid bases don't raise an exception. +

Re: [Python-Dev] [Distutils, Python3] Incorrect shared library extension on linux

2012-12-23 Thread Antoine Pitrou
Hello, On Sat, 22 Dec 2012 20:36:04 +0100 Sandro Mani wrote: > Hello, > > First: I'm using Python3 as available in Fedora rawhide > (python3-3.3.0-2.fc19.x86_64). > > Attempting to build a project using python3/distutils, I noticed that > find_library_file would not find any library at all.