summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* "_self" is a said to be a reserved word in Watcom C 10.6. I'mFredrik Lundh2006-06-031-2/+2
| | | | | not sure that's really standard compliant behaviour, but I guess we have to fix that anyway...
* [Bug #1497414] _self is a reserved word in the WATCOM 10.6 C compiler.Andrew M. Kuchling2006-06-031-15/+15
| | | | | | | | | | Fix by renaming the variable. In a different module, Neal fixed it by renaming _self to self. There's already a variable named 'self' here, so I used selfptr. (I'm committing this on a Mac without Tk, but it's a simple search-and-replace. <crosses fingers>, so I'll watch the buildbots and see what happens.)
* Minor rewordingAndrew M. Kuchling2006-06-031-7/+7
|
* [Bug #1441864] Clarify description of 'data' argumentAndrew M. Kuchling2006-06-031-5/+7
|
* [Bug #1475554] Strengthen text to say 'must' instead of 'should'Andrew M. Kuchling2006-06-031-2/+2
|
* [Bug #1472084] Fix description of do_tagAndrew M. Kuchling2006-06-031-2/+3
|
* Updated version (win32-icons2.zip) from #1490384.Martin v. Löwis2006-06-033-0/+0
|
* Port to OpenBSD 3.9. Patch from Aldo Cortesi.Martin v. Löwis2006-06-033-5/+35
|
* Remove Mac OS 9 support ↵Neal Norwitz2006-06-0374-12895/+0
| | | | (http://mail.python.org/pipermail/python-dev/2006-June/065538.html)
* pprint functions used to sort a dict (by key) if and only ifTim Peters2006-06-024-5/+42
| | | | | | | | | | | the output required more than one line. "Small" dicts got displayed in seemingly random order (the hash-induced order produced by dict.__repr__). None of this was documented. Now pprint functions always sort dicts by key, and the docs promise it. This was proposed and agreed to during the PyCon 2006 core sprint -- I just didn't have time for it before now.
* Fixed struct test to not use unittest.Martin Blais2006-06-021-78/+84
|
* Patch #1357836:Neal Norwitz2006-06-021-9/+11
| | | | | | | | | | Prevent an invalid memory read from test_coding in case the done flag is set. In that case, the loop isn't entered. I wonder if rather than setting the done flag in the cases before the loop, if they should just exit early. This code looks like it should be refactored. Backport candidate (also the early break above if decoding_fgets fails)
* More memory leaks from valgrindNeal Norwitz2006-06-021-0/+4
|
* Fix memory leak found by valgrind.Neal Norwitz2006-06-022-3/+4
|
* Convert docstrings to comments so regrtest -v prints method namesNeal Norwitz2006-06-021-7/+7
|
* Armin committed his patch while I was reviewing it (I'm sureTim Peters2006-06-011-28/+40
| | | | | | | | he didn't know this), so merged in some changes I made during review. Nothing material apart from changing a new `mask` local from int to Py_ssize_t. Mostly this is repairing comments that were made incorrect, and adding new comments. Also a few minor code rewrites for clarity or helpful succinctness.
* Re-enable a new empty-string test added during the NFS sprint,Tim Peters2006-06-011-6/+1
| | | | | | but disabled then because str and unicode strings gave different results. The implementations were repaired later during the sprint, but the new test remained disabled.
* Record bugs 1275608 and 1456209 as being fixed.Tim Peters2006-06-011-4/+9
|
* Whitespace normalization.Tim Peters2006-06-011-10/+10
|
* [ 1497053 ] Let dicts propagate the exceptions in user __eq__().Armin Rigo2006-06-016-101/+183
| | | | [ 1456209 ] dictresize() vulnerability ( <- backport candidate ).
* Some code style tweaks, and remove apply.Georg Brandl2006-06-011-63/+67
|
* Correctly dispatch Faults in loads (patch #1498627)Georg Brandl2006-06-011-3/+3
|
* Correctly allocate complex types with tp_alloc. (bug #1498638)Georg Brandl2006-06-011-2/+2
|
* Correctly unpickle 2.4 exceptions via __setstate__ (patch #1498571)Georg Brandl2006-06-011-0/+24
|
* Remove ; at end of macro. There was a compiler recently that warnedNeal Norwitz2006-06-011-1/+1
| | | | | about extra semi-colons. It may have been the HP C compiler. This file will trigger a bunch of those warnings now.
* Repaired error in new comment.Tim Peters2006-05-311-4/+4
|
* _range_error(): Speed and simplify (there's no real need forTim Peters2006-05-311-17/+19
| | | | | loops here). Assert that size_t is actually big enough, and that f->size is at least one. Wrap a long line.
* Trimmed trailing whitespace.Tim Peters2006-05-311-22/+22
|
* Mention SimpleXMLRPCServer changeAndrew M. Kuchling2006-05-311-0/+15
|
* [Bug #1473048]Andrew M. Kuchling2006-05-313-0/+41
| | | | | | | | | | | | | | | | SimpleXMLRPCServer and DocXMLRPCServer don't look at the path of the HTTP request at all; you can POST or GET from / or /RPC2 or /blahblahblah with the same results. Security scanners that look for /cgi-bin/phf will therefore report lots of vulnerabilities. Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class, and report a 404 error if the path isn't on the allowed list. Possibly-controversial aspect of this change: the default makes only '/' and '/RPC2' legal. Maybe this will break people's applications (though I doubt it). We could just set the default to an empty tuple, which would exactly match the current behaviour.
* Fixup the PCBuild8 project directory. exceptions.c have moved to Objects, ↵Kristján Valur Jónsson2006-05-316-334/+30
| | | | and the functionalmodule.c has been replaced with _functoolsmodule.c. Other minor changes to .vcproj files and .sln to fix compilation
* 'functional' module was renamed to 'functools'Andrew M. Kuchling2006-05-311-6/+6
|
* PyTuple_Pack is not available in Python 2.3, but ctypes must stayThomas Heller2006-05-311-1/+1
| | | | compatible with that.
* On 64-bit platforms running test_struct after test_tarfile would failNeal Norwitz2006-05-311-0/+6
| | | | since the deprecation warning wouldn't be raised.
* Revert last checkin, it is better to do make distcleanNeal Norwitz2006-05-311-10/+1
|
* Calculate smallest properly (it was off by one) and use proper ssize_t types ↵Neal Norwitz2006-05-311-5/+5
| | | | for Win64
* Clarify wording on default values for strptime(); defaults are used when betterBrett Cannon2006-05-311-1/+2
| | | | | | values cannot be inferred. Closes bug #1496315.
* Whitespace normalization.Tim Peters2006-05-301-4/+4
|
* changed count to return 0 for slices outside the source stringFredrik Lundh2006-05-302-2/+3
|
* Change wrapping terminology to overflow maskingBob Ippolito2006-05-302-21/+21
|
* changed find/rfind to return -1 for matches outside the source stringFredrik Lundh2006-05-302-10/+19
|
* PyLong_FromString(): Continued fraction analysis (explained inTim Peters2006-05-301-3/+74
| | | | | | | | | | | | a new comment) suggests there are almost certainly large input integers in all non-binary input bases for which one Python digit too few is initally allocated to hold the final result. Instead of assert-failing when that happens, allocate more space. Alas, I estimate it would take a few days to find a specific such case, so this isn't backed up by a new test (not to mention that such a case may take hours to run, since conversion time is quadratic in the number of digits, and preliminary attempts suggested that the smallest such inputs contain at least a million digits).
* Add SoC name, and reorganize this section a bitAndrew M. Kuchling2006-05-301-4/+10
|
* Convert test_exceptions to unittest.Georg Brandl2006-05-302-349/+287
|
* Do the check for no keyword arguments in __init__ so thatGeorg Brandl2006-05-302-4/+4
| | | | subclasses of Exception can be supplied keyword args
* I'm impatient. I think this will fix a few more problems with the buildbots.Neal Norwitz2006-05-301-1/+10
| | | | | | I'm not sure this is the best approach, but I can't think of anything better. If this creates problems, feel free to revert, but I think it's safe and should make things a little better.
* Disallow keyword args for exceptions.Georg Brandl2006-05-302-0/+10
|
* Don't fail if the (sub)pkgname already exist.Neal Norwitz2006-05-301-0/+3
|
* Add a test case for exception pickling. args is never NULL.Georg Brandl2006-05-302-11/+21
|
* Restore exception pickle support. #1497319.Georg Brandl2006-05-301-1/+11
|