Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge part of the trunk changes into the p3yk branch. This merges from 43030 | Thomas Wouters | 2006-04-21 | 116 | -704/+3404 |
| | | | | | | | | | | | | (branch-creation time) up to 43067. 43068 and 43069 contain a little swapping action between re.py and sre.py, and this mightily confuses svn merge, so later changes are going in separately. This merge should break no additional tests. The last-merged revision is going in a 'last_merge' property on '.' (the branch directory.) Arbitrarily chosen, really; if there's a BCP for this, I couldn't find it, but we can easily change it afterwards ;) | ||||
* | Fix the problems in this test. Boy this is a painful thing to debug -- | Guido van Rossum | 2006-04-21 | 1 | -1/+3 |
| | | | | | it's fundamentally unmaintainable. Should we throw away pyclbr, or rewrite it using the AST? | ||||
* | Fix (and add test for) missing check for BaseException subclasses in the C | Thomas Wouters | 2006-04-20 | 2 | -1/+28 |
| | | | | API. | ||||
* | Fix typical truedivision problem (using the result of division as an index.) | Thomas Wouters | 2006-04-20 | 1 | -2/+2 |
| | |||||
* | Fix test failures for repr.py. | Guido van Rossum | 2006-04-20 | 2 | -16/+10 |
| | | | | But shouldn't we kill this module? How many pprint clones do we need? | ||||
* | Use explicit relative import for an, ehm, relative import. | Thomas Wouters | 2006-04-18 | 1 | -1/+1 |
| | |||||
* | Fix the expected output file; new classes just behave differently... | Guido van Rossum | 2006-04-17 | 1 | -39/+5 |
| | | | | | (There are some other problems with test_class.py that aren't as easily fixed. :-( ) | ||||
* | Fix two errors that prevented "make libinstall" from working: | Guido van Rossum | 2006-04-17 | 2 | -3/+3 |
| | | | | | - a line indented with tabs; - a function named 'as'. | ||||
* | Fix xrange tests now that xrange() (like many other places) no longer | Thomas Wouters | 2006-04-17 | 1 | -1/+4 |
| | | | | silently converts floats to integers when expecting integer values. | ||||
* | Mention how __coerce__ has been removed. | Brett Cannon | 2006-04-15 | 1 | -0/+2 |
| | |||||
* | Make test_class work (but still fail) even though class.__dict__ is now a | Thomas Wouters | 2006-04-15 | 1 | -2/+5 |
| | | | | | | | | 'dictproxy' (which is a read-only non-dict mapping type that can't be passed to exec.) The failures the test finds are behavioural differences between old- and new-style classes that may or may not be intended. | ||||
* | Adjust test_enumerate to accomodate for iter() blowing up sooner than | Thomas Wouters | 2006-04-15 | 1 | -1/+1 |
| | | | | expected, when dealing with new-style broken-iterators. | ||||
* | Fix tests for PyArg_Parse*; The PyArg_Parse functions no longer (noisily) | Thomas Wouters | 2006-04-15 | 1 | -6/+6 |
| | | | | | convert float arguments to integer-taking format characters, so fix the test to expect the failure. | ||||
* | - Remove tests for classic class behaviour | Thomas Wouters | 2006-04-15 | 1 | -77/+7 |
| | | | | - Expect a new-style class tree in the getclasstree test. | ||||
* | Fix test_bisect in the same way as test_itertools: iter() blows up a lot | Thomas Wouters | 2006-04-15 | 1 | -2/+2 |
| | | | | sooner for new-style broken-iterators, expect it to. | ||||
* | Fix the superficial augmented-assignment tests to deal with true division. | Thomas Wouters | 2006-04-15 | 2 | -10/+22 |
| | | | | | | Add (equally superficial) >>=/<<= test in the process. Relies on floats that should be extremely close to the int '6' printing as '6.0', but I believe that's a valid assumption ;P | ||||
* | Fix tests that were trying to make iteration blow up, on broken iterators. | Thomas Wouters | 2006-04-15 | 1 | -12/+12 |
| | | | | | | Since the broken iterators are now new-style classes, iter() was able to do the valid-iterator check sooner (on instantiation instead of on first call), making the tests blow up sooner than expected. | ||||
* | Remove tests for classic-class and mixed-classic-class/new-style behaviour. | Thomas Wouters | 2006-04-15 | 1 | -146/+2 |
| | | | | (New-style class behaviour was already thoroughly tested) | ||||
* | - Fix doctest results to account for classes being new-style, and thus | Thomas Wouters | 2006-04-15 | 1 | -9/+9 |
| | | | | | | printing differently. - Fix doctest for classic-class behaviour, make it test new-style behaviour on an implicitly-new-style class instead. | ||||
* | Make 'python -tt' the default, meaning Python won't allow mixing tabs and | Thomas Wouters | 2006-04-14 | 2 | -46/+8 |
| | | | | | | | | spaces for indentation. Adds a '-ttt' option to turn the errors back into warnings; I'm not yet sure whether that's desireable for Py3K. Also remove the magic for setting the size of tabs based on emacs/vim-style comments. Python now always considers tabstops to be every-8-spaces. | ||||
* | Fix the version number to be 3.0. | Guido van Rossum | 2006-03-30 | 2 | -12/+12 |
| | |||||
* | Use absolute import. (Should this go into 2.5?) | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Get rid of remnants of integer division | Neal Norwitz | 2006-03-24 | 28 | -212/+47 |
| | |||||
* | String exceptions are gone and so are classic classes. | Neal Norwitz | 2006-03-24 | 1 | -40/+0 |
| | |||||
* | Use *absolute* imports now that they are required. (Should this go into 2.5?) | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Must inherit from Exception now. | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Use *absolute* imports now that they are required. (Should this go into 2.5?) | Neal Norwitz | 2006-03-24 | 3 | -9/+9 |
| | |||||
* | Use *absolute* import now that it is required. (Should this go into 2.5? ↵ | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | | | | Hopefully not the bogus comment about using relative imports. That was just to see if anyone was paying attention.) | ||||
* | Use relative import now that it is required. (Should this go into 2.5?) | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Use relative import now that it is required. (Should this go into 2.5?) | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Ok, compiler.transformer can really be imported now | Neal Norwitz | 2006-03-24 | 3 | -6/+6 |
| | |||||
* | Must inherit from Exception now. | Neal Norwitz | 2006-03-24 | 1 | -2/+2 |
| | |||||
* | Use relative import now that it is required. (Should this go into 2.5?) | Neal Norwitz | 2006-03-24 | 1 | -1/+2 |
| | |||||
* | Use relative imports in compiler package now that it is required. (Should ↵ | Neal Norwitz | 2006-03-24 | 1 | -3/+3 |
| | | | | this go into 2.5 or should we do compiler.XXX?) | ||||
* | Remove another use of as as a keyword | Neal Norwitz | 2006-03-22 | 1 | -5/+5 |
| | |||||
* | Finish getting rid of statichere/staticforward | Neal Norwitz | 2006-03-22 | 8 | -25/+25 |
| | |||||
* | Get doctest to pass. The problem was int/int -> float now. There | Neal Norwitz | 2006-03-22 | 1 | -11/+11 |
| | | | | | | | | | | were some cases where an int was assumed. Also had to change the string of the exception when dividing and int by zero. Not sure what the best error message should be. Currently 5 / 0 yields the message: ZeroDivisionError: float division That isn't entirely correct. But I'm not sure what else to do. | ||||
* | Remove staticforward and statichere | Neal Norwitz | 2006-03-22 | 3 | -18/+5 |
| | |||||
* | Damn another occurrence of using as as a keywordf | Neal Norwitz | 2006-03-22 | 1 | -2/+2 |
| | |||||
* | remove test file | Barry Warsaw | 2006-03-21 | 1 | -1/+0 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | testing svn emails | Barry Warsaw | 2006-03-21 | 1 | -0/+1 |
| | |||||
* | Some more TODO items of things I'd like to start with. | Guido van Rossum | 2006-03-20 | 1 | -1/+17 |
| | | | | Mention the builtins that Neal killed. | ||||
* | Remove PyArg_NoArgs() and PyArg_GetInt() | Neal Norwitz | 2006-03-17 | 3 | -11/+2 |
| | |||||
* | INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used). | Neal Norwitz | 2006-03-17 | 5 | -9/+3 |
| |