summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix Coverity # 146. newDBSequenceObject would deref dbobj, so it can't be NULL.Neal Norwitz2006-06-111-4/+2
| | | | | We know it's not NULL from the ParseTuple and DbObject_Check will verify it's not NULL.
* Bug #1361643: fix textwrap.dedent() so it handles tabs appropriately,Greg Ward2006-06-114-45/+109
| | | | | i.e. do *not* expand tabs, but treat them as whitespace that is not equivalent to spaces. Add a couple of test cases. Clarify docs.
* shuffle() doscstring: Removed warning about sequence lengthTim Peters2006-06-101-12/+6
| | | | | | | | | versus generator period. While this was a real weakness of the older WH generator for lists with just a few dozen elements, and so could potentially bite the naive ;-), the Twister should show excellent behavior up to at least 600 elements. Module docstring: reflowed some jarringly short lines.
* Suppress warning on MacOSX about possible use before set of proc.Skip Montanaro2006-06-101-1/+1
|
* Handle failure of PyMem_Realloc.Thomas Heller2006-06-101-1/+4
|
* Don't use C++ comment.Thomas Heller2006-06-101-1/+1
|
* Fix the second occurrence of the problematic printf format.Thomas Heller2006-06-101-5/+1
|
* Fix a wrong printf format.Thomas Heller2006-06-101-6/+1
|
* New docs for ctypes.Thomas Heller2006-06-103-565/+925
|
* credit for SF patch #1303595Fred Drake2006-06-101-0/+1
|
* SF patch #1303595: improve description of __builtins__, explaining how itFred Drake2006-06-101-4/+14
| | | | | varies between __main__ and other modules, and strongly suggest not touching it but using __builtin__ if absolutely necessary
* Upgrade to ctypes version 0.9.9.7.Thomas Heller2006-06-108-30/+308
| | | | | | | | Summary of changes: - support for 'variable sized' data - support for anonymous structure/union fields - fix severe bug with certain arrays or structures containing more than 256 fields
* Upgrade to ctypes version 0.9.9.7.Thomas Heller2006-06-106-284/+496
| | | | | | | | Summary of changes: - support for 'variable sized' data - support for anonymous structure/union fields - fix severe bug with certain arrays or structures containing more than 256 fields
* Sync with Optik docs (rev 518):Greg Ward2006-06-101-5/+210
| | | | | * restore "Extending optparse" section * document ALWAYS_TYPED_ACTIONS (SF #1449311)
* document the class, not its initializerSkip Montanaro2006-06-101-4/+4
|
* Patch #1495999: Part two of Windows CE changes.Martin v. Löwis2006-06-1026-33/+201
| | | | | | - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c
* SF bug #1503294.Armin Rigo2006-06-101-1/+1
| | | | PyThreadState_GET() complains if the tstate is NULL, but only in debug mode.
* Port cygwin kill_python changes from 2.4 branch.Martin v. Löwis2006-06-102-1/+8
|
* Apply perky's fix for #1503157: "/".join([u"", u""]) raising OverflowError.Georg Brandl2006-06-103-4/+6
| | | | Also improve error message on overflow.
* Fix bug introduced in rev. 46806 by not having variable declaration at the ↵Brett Cannon2006-06-091-2/+4
| | | | top of a block.
* An object with __call__ as an attribute, when called, will have that ↵Brett Cannon2006-06-094-9/+30
| | | | | | attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute. This can lead to an infinite recursion. Closes bug #532646, again. Will be backported.
* Make use of new str.startswith/endswith semantics.Georg Brandl2006-06-0911-20/+14
| | | | Occurences in email and compiler were ignored due to backwards compat requirements.
* set eol-style svn propertyThomas Heller2006-06-090-0/+0
|
* set eol-style svn propertyThomas Heller2006-06-090-0/+0
|
* Add some wsgiref textAndrew M. Kuchling2006-06-091-1/+36
|
* Remove unused variableAndrew M. Kuchling2006-06-091-1/+0
|
* Implementing a happy idea from Georg Brandl: make runtest() try toTim Peters2006-06-091-1/+48
| | | | | | | | | | | | clean up files and directories the tests often leave behind by mistake. This is the first time in history I don't have a bogus "db_home" directory after running the tests ;-) Also worked on runtest's docstring, to say something about all the arguments, and to document the non-obvious return values. New functions runtest_inner() and cleanup_test_droppings() in support of the above.
* Describe startswith()/endswiith() change; add reminder about wsgirefAndrew M. Kuchling2006-06-091-0/+17
|
* RFE #1491485: str/unicode.endswith()/startswith() now accept a tuple as ↵Georg Brandl2006-06-095-83/+182
| | | | first argument.
* svn:ignore .pyc and .pyo files.Brett Cannon2006-06-090-0/+0
|
* Test file.__exit__.Georg Brandl2006-06-091-1/+11
|
* Whitespace normalization.Tim Peters2006-06-095-81/+3
|
* Fix inconsistency in naming within an enum.Brett Cannon2006-06-091-12/+12
|
* Add note about wsgirefAndrew M. Kuchling2006-06-091-0/+2
|
* Add note about XMLGenerator bugfixAndrew M. Kuchling2006-06-091-0/+4
|
* Import wsgiref into the stdlib, as of the external version 0.1-r2181.Phillip J. Eby2006-06-0910-0/+2962
|
* Turn off warning about deprecated CRT functions on for VisualStudio .NET 2005.Kristján Valur Jónsson2006-06-092-0/+8
| | | | Make the definition #ARRAYSIZE conditional. VisualStudio .NET 2005 already has it defined using a better gimmick.
* [Bug #1472827] Make saxutils.XMLGenerator handle \r\n\t in attribute values ↵Andrew M. Kuchling2006-06-092-2/+7
| | | | by escaping them properly. 2.4 bugfix candidate.
* Markup fixAndrew M. Kuchling2006-06-091-1/+1
|
* Fix grammar and reflowNeal Norwitz2006-06-091-2/+2
|
* Remove the temporary hack to force test_optparse toTim Peters2006-06-091-5/+0
| | | | | | | run immediately after test_file. At least 8 buildbot boxes passed since the underlying problem got fixed, and they all failed before the fix, so there's no point to this anymore.
* testUnicodeOpen(): I have no idea why, but making thisTim Peters2006-06-091-1/+8
| | | | | | | | | test clean up after itself appears to fix the test failures when test_optparse follows test_file. test_main(): Get rid of TESTFN no matter what. That's also enough to fix the mystery failures. Doesn't hurt to fix them twice :-)
* AutoFileTests.tearDown(): Removed mysterious undocumentedTim Peters2006-06-091-27/+28
| | | | | | | try/except. Remove TESTFN. Throughout: used open() instead of file(), and wrapped long lines.
* To boost morale :-), force test_optparse to run immediatelyTim Peters2006-06-091-0/+5
| | | | | | after test_file until we can figure out how to fix it. (See python-dev; at the moment we don't even know which checkin caused the problem.)
* Whitespace normalization.Tim Peters2006-06-091-1/+1
| | | | | | Since test_file is implicated in mysterious test failures when followed by test_optparse, if I had any brains I'd look at the checkin that last changed test_file ;-)
* Update functools sectionAndrew M. Kuchling2006-06-091-10/+36
|
* Buffer objects would return the read or write buffer for a wrapped object whenBrett Cannon2006-06-084-22/+85
| | | | | | | | | the char buffer was requested. Now it actually returns the char buffer if available or raises a TypeError if it isn't (as is raised for the other buffer types if they are not present but requested). Not a backport candidate since it does change semantics of the buffer object (although it could be argued this is enough of a bug to bother backporting).
* Make binascii.hexlify() use s# for its arguments instead of t# to actuallyBrett Cannon2006-06-082-1/+4
| | | | match its documentation stating it accepts any read-only buffer.
* Convert test_file to unittest.Georg Brandl2006-06-081-332/+305
|
* Bug #1502805: don't alias file.__exit__ to file.close since theGeorg Brandl2006-06-081-1/+18
| | | | latter can return something that's true.