summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_getargs2.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-031-10/+4
| | | | numbers in PyLong_AsLongLong, and update test suite accordingly.
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-5/+3
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* This test now uses the separate getargs_X functions from _testcapimodule.Thomas Heller2003-04-241-101/+109
|
* Whitespace normalization.Tim Peters2003-04-241-1/+1
|
* Delete the 'h' test -- 'h' is no longer unsigned so the machinery hereGuido van Rossum2003-04-181-16/+1
| | | | can't test it. It's unchanged so why would we test it anyway...
* SF # 595026: support for masks in getargs.c.Thomas Heller2003-04-171-0/+245
New functions: unsigned long PyInt_AsUnsignedLongMask(PyObject *); unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *); unsigned long PyLong_AsUnsignedLongMask(PyObject *); unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *); New and changed format codes: b unsigned char 0..UCHAR_MAX B unsigned char none ** h unsigned short 0..USHRT_MAX H unsigned short none ** i int INT_MIN..INT_MAX I * unsigned int 0..UINT_MAX l long LONG_MIN..LONG_MAX k * unsigned long none L long long LLONG_MIN..LLONG_MAX K * unsigned long long none Notes: * New format codes. ** Changed from previous "range-and-a-half" to "none"; the range-and-a-half checking wasn't particularly useful. New test test_getargs2.py, to verify all this.