log Lib/test/test_getargs2.py @ 87690:66c1c9f32567 default tip

age author description
Wed, 12 Jun 2013 21:25:59 -0400 Brett Cannon Update various test modules to use unittest.main() for test discovery
Tue, 26 Mar 2013 01:11:54 +0100 Victor Stinner Issue #17516: use comment syntax for comments, instead of multiline string
Sat, 05 May 2012 16:54:29 -0700 Larry Hastings Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support.
Tue, 20 Mar 2012 20:06:16 +0000 Larry Hastings Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.
Fri, 29 Jul 2011 07:05:08 +0300 Eli Bendersky Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
Sat, 05 Mar 2011 15:15:55 +0100 Georg Brandl Dummy-merge 3.1 branch into 3.2 branch. 3.2
Tue, 18 Jan 2011 18:57:52 +0000 Antoine Pitrou Issue #10451: memoryview objects could allow to mutate a readable buffer.
Sat, 20 Nov 2010 19:04:17 +0000 Ezio Melotti #9424: Replace deprecated assert* methods in the Python test suite.
Fri, 25 Jun 2010 00:02:38 +0000 Victor Stinner Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, use
Thu, 24 Jun 2010 22:08:25 +0000 Victor Stinner Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytes
Sun, 13 Jun 2010 18:21:50 +0000 Victor Stinner Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"
Thu, 10 Jun 2010 16:05:10 +0000 Mark Dickinson Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,
Wed, 19 May 2010 00:54:06 +0000 Victor Stinner Issue #6697: Fix a crash if a keyword contains a surrogate
Fri, 01 Jan 2010 19:27:32 +0000 Mark Dickinson Merged revisions 77218 via svnmerge from
Sun, 20 Dec 2009 16:03:30 +0000 Mark Dickinson Merged revisions 76930 via svnmerge from
Sat, 05 Dec 2009 20:28:34 +0000 Mark Dickinson Issue #7435: Remove duplicate int/long tests, and other
Sun, 21 Nov 2010 01:30:29 +0000 Ezio Melotti Merged revisions 86596 via svnmerge from 3.1
Thu, 13 Aug 2009 08:51:18 +0000 Georg Brandl Merged revisions 73715 via svnmerge from 3.1
Tue, 20 May 2008 21:35:26 +0000 Benjamin Peterson #2621 rename test.test_support to test.support
Tue, 22 Apr 2008 19:02:40 +0000 Trent Nelson Issue 2440: remove the guard around the handling of case 'n' in getargs.c's convertsimple() such that we always treat it as an index type, regardless of whether or not sizeof(size_t) == sizeof(long). Fix the test_args2.Signed_TestCase.test_n() such that it tests for adherence to PEP 357 (don't try and coerce objects that don't have nb_index slots but do have nb_int slots (i.e. floats) into indexes 'just because we can'). Three other commits are related to this one: r62269 and r62279, which were changes to PyNumber_Index (among other things) to check for nb_int slots when we lack nb_index slots -- and r62292, which is when I reverted these changes after various people pointed out that the test was in fact wrong, not the code.
Fri, 11 Apr 2008 23:02:37 +0000 Trent Nelson Issue 2440: revert r62269 and r62279. These changes were made in an effort to fix test_args2.Signed_TestCase.test_n(), which was failing on Windows x64 on the following line: 'self.failUnlessEqual(99, getargs_n(Long()))'. Although the two commits *did* fix the test on Windows x64, it's become clear that it's the test that's incorrect, and the changes to PyNumber_Index() in particular were not warranted (and actually violate PEP 357). This commit will get us back to where we were at r62268, before I started butchering things.
Thu, 10 Apr 2008 16:25:37 +0000 Trent Nelson Issue 2440: fix the handling of %n in Python/getargs.c's convertsimple(), extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that have nb_int slots, and update test_getargs2 to test that an exception is thrown when __int__() returns a non-int object.
Thu, 28 Feb 2008 11:19:05 +0000 Christian Heimes Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61062,61066,61068,61070,61081-61095 via svnmerge from
Sat, 23 Feb 2008 18:30:17 +0000 Christian Heimes Merged revisions 60990-61002 via svnmerge from
Mon, 15 Jan 2007 16:59:06 +0000 Guido van Rossum Rip out 'long' and 'L'-suffixed integer literals.
Fri, 11 Aug 2006 14:57:12 +0000 Thomas Wouters Merged revisions 46753-51188 via svnmerge from
Fri, 21 Apr 2006 11:36:13 +0000 Thomas Wouters Fix newly merged test for p3ykness.
Fri, 21 Apr 2006 10:40:58 +0000 Thomas Wouters Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Sat, 15 Apr 2006 09:15:11 +0000 Thomas Wouters Fix tests for PyArg_Parse*; The PyArg_Parse functions no longer (noisily)
Sun, 21 Nov 2010 13:34:58 +0000 Ezio Melotti Merged revisions 86596 via svnmerge from 2.7
Fri, 01 Jan 2010 17:27:30 +0000 Mark Dickinson Issue #5080: turn the DeprecationWarning from float arguments passed legacy-trunk
Sun, 20 Dec 2009 15:57:56 +0000 Mark Dickinson Add missing tests for PyArg_Parse* with format 'h' legacy-trunk
Tue, 30 Jun 2009 22:57:08 +0000 Benjamin Peterson convert usage of fail* to assert* legacy-trunk
Tue, 26 Feb 2008 17:23:51 +0000 Christian Heimes Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and improve error msg legacy-trunk
Sat, 23 Feb 2008 17:40:11 +0000 Christian Heimes Patch #2167 from calvin: Remove unused imports legacy-trunk
Wed, 26 Jul 2006 23:23:15 +0000 Tim Peters Whitespace normalization. legacy-trunk
Wed, 26 Jul 2006 08:03:10 +0000 Georg Brandl Part of bug #1523610: fix miscalculation of buffer length. legacy-trunk
Thu, 13 Apr 2006 22:58:42 +0000 Tim Peters Whitespace normalization. legacy-trunk
Thu, 13 Apr 2006 07:59:30 +0000 Georg Brandl Add a test for Py_ssize_t. Correct typo in getargs.c. legacy-trunk
Wed, 09 Aug 2006 07:15:29 +0000 Georg Brandl Backport fixes for #1523610 (crashes in PyArg_ParseTuple): 2.4
Thu, 03 Mar 2005 12:26:20 +0000 Martin v. Löwis Revert previous checkin on getargs 'L' code. Try to convert all 2.4
Thu, 01 May 2003 17:45:56 +0000 Walter Dörwald Combine the functionality of test_support.run_unittest() legacy-trunk
Thu, 24 Apr 2003 16:15:29 +0000 Thomas Heller This test now uses the separate getargs_X functions from _testcapimodule. legacy-trunk
Thu, 24 Apr 2003 16:02:54 +0000 Tim Peters Whitespace normalization. legacy-trunk
Fri, 18 Apr 2003 00:13:53 +0000 Guido van Rossum Delete the 'h' test -- 'h' is no longer unsigned so the machinery here legacy-trunk
Thu, 17 Apr 2003 18:55:45 +0000 Thomas Heller SF # 595026: support for masks in getargs.c. legacy-trunk