abb02e5 | Walter Dörwald | 15 March 2006, 11:35:15 UTC | Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added. | 15 March 2006, 11:35:15 UTC |
e2ebb2d | Nick Coghlan | 15 March 2006, 11:00:26 UTC | Implement PEP 338 which has been marked as accepted by GvR | 15 March 2006, 11:00:26 UTC |
8ea61f1 | Tim Peters | 15 March 2006, 09:17:20 UTC | Revert rev 43041, which introduced the "z" format qualifier unique to Python 2.5. | 15 March 2006, 09:17:20 UTC |
ab8aeba | Tim Peters | 15 March 2006, 08:41:15 UTC | CField_repr(): PyString_FromFormat() understands the C99 "z" qualifier on all platforms. | 15 March 2006, 08:41:15 UTC |
d77eb1f | Thomas Heller | 15 March 2006, 08:34:38 UTC | In 'make clean', delete some files that are generated by the _ctypes/libffi configure step. | 15 March 2006, 08:34:38 UTC |
0af5d93 | Walter Dörwald | 15 March 2006, 08:23:53 UTC | SF patch #1359365: file and cStringIO raise a ValueError when next() is called after calling close(). Change StringIO, so that it behaves the same way. | 15 March 2006, 08:23:53 UTC |
4a53dad | Neal Norwitz | 15 March 2006, 05:43:10 UTC | Move test code out of xxmodule and into _testcapimodule.c where it belongs. Will backport. | 15 March 2006, 05:43:10 UTC |
87de069 | Guido van Rossum | 15 March 2006, 04:33:54 UTC | Use relative imports in a few places where I noticed the need. (Ideally, all packages in Python 2.5 will use the relative import syntax for all their relative import needs.) | 15 March 2006, 04:33:54 UTC |
903d846 | Tim Peters | 14 March 2006, 22:48:56 UTC | Renamed test_hashlib_speed.py to time_hashlib.py. Since it's never intended that this script be run by regrtest.py, it shouldn't have been named with a "test_" prefix to begin with. A consequence is that we shouldn't see useless: test_hashlib_speed skipped -- not a unit test (stand alone benchmark) lines in regrtest output anymore. | 14 March 2006, 22:48:56 UTC |
915d777 | Thomas Heller | 14 March 2006, 20:52:24 UTC | Try to avoid many of the compiler warnings when compiling libffi by using a proper function prototype. | 14 March 2006, 20:52:24 UTC |
ab906a5 | Thomas Heller | 14 March 2006, 20:39:27 UTC | Cast an Py_ssize_t to int, to avoid a compiler warning. | 14 March 2006, 20:39:27 UTC |
6ea6e20 | Thomas Heller | 14 March 2006, 20:22:47 UTC | For x86 Release and Debug builds, remove the /Wp64 compiler flag, it is responsible for most (all?) of the warnings we get. | 14 March 2006, 20:22:47 UTC |
fe8f862 | Thomas Heller | 14 March 2006, 19:53:09 UTC | Integrate patch from Neal Norwitz. He writes: """ 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. | 14 March 2006, 19:53:09 UTC |
cb35b95 | Nick Coghlan | 14 March 2006, 13:21:14 UTC | Teach the compiler module about augmented assignment to tuple subscripts | 14 March 2006, 13:21:14 UTC |
7580146 | Neal Norwitz | 14 March 2006, 06:02:16 UTC | Fix and test (manually w/xx module) passing NULLs to PyObject_Str() and 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. | 14 March 2006, 06:02:16 UTC |
3daf758 | Georg Brandl | 13 March 2006, 22:22:11 UTC | Fix bug found by Coverity: don't allow NULL argument to PyUnicode_CheckExact | 13 March 2006, 22:22:11 UTC |
d364a07 | Vinay Sajip | 13 March 2006, 22:05:28 UTC | Added logThreads and logProcesses to allow conditional omission of logging this information | 13 March 2006, 22:05:28 UTC |
6da8ceb | Tim Peters | 13 March 2006, 20:09:32 UTC | It's necessary to do a Debug build of the bsddb project too. | 13 March 2006, 20:09:32 UTC |
7ccbb07 | Tim Peters | 13 March 2006, 19:43:34 UTC | Minor changes. | 13 March 2006, 19:43:34 UTC |
32d996f | Tim Peters | 13 March 2006, 19:35:53 UTC | Trimmed trailing whitespace. | 13 March 2006, 19:35:53 UTC |
b091241 | Martin v. Löwis | 13 March 2006, 15:37:40 UTC | Fix build process of bsddb for IA64 and AMD64. Remove remarks on size_t problems. | 13 March 2006, 15:37:40 UTC |
fcddd29 | Martin v. Löwis | 13 March 2006, 14:12:47 UTC | Initialize VS environment in external.bat as well. | 13 March 2006, 14:12:47 UTC |
f6f7925 | Martin v. Löwis | 13 March 2006, 13:48:05 UTC | Update to bsddb 4.4.20. | 13 March 2006, 13:48:05 UTC |
eadee9a | Nick Coghlan | 13 March 2006, 12:31:58 UTC | Fix SF bug #1448804 and ad a test to ensure that all subscript operations continue to be handled correctly | 13 March 2006, 12:31:58 UTC |
bfa8bd7 | Martin v. Löwis | 13 March 2006, 10:59:32 UTC | Let the buildbot make a single pass in the test suite only. | 13 March 2006, 10:59:32 UTC |
14c1cf8 | Martin v. Löwis | 13 March 2006, 10:52:04 UTC | Update to bzip2 1.0.3 Make buildbot slaves automatically fetch bzip2 1.0.3. | 13 March 2006, 10:52:04 UTC |
a022789 | Thomas Heller | 13 March 2006, 10:47:02 UTC | Plug some refcount leaks when tests are run repeatedly. | 13 March 2006, 10:47:02 UTC |
abb903f | Hye-Shik Chang | 13 March 2006, 10:20:08 UTC | Bug #1448490: Fix a bug that ISO-2022 codecs could not handle SS2 (single-shift 2) escape sequences correctly. | 13 March 2006, 10:20:08 UTC |
6058aa4 | Thomas Heller | 13 March 2006, 07:33:38 UTC | Remove the slightly broken test_leaks.py. 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. | 13 March 2006, 07:33:38 UTC |
b138677 | Trent Mick | 12 March 2006, 23:40:58 UTC | Adding the /useenv means that one's PATH actually gets through. This is 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. | 12 March 2006, 23:40:58 UTC |
44ed4db | Fredrik Lundh | 12 March 2006, 21:06:35 UTC | merged with cElementTree development trunk (1.0.6 snapshot): Fixed a number of potential null-pointer-reference-under-pressure glitches, based on input from the Coverity analysis tool and Simo Salminen. | 12 March 2006, 21:06:35 UTC |
d39ab5b | Martin v. Löwis | 12 March 2006, 09:50:39 UTC | Move buildbot scripts to Tools/buildbot. | 12 March 2006, 09:50:39 UTC |
539056a | Tim Peters | 12 March 2006, 07:00:54 UTC | Added brief comment. | 12 March 2006, 07:00:54 UTC |
1777ada | Tim Peters | 12 March 2006, 06:47:36 UTC | Added brief comments. | 12 March 2006, 06:47:36 UTC |
a96affe | Thomas Wouters | 12 March 2006, 00:29:36 UTC | - Reindent a confusingly indented piece of code (no intended code changes 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. | 12 March 2006, 00:29:36 UTC |
318af47 | Thomas Wouters | 12 March 2006, 00:13:09 UTC | Plug the last 657 referenceleaks in test_bsddb3: a circular reference 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. | 12 March 2006, 00:13:09 UTC |
b2820ae | Thomas Wouters | 12 March 2006, 00:01:38 UTC | Fix another leak in bsddb, and avoid use of uninitialized value -- funny how gcc 4.0.x wasn't complaining about *that* one ;) | 12 March 2006, 00:01:38 UTC |
9fe582c | Martin v. Löwis | 11 March 2006, 23:56:39 UTC | Add buildbot test script. | 11 March 2006, 23:56:39 UTC |
3f2723d | Tim Peters | 11 March 2006, 23:05:39 UTC | Give the _ssl project a harmless command to perform 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. | 11 March 2006, 23:05:39 UTC |
43179c8 | Martin v. Löwis | 11 March 2006, 12:43:44 UTC | Add changelog entry. | 11 March 2006, 12:43:44 UTC |
c350912 | Martin v. Löwis | 11 March 2006, 12:16:23 UTC | Adjust CJK Ideograph range to Unicode 4.1. | 11 March 2006, 12:16:23 UTC |
88ca467 | Tim Peters | 10 March 2006, 23:39:56 UTC | Whitespace normalization. | 10 March 2006, 23:39:56 UTC |
922dd7d | Tim Peters | 10 March 2006, 23:37:10 UTC | When the new -w option (yay! great idea) reruns a failed test, first display the name of the test (else it's not always clear from the output which test is getting run). | 10 March 2006, 23:37:10 UTC |
04824ce | Martin v. Löwis | 10 March 2006, 21:26:16 UTC | Add regrtest -w option. | 10 March 2006, 21:26:16 UTC |
f688cc5 | Andrew M. Kuchling | 10 March 2006, 18:50:08 UTC | Unicode database updated; use SVN instead of CVS | 10 March 2006, 18:50:08 UTC |
1a4a640 | Martin v. Löwis | 10 March 2006, 16:02:59 UTC | Add AMD64 and Itanium configurationgs to ctypes; disable them in the solution since ctypes doesn't support these processors on Windows. | 10 March 2006, 16:02:59 UTC |
a09655e | Martin v. Löwis | 10 March 2006, 15:36:28 UTC | Add ctypes. | 10 March 2006, 15:36:28 UTC |
4196296 | Martin v. Löwis | 10 March 2006, 11:59:47 UTC | Update test data to 4.1; disable PRI #29 for now. | 10 March 2006, 11:59:47 UTC |
0e2f9b2 | Martin v. Löwis | 10 March 2006, 11:29:32 UTC | Fix refcounting bug. | 10 March 2006, 11:29:32 UTC |
5bd7c02 | Martin v. Löwis | 10 March 2006, 11:20:04 UTC | Avoid forward-declaring the methods array. Rename unicodedata.db* to unicodedata.ucd* | 10 March 2006, 11:20:04 UTC |
f669436 | Guido van Rossum | 10 March 2006, 02:28:35 UTC | Um, I thought I'd already checked this in. 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. | 10 March 2006, 02:28:35 UTC |
692cdbc | Guido van Rossum | 10 March 2006, 02:04:28 UTC | Fix three nits found by Coverity, adding null checks and comments. | 10 March 2006, 02:04:28 UTC |
480f1bb | Martin v. Löwis | 09 March 2006, 23:38:20 UTC | Update Unicode database to Unicode 4.1. | 09 March 2006, 23:38:20 UTC |
e2b4677 | Georg Brandl | 09 March 2006, 23:22:43 UTC | Move entry to correct section. | 09 March 2006, 23:22:43 UTC |
24cb053 | Georg Brandl | 09 March 2006, 23:22:06 UTC | Patch #1446372: quit and exit can now be called from the interactive interpreter to exit. | 09 March 2006, 23:22:06 UTC |
ca4d08b | Tim Peters | 09 March 2006, 22:31:45 UTC | NodeInfo.__gen_init(): Fiddle so that reindent.py is 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). | 09 March 2006, 22:31:45 UTC |
51f77b5 | Thomas Heller | 09 March 2006, 19:40:00 UTC | Remove the magic to run an uninstalled ctypes version from a CVS sandbox. | 09 March 2006, 19:40:00 UTC |
aeadf95 | Andrew M. Kuchling | 09 March 2006, 19:06:05 UTC | Write a section | 09 March 2006, 19:06:05 UTC |
3b9e9ae | Thomas Heller | 09 March 2006, 18:49:35 UTC | Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln. Tools/scripts/svneol.py: added the .sln and .vcproj extensions because these are text files. Ran svneol.py over the source tree. | 09 March 2006, 18:49:35 UTC |
a16bb0c | Thomas Heller | 09 March 2006, 17:35:20 UTC | Added VC project files to build _ctypes.pyd and _ctypes_test.pyd on Windows. 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. | 09 March 2006, 17:35:20 UTC |
d0fcc02 | Andrew M. Kuchling | 09 March 2006, 13:57:28 UTC | Markup fix | 09 March 2006, 13:57:28 UTC |
e362d93 | Andrew M. Kuchling | 09 March 2006, 13:56:25 UTC | Write a section | 09 March 2006, 13:56:25 UTC |
d09def3 | Georg Brandl | 09 March 2006, 13:27:14 UTC | Bug #1442874: handle "<!>", the empty SGML comment | 09 March 2006, 13:27:14 UTC |
8f4b4db | Georg Brandl | 09 March 2006, 10:16:42 UTC | typo | 09 March 2006, 10:16:42 UTC |
57e881e | Thomas Heller | 09 March 2006, 09:43:53 UTC | Disable the testcase that crashes solaris. | 09 March 2006, 09:43:53 UTC |
e317d0e | Thomas Heller | 09 March 2006, 07:21:33 UTC | Replace the trivial ctypes test (did only an import) with the real test suite. | 09 March 2006, 07:21:33 UTC |
72c2c06 | Neal Norwitz | 09 March 2006, 05:58:11 UTC | Try to be a bit more consistent on all platforms: python . python < . both print a message, return non-zero and do not core dump. | 09 March 2006, 05:58:11 UTC |
8ff2120 | Martin v. Löwis | 09 March 2006, 02:20:05 UTC | Directly read working copy data to obtain list of properties. | 09 March 2006, 02:20:05 UTC |
84457af | Tim Peters | 09 March 2006, 01:59:27 UTC | Taught svneol to look at .c and .h files too, and it found a bunch more in need of svn:eol-style. | 09 March 2006, 01:59:27 UTC |
d87f81f | Tim Peters | 09 March 2006, 01:42:24 UTC | Simple utility to add svn:eol-style to text files under SVN control. Like reindent.py, I expect to run this mindlessly from time to time, checking in whatever it happens to do ;-) | 09 March 2006, 01:42:24 UTC |
685e954 | Martin v. Löwis | 09 March 2006, 01:35:32 UTC | Set auto-props | 09 March 2006, 01:35:32 UTC |
e8d09e5 | Tim Peters | 09 March 2006, 01:15:05 UTC | Whitespace normalization. | 09 March 2006, 01:15:05 UTC |
b31c814 | Tim Peters | 09 March 2006, 01:07:25 UTC | These text files were all missing the svn:eol-style property. | 09 March 2006, 01:07:25 UTC |
d758d3d | Hye-Shik Chang | 08 March 2006, 23:31:17 UTC | Remove .cvsignore and set svn:ignore for *.pyc *.pyo. | 08 March 2006, 23:31:17 UTC |
ddb73fe | Georg Brandl | 08 March 2006, 20:59:09 UTC | Bug #1445901: os.path.realpath() is available on Win/Mac too. | 08 March 2006, 20:59:09 UTC |
200af39 | Thomas Heller | 08 March 2006, 20:38:11 UTC | Trivial test for ctypes, more to come | 08 March 2006, 20:38:11 UTC |
babddfc | Thomas Heller | 08 March 2006, 19:56:54 UTC | Copy ctypes-0.9.9.4 Python modules from external into the trunk. | 08 March 2006, 19:56:54 UTC |
cf567c1 | Thomas Heller | 08 March 2006, 19:51:58 UTC | Changes to build the _ctypes extension module. Based on a patch from Hye-Shik Chang. | 08 March 2006, 19:51:58 UTC |
d4c9320 | Thomas Heller | 08 March 2006, 19:35:11 UTC | Copy ctypes-0.9.9.4 sources from external into the trunk. | 08 March 2006, 19:35:11 UTC |
533ff6f | Georg Brandl | 08 March 2006, 18:09:27 UTC | Patch #1434038: property() now uses the getter's docstring if there is no "doc" argument given. This makes it possible to legitimately use property() as a decorator to produce a read-only property. | 08 March 2006, 18:09:27 UTC |
f3c4ad1 | Georg Brandl | 08 March 2006, 12:24:33 UTC | typo | 08 March 2006, 12:24:33 UTC |
26fd2e1 | Georg Brandl | 08 March 2006, 09:34:53 UTC | Fix pydoc.synopsis() so that it doesn't error out with an unreadable module. | 08 March 2006, 09:34:53 UTC |
2f5e990 | Neal Norwitz | 08 March 2006, 06:36:45 UTC | Fix logic error and DECREF reported by Coverity. | 08 March 2006, 06:36:45 UTC |
025f14b | Neal Norwitz | 08 March 2006, 05:29:18 UTC | Move version added tag from PyObject_Length/Size to PyNumber_Index. | 08 March 2006, 05:29:18 UTC |
8f4d255 | Andrew M. Kuchling | 08 March 2006, 01:50:20 UTC | Add section | 08 March 2006, 01:50:20 UTC |
b315383 | Thomas Wouters | 08 March 2006, 01:47:19 UTC | Clean up _bsddb.c: add a couple dozen missing Py_DECREF()'s, a handful of missing PyObject_Del()'s, simplify some code by using Py_BuildValue() instead of creating a tuple with items manually, stop clobbering builtin exceptions in a few places, and guard against NULL-returning functions some more. This fixes 117 of the 780 (!?!#%@#$!!) reference leaks in test_bsddb3. I ain't not done yet, although this review of 5kloc was just the easy part. | 08 March 2006, 01:47:19 UTC |
e920f0d | Martin v. Löwis | 07 March 2006, 23:59:33 UTC | Reformulate 42903 using an if statement. | 07 March 2006, 23:59:33 UTC |
df44ab7 | Tim Peters | 07 March 2006, 23:53:32 UTC | _hotshot hotshot_profiler(): If write_header() returned an error code, this let `self` leak. This is a disaster on Windows, since `self` already points to a newly-opened file object, and it was impossible for Python code to close the thing since the only reference to it was in a blob of leaked C memory. test_hotshot test_bad_sys_path(): This new test provoked the C bug above. This test passed, but left an open "@test" file behind, which caused a massive cascade of bogus test failures in later, unrelated tests on Windows. Changed the test code to remove the @test file it leaves behind, which relies on the change above to close that file first. | 07 March 2006, 23:53:32 UTC |
516999e | Georg Brandl | 07 March 2006, 20:56:02 UTC | Fix bug introduced in rev. 42884. | 07 March 2006, 20:56:02 UTC |
437567c | Andrew M. Kuchling | 07 March 2006, 20:48:55 UTC | Some edits; add empty sections | 07 March 2006, 20:48:55 UTC |
9aa37ab | Guido van Rossum | 07 March 2006, 18:54:08 UTC | Add note about PEP 357. | 07 March 2006, 18:54:08 UTC |
38fff8c | Guido van Rossum | 07 March 2006, 18:50:55 UTC | Checking in the code for PEP 357. This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation). | 07 March 2006, 18:50:55 UTC |
9d78550 | Guido van Rossum | 07 March 2006, 18:31:44 UTC | Address an coverity issue. Coverity was complaining about a line that's fine, but an earlier line checked for v != NULL unnecessarily. | 07 March 2006, 18:31:44 UTC |
ec73cd4 | Andrew M. Kuchling | 07 March 2006, 16:16:07 UTC | Typo fix | 07 March 2006, 16:16:07 UTC |
4af5c8c | Hye-Shik Chang | 07 March 2006, 15:39:21 UTC | SF #1444030: Fix several potential defects found by Coverity. (reviewed by Neal Norwitz) | 07 March 2006, 15:39:21 UTC |
ef1701f | Georg Brandl | 07 March 2006, 14:57:48 UTC | Add additional missing checks for return vals of PyTuple_New(). Normalize coding style. | 07 March 2006, 14:57:48 UTC |
89ba381 | Thomas Wouters | 07 March 2006, 14:14:51 UTC | Fix gcc 4.0.x warning about use of uninitialized value. | 07 March 2006, 14:14:51 UTC |
098f694 | Thomas Wouters | 07 March 2006, 14:13:17 UTC | Coverity found bug: test result of PyTuple_New() against NULL before use. Will backport. | 07 March 2006, 14:13:17 UTC |
a74a84d | Thomas Wouters | 07 March 2006, 14:04:31 UTC | Coverity found refleak: need to free 'v' after calling Tkinter_Error(). Will backport to release24. | 07 March 2006, 14:04:31 UTC |
58780d2 | Georg Brandl | 07 March 2006, 13:47:22 UTC | Bug #1440831: fix csv UnicodeWriter example | 07 March 2006, 13:47:22 UTC |