| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix failure of test_compiler.py when compiling test_contextlib.py. | Guido van Rossum | 2006-03-02 | 1 | -1/+4 |
| | | | | | | | The culprit was an expression-less yield -- the first apparently in the standard library. I added a unit test for this. Also removed the hack to force compilation of test_with.py. | ||||
| * | Reformat the exception message by going through a list. | Martin v. Löwis | 2006-03-01 | 1 | -1/+3 |
| | | |||||
| * | Make failures in test cases print failing source file. | Martin v. Löwis | 2006-03-01 | 1 | -1/+5 |
| | | |||||
| * | Update the compiler package to compile the with-statement. | Guido van Rossum | 2006-02-28 | 1 | -1/+1 |
| | | | | | Jeremy, please review! | ||||
| * | Revert revision 41940: the test causes -uall to | Tim Peters | 2006-01-07 | 1 | -4/+1 |
| | | | | | fail everywhere. | ||||
| * | Add compiler test regarding optional arguments. | Georg Brandl | 2006-01-06 | 1 | -1/+4 |
| | | |||||
| * | Fix compiler test when run with -u (long mode) | Neal Norwitz | 2005-10-24 | 1 | -1/+1 |
| | | |||||
| * | Fix compiler.ast.flatten function so that it works on lists. | Neil Schemenauer | 2005-06-02 | 1 | -0/+5 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2005-04-20 | 1 | -1/+1 |
| | | |||||
| * | Flush out support for ``class B(): pass`` syntax by adding support to the | Brett Cannon | 2005-04-09 | 1 | -0/+3 |
| | | | | | | | 'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix. | ||||
| * | test for fixedness of bug #1057835. | Michael W. Hudson | 2004-11-08 | 1 | -0/+2 |
| | | | | | (thanks to Raymond for the prod). | ||||
| * | Open source files in universal newlines mode. | Michael W. Hudson | 2004-10-11 | 1 | -1/+1 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2004-09-12 | 1 | -4/+4 |
| | | |||||
| * | compiler.transformer: correct lineno attribute when possible | Jeremy Hylton | 2004-09-07 | 1 | -0/+59 |
| | | | | | | | | | | | | | | | | | SF patch #1015989 The basic idea of this patch is to compute lineno attributes for all AST nodes. The actual implementation lead to a lot of restructing and code cleanup. The generated AST nodes now have an optional lineno argument to constructor. Remove the top-level asList(), since it didn't seem to serve any purpose. Add an __iter__ to ast nodes. Use isinstance() instead of explicit type tests. Change transformer to use the new lineno attribute, which replaces three lines of code with one. Use universal newlines so that we can get rid of special-case code for line endings. Use lookup_node() in a few more frequently called, but simple com_xxx methods(). Change string exception to class exception. | ||||
| * | Change the strategy for coping with time intensive tests from | Raymond Hettinger | 2004-09-04 | 1 | -1/+5 |
| | | | | | | | | | "all or none" to "all or some". This provides much greater test coverage without eating much time. It also makes it more likely that routine regression testing will unearth bugs. | ||||
| * | Tell unittest that source files with "badsyntax" in their names should | Tim Peters | 2004-08-08 | 1 | -1/+5 |
| | | | | | | raise SyntaxError. test_compiler passes now on WinXP, at least in a release-build non-O run. | ||||
| * | Renamed locals to better reflect their meanings. | Tim Peters | 2004-08-08 | 1 | -6/+6 |
| | | |||||
| * | In verbose mode, display the name of each file before trying to compile | Tim Peters | 2004-08-08 | 1 | -1/+4 |
| | | | | | | it. Else when this fails, there's no way to tell which file it was chewing on. | ||||
| * | Whitespace normalization. | Tim Peters | 2004-08-08 | 1 | -3/+0 |
| | | |||||
| * | Add a trivial test for the compiler package, guarded by compiler resource. | Jeremy Hylton | 2004-08-07 | 1 | -0/+34 |
| This test is insanely slow, so it requires a resource. On my machine, it also appears to dump core. I think the problem is a stack overflow, but haven't been able to confirm. | |||||
