summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cast an Py_ssize_t to int, to avoid a compiler warning.Thomas Heller2006-03-141-2/+2
|
* For x86 Release and Debug builds, remove the /Wp64 compiler flag, itThomas Heller2006-03-141-2/+2
| | | | is responsible for most (all?) of the warnings we get.
* Integrate patch from Neal Norwitz. He writes:Thomas Heller2006-03-143-56/+60
| | | | | | | | | | | | | | | | | | """ The attached patch fixes all the ctypes tests so they pass on amd64. It also fixes several warnings. I'm not sure what else to do with the patch. Let me know how you want to handle these in the future. I'm not sure the patch is 100% correct. You will need to decide what can be 64 bits and what can't. I believe sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t. The types in ctypes.h may not require all the changes I made. I don't know how you want to support older version, so I unconditionally changed the types to Py_ssize_t. """ The patch is also in the ctypes SVN repository now, after small changes to add compatibility with older Python versions.
* Teach the compiler module about augmented assignment to tuple subscriptsNick Coghlan2006-03-141-4/+2
|
* Fix and test (manually w/xx module) passing NULLs to PyObject_Str() andNeal Norwitz2006-03-142-5/+21
| | | | | | | | | | | | | PyObject_Unicode(). This problem was originally reported from Coverity and addresses mail on python-dev "checkin r43015". This inlines the conversion of the string to unicode and cleans up/simplifies some code at the end of the PyObject_Unicode(). We really need a complete C API test module for all public APIs and passing good and bad parameter values. Will backport.
* Fix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExactGeorg Brandl2006-03-131-2/+2
|
* Added logThreads and logProcesses to allow conditional omission of logging ↵Vinay Sajip2006-03-131-2/+12
| | | | this information
* It's necessary to do a Debug build of the bsddb project too.Tim Peters2006-03-131-2/+6
|
* Minor changes.Tim Peters2006-03-131-5/+4
|
* Trimmed trailing whitespace.Tim Peters2006-03-131-2/+2
|
* Fix build process of bsddb for IA64 and AMD64.Martin v. Löwis2006-03-132-6/+11
| | | | Remove remarks on size_t problems.
* Initialize VS environment in external.bat as well.Martin v. Löwis2006-03-131-0/+1
|
* Update to bsddb 4.4.20.Martin v. Löwis2006-03-133-46/+39
|
* Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵Nick Coghlan2006-03-132-24/+101
| | | | continue to be handled correctly
* Let the buildbot make a single pass in the test suite only.Martin v. Löwis2006-03-132-1/+5
|
* Update to bzip2 1.0.3Martin v. Löwis2006-03-134-19/+26
| | | | Make buildbot slaves automatically fetch bzip2 1.0.3.
* Plug some refcount leaks when tests are run repeatedly.Thomas Heller2006-03-132-16/+21
|
* Bug #1448490: Fix a bug that ISO-2022 codecs could not handleHye-Shik Chang2006-03-133-1/+11
| | | | SS2 (single-shift 2) escape sequences correctly.
* Remove the slightly broken test_leaks.py.Thomas Heller2006-03-132-91/+4
| | | | | | | Change test_functions.py so that it can be run multiple time without failing: Assign a restype to the function in test_intresult, and move the definition of class POINT to module level so that no new class is created each time the test is run.
* Adding the /useenv means that one's PATH actually gets through. This isTrent Mick2006-03-121-1/+1
| | | | | | | | important for the _ssl.vproj build. It calls build_ssl.py which tries to find a Perl to use. Without "/useenv" Visual Studio is getting a PATH from somewhere else (presumably from its internal environment configuration). The result is that build_ssl.py fallsback to its "well-known" locations for a Perl install.
* merged with cElementTree development trunk (1.0.6 snapshot):Fredrik Lundh2006-03-121-32/+60
| | | | | | Fixed a number of potential null-pointer-reference-under-pressure glitches, based on input from the Coverity analysis tool and Simo Salminen.
* Move buildbot scripts to Tools/buildbot.Martin v. Löwis2006-03-123-0/+0
|
* Added brief comment.Tim Peters2006-03-121-2/+1
|
* Added brief comments.Tim Peters2006-03-122-2/+2
|
* - Reindent a confusingly indented piece of code (no intended code changesThomas Wouters2006-03-121-13/+16
| | | | | | | | | there) - Add missing DECREFs of inner-scope 'temp' variable - Add various missing DECREFs by changing 'return NULL' into 'goto onError' - Avoid double DECREF when last _PyUnicode_Resize() fails Coverity found one of the missing DECREFs, but oddly enough not the others.
* Plug the last 657 referenceleaks in test_bsddb3: a circular referenceThomas Wouters2006-03-121-0/+5
| | | | | | | between a TestCase instance, the database it opened (or a cursor to a database) and a bound method as a registered database callback, and a lack of GC-handling in bsddb caused the TestCases to linger. Fix the test, for now, as backward compatibility makes adding GC to bsddb annoying.
* Fix another leak in bsddb, and avoid use of uninitialized value -- funny howThomas Wouters2006-03-121-1/+2
| | | | gcc 4.0.x wasn't complaining about *that* one ;)
* Add buildbot test script.Martin v. Löwis2006-03-111-0/+4
|
* Give the _ssl project a harmless command to performTim Peters2006-03-111-0/+3
| | | | | | for its "clean" action. Else the clean step run by the buildbot reports failure, due to the _ssl project whining about not being able to spawn an empty string.
* Add changelog entry.Martin v. Löwis2006-03-111-0/+1
|
* Adjust CJK Ideograph range to Unicode 4.1.Martin v. Löwis2006-03-111-13/+12
|
* Whitespace normalization.Tim Peters2006-03-103-4/+4
|
* When the new -w option (yay! great idea) reruns aTim Peters2006-03-101-0/+2
| | | | | | failed test, first display the name of the test (else it's not always clear from the output which test is getting run).
* Add regrtest -w option.Martin v. Löwis2006-03-102-3/+22
|
* Unicode database updated; use SVN instead of CVSAndrew M. Kuchling2006-03-101-2/+7
|
* Add AMD64 and Itanium configurationgs to ctypes;Martin v. Löwis2006-03-103-8/+233
| | | | | disable them in the solution since ctypes doesn't support these processors on Windows.
* Add ctypes.Martin v. Löwis2006-03-101-0/+2
|
* Update test data to 4.1; disable PRI #29 for now.Martin v. Löwis2006-03-101-4/+15
|
* Fix refcounting bug.Martin v. Löwis2006-03-101-0/+1
|
* Avoid forward-declaring the methods array.Martin v. Löwis2006-03-105-56/+57
| | | | Rename unicodedata.db* to unicodedata.ucd*
* Um, I thought I'd already checked this in.Guido van Rossum2006-03-1011-105/+60
| | | | | | | 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.
* Fix three nits found by Coverity, adding null checks and comments.Guido van Rossum2006-03-101-3/+15
|
* Update Unicode database to Unicode 4.1.Martin v. Löwis2006-03-0912-13167/+17104
|
* Move entry to correct section.Georg Brandl2006-03-091-3/+3
|
* Patch #1446372: quit and exit can now be called from the interactiveGeorg Brandl2006-03-092-4/+16
| | | | interpreter to exit.
* NodeInfo.__gen_init(): Fiddle so that reindent.py isTim Peters2006-03-091-2/+5
| | | | | | | happy with the output as-is. This incidentally also gets rid of "an extra" blank line at the end of the output block that probably wasn't intended (although it doesn't matter one way or the other).
* Remove the magic to run an uninstalled ctypes version from a CVS sandbox.Thomas Heller2006-03-092-21/+0
|
* Write a sectionAndrew M. Kuchling2006-03-091-1/+61
|
* Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln.Thomas Heller2006-03-093-399/+399
| | | | | Tools/scripts/svneol.py: added the .sln and .vcproj extensions because these are text files. Ran svneol.py over the source tree.
* Added VC project files to build _ctypes.pyd and _ctypes_test.pyd on Windows.Thomas Heller2006-03-093-0/+307
| | | | | | Settings for 64-bit Windows are missing. I've left in the 64-bit warnings to remind me to port ctypes to Py_ssize_t.