Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Commit regenerated Python-ast.c. | Thomas Wouters | 2006-04-21 | 1 | -1/+1 |
| | |||||
* | Merge p3yk branch with the trunk up to revision 45595. This breaks a fair | Thomas Wouters | 2006-04-21 | 26 | -663/+907 |
| | | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway. | ||||
* | Merge part of the trunk changes into the p3yk branch. This merges from 43030 | Thomas Wouters | 2006-04-21 | 1 | -0/+50 |
| | | | | | | | | | | | | (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 (and add test for) missing check for BaseException subclasses in the C | Thomas Wouters | 2006-04-20 | 1 | -0/+9 |
| | | | | API. | ||||
* | INPLACE_DIVIDE is no longer necessary (INPLACE_TRUE_DIVIDE is used). | Neal Norwitz | 2006-03-17 | 1 | -1/+0 |
| | |||||
* | _Py_QnewFlag and INPLACE_DIVIDE are not necessary any longer | Neal Norwitz | 2006-03-17 | 2 | -17/+0 |
| | |||||
* | Remove apply() | Neal Norwitz | 2006-03-17 | 1 | -45/+0 |
| | |||||
* | Whoops, input *and* raw_input are slated for removal, and now both are gone. | Neal Norwitz | 2006-03-17 | 1 | -86/+0 |
| | |||||
* | raw_input() -> input(). old input behavior is history (and test_builtin ↵ | Neal Norwitz | 2006-03-17 | 1 | -110/+72 |
| | | | | passes again). It was failing due to future division. | ||||
* | Remove sys.exc_type, sys.exc_value, sys.exc_traceback | Neal Norwitz | 2006-03-17 | 1 | -4/+0 |
| | |||||
* | Get rid of last vestiges of BINARY_DIVIDE. | Neal Norwitz | 2006-03-16 | 2 | -19/+0 |
| | |||||
* | Checkpoint. 218 tests are okay; 53 are failing. Done so far: | Guido van Rossum | 2006-03-15 | 8 | -57/+30 |
| | | | | | | | | - all classes are new-style (but ripping out classobject.[ch] isn't done) - int/int -> float - all exceptions must derive from BaseException - absolute import - 'as' and 'with' are keywords | ||||
* | Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵ | Nick Coghlan | 2006-03-13 | 1 | -24/+29 |
| | | | | continue to be handled correctly | ||||
* | Um, I thought I'd already checked this in. | Guido van Rossum | 2006-03-10 | 3 | -25/+27 |
| | | | | | | | Anyway, this is the changes to the with-statement so that __exit__ must return a true value in order for a pending exception to be ignored. The PEP (343) is already updated. | ||||
* | Try to be a bit more consistent on all platforms: | Neal Norwitz | 2006-03-09 | 1 | -1/+4 |
| | | | | | | | python . python < . both print a message, return non-zero and do not core dump. | ||||
* | Checking in the code for PEP 357. | Guido van Rossum | 2006-03-07 | 1 | -46/+22 |
| | | | | | | This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation). | ||||
* | Address an coverity issue. Coverity was complaining about a line that's fine, | Guido van Rossum | 2006-03-07 | 1 | -1/+2 |
| | | | | but an earlier line checked for v != NULL unnecessarily. | ||||
* | SF #1444030: Fix several potential defects found by Coverity. | Hye-Shik Chang | 2006-03-07 | 3 | -2/+11 |
| | | | | (reviewed by Neal Norwitz) | ||||
* | Change int to Py_ssize_t in several places. | Martin v. Löwis | 2006-03-07 | 5 | -18/+34 |
| | | | | | Add (int) casts to silence compiler warnings. Raise Python exceptions for overflows. | ||||
* | Fix warnings on x86 (32-bit). | Neal Norwitz | 2006-03-06 | 1 | -1/+2 |
| | |||||
* | Try to cleanup the error handling a bit so there aren't false positives | Neal Norwitz | 2006-03-06 | 1 | -8/+12 |
| | | | | | from static analysis. v was already checked for NULL above, so we don't need a second check. | ||||
* | Use %Id for size_t-ish things on Win64. | Martin v. Löwis | 2006-03-05 | 1 | -1/+1 |
| | |||||
* | Use Py_ssize_t for _Py_RefTotal. | Neal Norwitz | 2006-03-04 | 2 | -7/+13 |
| | | | | I tried to handle Win64 properly, but please review. | ||||
* | Tabify | Neal Norwitz | 2006-03-04 | 1 | -34/+34 |
| | |||||
* | Get rid of run_err_mod(). It was only used in two places. | Neal Norwitz | 2006-03-04 | 1 | -14/+4 |
| | | | | | One place it wasn't necessary since mod was already checked. Inline the check that mod != NULL for the other use. | ||||
* | SF bug 1442442: LIST_APPEND optimization got lost in the AST merge. | Neal Norwitz | 2006-03-03 | 1 | -3/+4 |
| | | | | Add it back. | ||||
* | Remove commented code | Neal Norwitz | 2006-03-03 | 1 | -24/+1 |
| | |||||
* | Text moved to PEP 339. | Brett Cannon | 2006-03-02 | 1 | -507/+0 |
| | |||||
* | Fix minor docstring typo. | Brett Cannon | 2006-03-02 | 1 | -1/+1 |
| | |||||
* | Document the purpose of the struct _block members. | Tim Peters | 2006-03-02 | 1 | -1/+18 |
| | |||||
* | Added words about what PyArena_Malloc() does. | Tim Peters | 2006-03-02 | 1 | -1/+1 |
| | |||||
* | Trimmed trailing whitespace. | Tim Peters | 2006-03-02 | 1 | -6/+6 |
| | |||||
* | Fix refleak in PyErr_Display(). | Brett Cannon | 2006-03-02 | 1 | -15/+14 |
| | |||||
* | Fix refleak if from __future__ import was not first | Neal Norwitz | 2006-03-02 | 1 | -0/+1 |
| | |||||
* | Use Py_ssize_t since we are working with list size below | Neal Norwitz | 2006-03-02 | 1 | -1/+1 |
| | |||||
* | Add a missing Py_DECREF to BaseException__unicode__ . | Brett Cannon | 2006-03-02 | 1 | -2/+8 |
| | |||||
* | Update known issues to reflect reality | Neal Norwitz | 2006-03-02 | 1 | -4/+1 |
| | |||||
* | Fix memory leak on attributes. | Martin v. Löwis | 2006-03-02 | 1 | -5/+13 |
| | |||||
* | Make Py_ssize_t clean. | Thomas Wouters | 2006-03-01 | 1 | -1/+3 |
| | |||||
* | Patch #1440601: Add col_offset attribute to AST nodes. | Martin v. Löwis | 2006-03-01 | 3 | -134/+211 |
| | |||||
* | Fix incompatible assignment warning from previous checkin. | Thomas Wouters | 2006-03-01 | 1 | -1/+2 |
| | |||||
* | Fix gcc (4.0.x) warning about use of uninitialized variables. | Thomas Wouters | 2006-03-01 | 1 | -1/+2 |
| | | | | | (PyMarshal_ReadShortFromFile() is only used in zipimport.c, I don't believe the extra initializations will matter one way or another.) | ||||
* | Document PEP 352 changes. Also added GeneratorExit. | Brett Cannon | 2006-03-01 | 1 | -7/+2 |
| | |||||
* | Fix uninitialized value. (Why are we using bools instead of ints, like we do | Thomas Wouters | 2006-03-01 | 1 | -1/+1 |
| | | | | everywhere else?) | ||||
* | Fix more memory leaks. Will backport to 2.4. | Martin v. Löwis | 2006-03-01 | 1 | -1/+5 |
| | |||||
* | Fix C99-ism, and add XXX to comment | Thomas Wouters | 2006-03-01 | 1 | -1/+1 |
| | |||||
* | Reconst parameters that lost their const in the AST merge. | Martin v. Löwis | 2006-03-01 | 1 | -1/+1 |
| | |||||
* | Tabify and reflow some long lines. | Jeremy Hylton | 2006-03-01 | 1 | -696/+702 |
| | | | | | Much of the peephole optimizer is now indented badly, but it's about to be revised anyway. | ||||
* | Add missing DECREF. | Jeremy Hylton | 2006-03-01 | 1 | -1/+5 |
| | |||||
* | Use %zd format characters for Py_ssize_t types. | Thomas Wouters | 2006-03-01 | 1 | -6/+6 |
| |