Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply SF patch #101135, adding 'import module as m' and 'from module import | Thomas Wouters | 2000-08-17 | 2 | -0/+34 |
| | | | | | | | | name as n'. By doing some twists and turns, "as" is not a reserved word. There is a slight change in semantics for 'from module import name' (it will now honour the 'global' keyword) but only in cases that are explicitly undocumented. | ||||
* | Apply SF patch #101029: call __getitem__ with a proper slice object if there | Thomas Wouters | 2000-08-17 | 2 | -0/+320 |
| | | | | | | | | is no __getslice__ available. Also does the same for C extension types. Includes rudimentary documentation (it could use a cross reference to the section on slice objects, I couldn't figure out how to do that) and a test suite for all Python __hooks__ I could think of, including the new behaviour. | ||||
* | Chris Herborth <chrish@pobox.com>: | Fred Drake | 2000-08-15 | 1 | -0/+9 |
| | | | | | | | | | Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978. | ||||
* | Update test output to reflect change in SyntaxError formatting. | Fred Drake | 2000-08-15 | 1 | -1/+1 |
| | | | | This closes SourceForge bug #110628 (Jitterbug PR#278). | ||||
* | tests for binascii.b2a_hex() and binascii.a2b_hex(). | Barry Warsaw | 2000-08-15 | 1 | -0/+19 |
| | |||||
* | Added a test of the md5.hexdigest() method. Funny enough, this test | Barry Warsaw | 2000-08-15 | 1 | -0/+6 |
| | | | | | had yet-another Python implementation of a binary-data-to-hex-digit encoder! | ||||
* | Remove the test for abspath with an empty path - too hard to do in a ↵ | Mark Hammond | 2000-08-14 | 1 | -1/+0 |
| | | | | cross-platform manner. | ||||
* | Test for fix to bug #110673: os.abspatth() now always returns os.getcwd() on ↵ | Mark Hammond | 2000-08-14 | 1 | -0/+5 |
| | | | | Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName()) | ||||
* | Check in the correct output - even though the module itself may not survive! | Mark Hammond | 2000-08-14 | 1 | -0/+76 |
| | |||||
* | list comprehensions. see | Skip Montanaro | 2000-08-12 | 2 | -0/+47 |
| | | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details. | ||||
* | Add largefile support for Linux64 and WIn64. Add test_largefile and some minor | Trent Mick | 2000-08-11 | 3 | -7/+142 |
| | | | | | | | | | | change to regrtest.py to allow optional running of test_largefile ('cause it's slow on Win64). This closes patches: http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100510&group_id=5470 and http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=100511&group_id=5470 | ||||
* | remove all occurence of math.rint() from the sources | Peter Schneider-Kamp | 2000-08-10 | 2 | -13/+0 |
| | | | | (and yes, "Currintly" also counts <0.5 wink>) | ||||
* | -- changed findall to return empty strings instead of None | Fredrik Lundh | 2000-08-09 | 1 | -0/+1 |
| | | | | for undefined groups | ||||
* | -- enabled some temporarily disabled RE tests | Fredrik Lundh | 2000-08-08 | 3 | -6/+39 |
| | | | | | -- added basic unicode tests to test_re -- added test case for Sjoerd's xmllib problem to re_tests | ||||
* | -- whitespace cleanup (real changes coming in next checkin) | Fredrik Lundh | 2000-08-08 | 1 | -20/+20 |
| | |||||
* | -- whitespace cleanup (more tests to be added in the next commit) | Fredrik Lundh | 2000-08-08 | 1 | -23/+23 |
| | |||||
* | Barry's patch to test the new setdefault() method. | Guido van Rossum | 2000-08-08 | 1 | -0/+12 |
| | |||||
* | Removing UTF-16 aware Unicode comparison code. This kind of compare | Marc-André Lemburg | 2000-08-08 | 2 | -51/+53 |
| | | | | | | | function (together with other locale aware ones) should into a new collation support module. See python-dev for a discussion of this removal. Note: This patch should also be applied to the 1.6 branch. | ||||
* | Neil Schemenauer: GC enable(), disable(), isenabled() interface. | Vladimir Marangozov | 2000-08-06 | 1 | -0/+12 |
| | | | | | | Small stylistic changes by VM: - is_enabled() -> isenabled() - static ... Py_<func> -> static ... gc_<func> | ||||
* | Oooopsss.....tab and space mismatch corrected. | Moshe Zadka | 2000-08-04 | 1 | -2/+2 |
| | |||||
* | Raise 'TestSkipped' (from the test_support) module rather than 'ImportError' | Thomas Wouters | 2000-08-04 | 10 | -19/+20 |
| | | | | | to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README. | ||||
* | Raise TestSkipped, not ImportError. | Moshe Zadka | 2000-08-04 | 1 | -2/+2 |
| | | | | Honesty's the best policy. | ||||
* | Make test_support.TestSkipped errors work the same way as ImportErrors: | Thomas Wouters | 2000-08-04 | 1 | -1/+1 |
| | | | | mark the test as 'skipped', rather than 'failed'. | ||||
* | In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there | Moshe Zadka | 2000-08-04 | 1 | -0/+3 |
| | | | | | | | | | at all (my computer doesn't have a Sound Blaster), this doesn't mean there's a bug in linuxaudiodev. The only error the test suite skips is currently ImportError -- so that's what we raise. If you see a problem with this patch, say so and I'll retract. If you think raising an ImportError sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna let the test-suite fail on my machine. | ||||
* | test the non-multipart sections of the cgi module | Jeremy Hylton | 2000-08-03 | 2 | -0/+196 |
| | |||||
* | Checking in empty tests for urlparse, as future place holders | Moshe Zadka | 2000-08-03 | 2 | -0/+1 |
| | |||||
* | -- added recursion limit (currently ~10,000 levels) | Fredrik Lundh | 2000-08-03 | 2 | -0/+11 |
| | | | | | | | -- improved error messages -- factored out SRE_COUNT; the same code is used by SRE_OP_REPEAT_ONE_TEMPLATE -- minor cleanups | ||||
* | Added a -l/--leakdebug option which turns on DEBUG_LEAK if the gc | Barry Warsaw | 2000-08-03 | 1 | -12/+23 |
| | | | | module is importable. | ||||
* | Added output for testsuite for new zip() builtin. | Barry Warsaw | 2000-08-03 | 1 | -0/+1 |
| | |||||
* | Added testsuite for new zip() builtin. | Barry Warsaw | 2000-08-03 | 1 | -0/+36 |
| | |||||
* | Comment out repeated-group test for the moment | Andrew M. Kuchling | 2000-08-03 | 1 | -1/+1 |
| | |||||
* | Add nasty test case that overflows the stack with a repeated group | Andrew M. Kuchling | 2000-08-03 | 1 | -0/+4 |
| | |||||
* | -- SRE 0.9.8: now that the bug is fixed, I might as well enable | Fredrik Lundh | 2000-08-01 | 1 | -4/+2 |
| | | | | the test again... | ||||
* | -- SRE 0.9.8: updated test scripts | Fredrik Lundh | 2000-08-01 | 3 | -21/+6 |
| | |||||
* | added count, extend, index, pop and remove to arraymodule | Peter Schneider-Kamp | 2000-07-31 | 1 | -0/+40 |
| | |||||
* | Fix inconsistent use of tab/space in indentation. | Thomas Wouters | 2000-07-30 | 1 | -8/+8 |
| | |||||
* | Test that after resizing the mmap'd file, we can't seek beyond the new size. | Mark Hammond | 2000-07-30 | 1 | -1/+8 |
| | |||||
* | Exercise .readline() and .readlines(). More data is written to the | Andrew M. Kuchling | 2000-07-29 | 1 | -4/+28 |
| | | | | test file, too, so the methods have more work to do. | ||||
* | Was quite broken and incomplete. Now passes the test suite, but is still ↵ | Mark Hammond | 2000-07-28 | 1 | -5/+14 |
| | | | | incomplete. | ||||
* | Remove erroneous empty trailing line. (cause test_winreg.py failure) | Trent Mick | 2000-07-27 | 1 | -1/+0 |
| | |||||
* | -- changed test to work on platforms which have os.popen | Fredrik Lundh | 2000-07-27 | 1 | -2/+8 |
| | | | | but no os.fork | ||||
* | added test case for fixed duplicate arguments bug in Python/compile.c | Peter Schneider-Kamp | 2000-07-25 | 2 | -0/+17 |
| | |||||
* | Made an error message slightly more useful if select() returns something goofy | Andrew M. Kuchling | 2000-07-25 | 1 | -1/+1 |
| | |||||
* | -- updated to include known problems in SRE 0.9.6 | Fredrik Lundh | 2000-07-24 | 1 | -414/+11 |
| | | | | (cf. test/output/test_sre) | ||||
* | Restore TestSkipped exception; appears to have disappeared in last checkin. | Fred Drake | 2000-07-24 | 1 | -3/+20 |
| | | | | | Make both TextFailed and TestSkipped subclasses of Error, which derives from Exception. Docstrings have been added for the exceptions and module. | ||||
* | -- SRE 0.9.6 sync. this includes: | Fredrik Lundh | 2000-07-23 | 1 | -0/+2 |
| | | | | | | | | | | | + added "regs" attribute + fixed "pos" and "endpos" attributes + reset "lastindex" and "lastgroup" in scanner methods + removed (?P#id) syntax; the "lastindex" and "lastgroup" attributes are now always set + removed string module dependencies in sre_parse + better debugging support in sre_parse + various tweaks to build under 1.5.2 | ||||
* | restructured a bit and added some more content... | Skip Montanaro | 2000-07-19 | 1 | -53/+142 |
| | |||||
* | make TestFailed a class exception | Skip Montanaro | 2000-07-19 | 1 | -1/+2 |
| | |||||
* | Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P) | Thomas Wouters | 2000-07-19 | 2 | -10/+8 |
| | |||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 4 | -6/+6 |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) |