| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | test_main(): Restore the decimal context that was in | Tim Peters | 2006-03-31 | 1 | -10/+14 |
| | | | | | | | | | effect at the time test_decimal was imported. Else running test_decimal had the bad side effect of permanently changing the decimal context in effect. That caused text_tokenize to fail if it ran after test_decimal. | ||||
| * | Repaired a number of errors in this test: | Tim Peters | 2006-03-31 | 1 | -60/+74 |
| | | | | | | | | | | | | | | | | | | | - The doctests in decistmt() weren't run at all when test_tokenize was run via regrtest.py. - Some expected output in decistmt() was Windows-specific (but nobody noticed because the doctests weren't getting run). - test_roundtrip() didn't actually test anything when running the tests with -O. Now it does. - Changed test_roundtrip() to show the name of the input file when it fails. That would have saved a lot of time earlier today. - Added a bunch of comments. | ||||
| * | SF patch #1458476 with modifications based on discussions in python-dev. This | Barry Warsaw | 2006-03-30 | 1 | -1/+1 |
| | | | | | | | adds the following API calls: PySet_Clear(), _PySet_Next(), and _PySet_Update(). The latter two are considered non-public. Tests and documentation (for the public API) are included. | ||||
| * | Insert a safety space after numbers as well as names in untokenize(). | Guido van Rossum | 2006-03-30 | 1 | -1/+1 |
| | | |||||
| * | Try to fix test_loading on openbsd. | Thomas Heller | 2006-03-30 | 1 | -1/+1 |
| | | |||||
| * | Oops - this should not have gone in. | Thomas Heller | 2006-03-30 | 1 | -1/+0 |
| | | |||||
| * | Output more info when the test fails. | Thomas Heller | 2006-03-30 | 1 | -1/+5 |
| | | |||||
| * | Minor bugs in the __index__ code (PEP 357), with tests. | Armin Rigo | 2006-03-30 | 1 | -95/+73 |
| | | |||||
| * | whitespace normalisation | Anthony Baxter | 2006-03-30 | 6 | -24/+23 |
| | | |||||
| * | Checking in the test for PEP 357. | Armin Rigo | 2006-03-30 | 1 | -0/+159 |
| | | | | | | | This is from the SF tracker as well; for some reason the content of test_index.py was lost and an empty file was checked in instead. | ||||
| * | Fixed bug #1459029 - unicode reprs were double-escaped. | Anthony Baxter | 2006-03-30 | 1 | -0/+16 |
| | | |||||
| * | Implementation for patch request #1457316: support --identity option | Phillip J. Eby | 2006-03-30 | 1 | -1/+10 |
| | | | | | for setup.py "upload" command. | ||||
| * | SF bug #1460340: random.sample can raise KeyError | Raymond Hettinger | 2006-03-29 | 2 | -10/+14 |
| | | | | | Fix the hit and miss style of testing for sets and dicts. | ||||
| * | Revert r43399. | Georg Brandl | 2006-03-28 | 3 | -25/+25 |
| | | |||||
| * | Bug #1459963: urllib2 now normalizes HTTP header names correctly | Georg Brandl | 2006-03-28 | 3 | -25/+25 |
| | | | | | with title(). | ||||
| * | Make the tests succeed with -Qnew: Do not rely on the exact wording of a ↵ | Thomas Heller | 2006-03-28 | 1 | -6/+4 |
| | | | | | ZeroDivisionError. | ||||
| * | Make uu use floor division instead of classic division. | Georg Brandl | 2006-03-28 | 1 | -1/+1 |
| | | | | | This was discovered by test_email failing with -Qnew. | ||||
| * | Make test_augassign pass with -Qnew and convert to unittest. | Georg Brandl | 2006-03-28 | 2 | -310/+325 |
| | | |||||
| * | Make xdrlib use floor division instead of classic division. | Georg Brandl | 2006-03-28 | 1 | -2/+2 |
| | | | | | Makes test_xdrlib pass. | ||||
| * | Make test_coercion pass with -Qnew. Converted to unittest on the occasion. | Georg Brandl | 2006-03-28 | 2 | -1136/+242 |
| | | |||||
| * | In true regression-test spirit, make sure the | Thomas Wouters | 2006-03-28 | 1 | -0/+29 |
| | | | | | | | | | itertools.tee->instance->attribute->itertools.tee and itertools.tee->teedataobject->itertools.tee cycles, which can be found now that itertools.tee and its teedataobject participate in GC, remain findable and cleanable. The test won't fail when they aren't, but at least the frequent hunt-refleaks runs would spot the rise in refleaks. | ||||
| * | Add an example of a generator->freevar->cell->generator reference-cycle that | Thomas Wouters | 2006-03-28 | 1 | -0/+11 |
| | | | | | doesn't get cleaned up and thus leaks. | ||||
| * | Make test_decimal work with -Qnew. | Georg Brandl | 2006-03-28 | 1 | -10/+16 |
| | | |||||
| * | Part of bug 1459808: fiddle test_input_and_raw_input() | Tim Peters | 2006-03-28 | 1 | -2/+10 |
| | | | | | so it passes w/ -Qnew. | ||||
| * | Part of bug 1459808: fiddle so that this passes | Tim Peters | 2006-03-28 | 1 | -12/+12 |
| | | | | | with or without -Qnew. | ||||
| * | Fix contextlib not copying function attributes | Phillip J. Eby | 2006-03-28 | 2 | -0/+16 |
| | | |||||
| * | dummy_thread needs to support PEP 343 too. | Phillip J. Eby | 2006-03-27 | 1 | -0/+8 |
| | | |||||
| * | Patch #1459476: install PKG-INFO metadata alongside distutils-installed ↵ | Phillip J. Eby | 2006-03-27 | 2 | -0/+76 |
| | | | | | packages. | ||||
| * | Whitespace. | Walter Dörwald | 2006-03-27 | 24 | -0/+72 |
| | | |||||
| * | Fix SF bug #1458903 with AST compiler. | Neal Norwitz | 2006-03-27 | 2 | -2/+8 |
| | | | | | | | | | | | | | def foo((x)): was getting recognized as requiring tuple unpacking which is not correct. Add tests for this case and the proper way to unpack a tuple of one: def foo((x,)): test_inpsect was incorrect before. I'm not sure why it was passing, but that has been corrected with a test for both functions above. This means the test (and therefore inspect.getargspec()) are broken in 2.4. | ||||
| * | Bug #1457264: parse http://host?query correctly in urllib | Georg Brandl | 2006-03-26 | 1 | -1/+1 |
| | | |||||
| * | Fix typo. | Martin v. Löwis | 2006-03-26 | 1 | -1/+1 |
| | | |||||
| * | Patch from Aldo Cortesi: expected skips for OpenBSD. | Martin v. Löwis | 2006-03-26 | 1 | -0/+30 |
| | | |||||
| * | Provide more debug output, to diagnose OpenBSD test failures. | Martin v. Löwis | 2006-03-26 | 1 | -1/+1 |
| | | |||||
| * | Allow long objects as a position value of error callbacks returned. | Hye-Shik Chang | 2006-03-26 | 2 | -2/+21 |
| | | |||||
| * | regsub is gone, nothing to ignore | Neal Norwitz | 2006-03-26 | 1 | -2/+0 |
| | | |||||
| * | Try to handle sys.getfilesystemencoding() returning None. | Neal Norwitz | 2006-03-26 | 1 | -1/+4 |
| | | | | | | ascii seems like the safest bet that it will exist. I wonder if utf-8 would be a better choice? This should get test_fileinput passing on OpenBSD. | ||||
| * | Patch #1443155: Add the incremental codecs support for CJK codecs. | Hye-Shik Chang | 2006-03-26 | 26 | -506/+730 |
| | | | | | (reviewed by Walter Dörwald) | ||||
| * | fix typo | Georg Brandl | 2006-03-25 | 1 | -1/+1 |
| | | |||||
| * | Don't decrement below zero. And add more tests. | Raymond Hettinger | 2006-03-25 | 2 | -4/+19 |
| | | |||||
| * | More extensive comment on __exit__ handling, per Guido's request. | Phillip J. Eby | 2006-03-25 | 1 | -0/+7 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2006-03-25 | 3 | -4/+4 |
| | | |||||
| * | Fix a problem with @contextmanager not detecting a broken generator | Phillip J. Eby | 2006-03-25 | 2 | -1/+26 |
| | | | | | | | that yields after a throw(). Make @contextmanager not reraise exceptions, but return a false value in that case instead. Add test cases for both behaviors. | ||||
| * | Support throw() of string exceptions. | Phillip J. Eby | 2006-03-25 | 1 | -2/+4 |
| | | |||||
| * | Revert previous change. Wasn't ready yet. | Raymond Hettinger | 2006-03-24 | 1 | -12/+1 |
| | | |||||
| * | Add more tests | Raymond Hettinger | 2006-03-24 | 1 | -1/+12 |
| | | |||||
| * | Revert r42719, because the isinstance() check wasn't redundant; formatting a | Phillip J. Eby | 2006-03-24 | 1 | -1/+1 |
| | | | | | string exception was causing a TypeError. | ||||
| * | SF Patch #1455676: Simplify using Queues with daemon consumer threads | Raymond Hettinger | 2006-03-24 | 2 | -0/+75 |
| | | | | | | Adds join() and task_done() methods to track when all enqueued tasks have been gotten and fully processed by daemon consumer threads. | ||||
| * | run_module shouldn't hold the import lock when running a script | Nick Coghlan | 2006-03-24 | 1 | -13/+9 |
| | | |||||
| * | Use absolute import. | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | | |||||
