summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove test for timing (already not built since commented out in setup.py).Neal Norwitz2006-03-042-21/+3
| | | | Add note to NEWS.
* - Modernize code to use Py_ssize_t more intensively.Hye-Shik Chang2006-03-0418-168/+131
| | | | - Do some minor code clean-ups.
* Actually this file should have svn:eol-style CRLF since it's specificallyBarry Warsaw2006-03-041-45/+45
| | | | testing line ending compatibility.
* Set eol-style to native -- doesn't appear to be any reasonTim Peters2006-03-041-45/+45
| | | | for it to claim it has mime-type application/octet-stream.
* Whitespace normalization.Tim Peters2006-03-041-3/+3
|
* SF #1442767, docs for os.statvfs miss f_bsize parameter. Will backport.Neal Norwitz2006-03-031-0/+1
|
* I think the test_logging failure on Solaris is timing related. We don'tNeal Norwitz2006-03-031-5/+14
| | | | | | | want to wait forever if we don't receive the last message. But we also don't want the test to fail if we shutdown too quickly. I can't reliably reproduce this failure, so I'm kinda guessing this is the problem. We'll see if this band-aid helps.
* SF bug 1442442: LIST_APPEND optimization got lost in the AST merge.Neal Norwitz2006-03-033-24/+24
| | | | Add it back.
* Fix compiler breakage related to absolute importsNeal Norwitz2006-03-031-2/+2
|
* Remove commented codeNeal Norwitz2006-03-031-24/+1
|
* Hopefully this removes all vestiges of CO_GENERATOR_ALLOWED that canNeal Norwitz2006-03-032-4/+2
| | | | be removed in 2.x.
* Add support for absolute/relative imports and if/else expressions:Thomas Wouters2006-03-035-19/+82
| | | | | | | | | - regenerate ast.py - add future flags for absolute-import and with-statement so they (hopefully) properly get set in code-object flags - try out if/else expressions in actual code for the hell of it. Seems to generate the same kind of bytecode as the normal compiler.
* Update for absolute/relative imports and ifelse-expressions.Thomas Wouters2006-03-031-1/+2
|
* Provide checkin access to Ronald and BobNeal Norwitz2006-03-031-0/+7
|
* Stop building timing module, it's old and deprecatedNeal Norwitz2006-03-031-1/+3
|
* Add test_quopri to know spurious leakersNeal Norwitz2006-03-031-1/+1
|
* Text moved to PEP 339.Brett Cannon2006-03-021-507/+0
|
* Fix minor docstring typo.Brett Cannon2006-03-021-1/+1
|
* Document the purpose of the struct _block members.Tim Peters2006-03-021-1/+18
|
* Added words about what PyArena_Malloc() does.Tim Peters2006-03-022-5/+17
|
* Beefed up description of what this does; new XXX.Tim Peters2006-03-021-2/+10
|
* New XXX pointing out errors in the description ofTim Peters2006-03-021-0/+6
| | | | PyArena_New(); unsure what the intent is.
* Fix crashing bug in tokenizer, when tokenizing files with non-ASCII bytesThomas Wouters2006-03-021-0/+5
| | | | | | | | | | | | | | | | | | | but without a specified encoding: decoding_fgets() (and decoding_feof()) can return NULL and fiddle with the 'tok' struct, making tok->buf NULL. This is okay in the other cases of calls to decoding_*(), it seems, but not in this one. This should get a test added, somewhere, but the testsuite doesn't seem to test encoding anywhere (although plenty of tests use it.) It seems to me that decoding errors in other places in the code (like at the start of a token, instead of in the middle of one) make the code end up adding small integers to NULL pointers, but happen to check for error states before using the calculated new pointers. I haven't been able to trigger any other crashes, in any case. I would nominate this file for a comlete rewrite for Py3k. The whole decoding trick is too bolted-on for my tastes.
* Trimmed trailing whitespace.Tim Peters2006-03-022-7/+7
|
* Fix refleak in PyErr_Display().Brett Cannon2006-03-021-15/+14
|
* Explain why we use the unsigned int format for a signed int variable.Thomas Wouters2006-03-021-0/+4
| | | | (Should 'code' be cast to the right pointer type?)
* Fix mismatch opening and closing quotes on a string.Brett Cannon2006-03-021-2/+1
|
* Fix refleak if from __future__ import was not firstNeal Norwitz2006-03-021-0/+1
|
* Use Py_ssize_t since we are working with list size belowNeal Norwitz2006-03-021-1/+1
|
* Spell threading write, not thraeadingNeal Norwitz2006-03-021-1/+1
|
* Properly fix Py_SAFE_DOWNCAST-triggerd bugs.Thomas Wouters2006-03-021-7/+10
|
* Py_SAFE_DOWNCAST isn't quite doing the right thing for going from Py_ssize_tThomas Wouters2006-03-021-7/+4
| | | | | | to an unsigned int (and back again) on 64-bit machines, even though the actual value of the Py_ssize_t variable is way below 31 bits. I suspect compiler-error.
* Add a missing Py_DECREF to BaseException__unicode__ .Brett Cannon2006-03-021-2/+8
|
* Fix failure of test_compiler.py when compiling test_contextlib.py.Guido van Rossum2006-03-022-4/+7
| | | | | | 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.
* Update known issues to reflect realityNeal Norwitz2006-03-021-4/+1
|
* Remove duplicate entryNeal Norwitz2006-03-021-3/+0
|
* Fix latex typos as spotted by George Yoshida.Brett Cannon2006-03-021-1/+3
|
* Fix memory leak on attributes.Martin v. Löwis2006-03-022-6/+16
|
* Make Py_ssize_t-cleanThomas Wouters2006-03-021-2/+4
|
* Make Py_ssize_t clean.Thomas Wouters2006-03-011-1/+3
|
* Reformat the exception message by going through a list.Martin v. Löwis2006-03-011-1/+3
|
* Remove UNLESS.Martin v. Löwis2006-03-011-29/+28
|
* Use Py_ssize_t for arithmetic on Py_ssize_t's, instead of unsigned ints.Thomas Wouters2006-03-011-2/+2
|
* Whitespace normalization.Tim Peters2006-03-011-1/+1
|
* Fix gcc (4.0.x) warning about use of uninitialized variable.Thomas Wouters2006-03-011-0/+1
|
* Patch #1440601: Add col_offset attribute to AST nodes.Martin v. Löwis2006-03-0116-244/+382
|
* Rework channelnumber/samplesize detetion code's output variables a bit toThomas Wouters2006-03-012-14/+12
| | | | | convince gcc (4.0.x) the variables are never used uninitialized (and raising a proper exception if they ever are.)
* Fix incompatible assignment warning from previous checkin.Thomas Wouters2006-03-011-1/+2
|
* Fix gcc (4.0.x) warning about use of uninitialized variables.Thomas Wouters2006-03-011-1/+2
| | | | | (PyMarshal_ReadShortFromFile() is only used in zipimport.c, I don't believe the extra initializations will matter one way or another.)
* Silence gcc (4.0.x) warning about use of uninitialized value.Thomas Wouters2006-03-011-1/+1
|