summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add _msi.pyd.Martin v. Löwis2006-03-051-0/+6
| | | | Add warning on Win9x.
* Open dll file in binary.Martin v. Löwis2006-03-051-3/+3
|
* Update copyright notice.Martin v. Löwis2006-03-051-1/+1
|
* Import bdist_msiMartin v. Löwis2006-03-059-0/+4909
|
* Use %Id for size_t-ish things on Win64.Martin v. Löwis2006-03-051-1/+1
|
* Backout the last hack and add in this new one.Neal Norwitz2006-03-051-14/+8
| | | | | | | | | | | | | | | The failure definitely seems timing related. This change *seems* to work. Since the failure isn't doesn't occur consistently, it's hard to tell. Running these tests on Solaris in this order: test_urllibnet test_operator test_cgi \ test_isinstance test_future test_ast test_logging generally caused a failure (about 50% of the time) before the sleep. I couldn't provoke the failure with the sleep. This should really be cleaned up by using threading.Events or something so it is not timing dependent and doesn't hang forever on failure.
* Oops, urllib may or may not already be loaded.Neal Norwitz2006-03-041-1/+4
|
* Fix SF #1442937, Bad Coroutine linkNeal Norwitz2006-03-041-1/+1
|
* Fix spurious test failure of test_socket_ssl when run in this order:Neal Norwitz2006-03-041-0/+4
| | | | | | | test_codecmaps_tw test_importhooks test_socket_ssl I don't completely understand the cause, but there's a lot of import magic going on and this is the smallest change which fixes the problem.
* Make PyGC_Collect() use Py_ssize_t.Neal Norwitz2006-03-042-12/+12
|
* Oops, forgot to include this in the last checkin.Neal Norwitz2006-03-041-1/+1
| | | | Actually define Py_RefTotal as a Py_ssize_t.
* Use Py_ssize_t for _Py_RefTotal.Neal Norwitz2006-03-043-8/+14
| | | | I tried to handle Win64 properly, but please review.
* TabifyNeal Norwitz2006-03-041-34/+34
|
* Get rid of run_err_mod(). It was only used in two places.Neal Norwitz2006-03-041-14/+4
| | | | | One place it wasn't necessary since mod was already checked. Inline the check that mod != NULL for the other use.
* Change some sequnce APIs to use Py_ssize_t.Neal Norwitz2006-03-042-9/+13
|
* Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.Neal Norwitz2006-03-042-2/+2
|
* 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.