summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* I thought I had already fixed this error in the test.Georg Brandl2006-10-291-1/+1
|
* Bug #1586613: fix zlib and bz2 codecs' incremental en/decoders.Georg Brandl2006-10-294-8/+55
| | | | (backport from rev. 52529)
* Fix the new EncodedFile test to work with big endian platforms.Georg Brandl2006-10-291-1/+1
| | | | (backport from rev. 52527)
* Patch #1583880: fix tarfile's problems with long names and posix/Georg Brandl2006-10-292-88/+84
| | | | | GNU modes. (backport from rev. 52524)
* Bug #1357915: allow all sequence types for shell arguments inGeorg Brandl2006-10-291-0/+2
| | | | | subprocess. (backport from rev. 52522)
* Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, andGeorg Brandl2006-10-293-4/+63
| | | | | | fix all codecs file wrappers to work correctly with the "with" statement (bug #1586513). (backport from rev. 52517)
* From SF 1557890, fix problem of using wrong type in example.Neal Norwitz2006-10-281-1/+1
|
* Backport 52506:Neal Norwitz2006-10-281-1/+2
| | | | Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
* Backport 52505:Neal Norwitz2006-10-281-0/+5
| | | | Prevent crash if alloc of garbage fails. Found by Typo.pl.
* Backport 52504:Neal Norwitz2006-10-283-1/+37
| | | | | | Fix bug #1565514, SystemError not raised on too many nested blocks. It seems like this should be a different error than SystemError, but I don't have any great ideas and SystemError was raised in 2.4 and earlier.
* Backport 52503:Neal Norwitz2006-10-281-0/+3
| | | | | Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if it's held (even by the current thread).
* Backport 52502:Neal Norwitz2006-10-282-0/+6
| | | | | Fix warnings with HP's C compiler. It doesn't recognize that infinite loops are, um, infinite. These conditions should not be able to happen.
* Backport 52501:Neal Norwitz2006-10-282-0/+5
| | | | | | | | Add some asserts. In sysmodule, I think these were to try to silence some warnings from Klokwork. They verify the assumptions of the format of svn version output. The assert in the thread module helped debug a problem on HP-UX.
* Fix nth() itertool recipe.Georg Brandl2006-10-281-2/+2
| | | | (backport from rev. 52497)
* Patch #1552024: add decorator support to unparse.py demo script.Georg Brandl2006-10-272-0/+11
| | | | (backport from rev. 52488)
* WindowsError.str should display the windows error code,Thomas Heller2006-10-273-7/+23
| | | | | | | not the posix error code; with test. Fixes #1576174. Backported from trunk, revision 52485.
* [Patch #1574068 by Scott Dial] urllib and urllib2 were usingAndrew M. Kuchling2006-10-273-6/+9
| | | | | | | | base64.encodestring() for encoding authentication data. encodestring() can include newlines for very long input, which produced broken HTTP headers. 2.4 backport candidate, probably.
* [Bug #1575506] The _singlefileMailbox class was using the wrong file object ↵Andrew M. Kuchling2006-10-273-1/+20
| | | | in its flush() method, causing an error
* [Bug #1576241] Let functools.wraps work with built-in functionsAndrew M. Kuchling2006-10-273-1/+10
|
* Point users to the subprocess module in the docs for os.system, os.spawn*, ↵Andrew M. Kuchling2006-10-274-9/+38
| | | | os.popen2, and the popen2 and commands modules
* [Bug #1542016] Report PCALL_POP value. This makes the return value of ↵Andrew M. Kuchling2006-10-272-2/+5
| | | | | | | sys.callstats() match its docstring. Backport candidate. Though it's an API change, this is a pretty obscure portion of the API.
* [Bug #1562583] Mention the set_reuse_addr() methodAndrew M. Kuchling2006-10-271-3/+5
|
* [Bug #1583946] Reword description of server and issuerAndrew M. Kuchling2006-10-271-5/+6
|
* [Bug #1585690] Note that line_num was added in Python 2.5Andrew M. Kuchling2006-10-271-0/+1
|
* Get DBL_MAX from float.h not values.h.Martin v. Löwis2006-10-274-10/+4
|
* Check for values.h.Martin v. Löwis2006-10-274-3/+9
|
* [Backport of r52452]Martin v. Löwis2006-10-274-61/+246
| | | | | | | Patch #1549049: Rewrite type conversion in structmember. Fixes #1545696 and #1566140. The new warnings have been omitted in the backport.
* [Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. ↵Andrew M. Kuchling2006-10-261-4/+4
| | | | Reported by David Faure.
* Patch [ 1583506 ] tarfile.py: 100-char filenames are truncatedGeorg Brandl2006-10-242-1/+28
| | | | (backport from rev. 52431)
* Remove passwd.adjunct.byname from list of mapsMartin v. Löwis2006-10-222-0/+14
| | | | for test_nis.
* - Patch #1560695: Add .note.GNU-stack to ctypes' sysv.S so thatMartin v. Löwis2006-10-222-0/+7
| | | | ctypes isn't considered as requiring executable stacks.
* Patch #1580872: Remove duplicate declaration of PyCallable_Check.Martin v. Löwis2006-10-221-1/+2
|
* Recorded merge of revisions 51379-51603,51606-52365 via svnmerge fromThomas Heller2006-10-200-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes ........ r51379 | thomas.heller | 2006-08-18 16:38:46 +0200 (Fr, 18 Aug 2006) | 6 lines Add asserts to check for 'impossible' NULL values, with comments. In one place where I'n not 1000% sure about the non-NULL, raise a RuntimeError for safety. This should fix the klocwork issues that Neal sent me. If so, it should be applied to the release25-maint branch also. ........ r51401 | neal.norwitz | 2006-08-19 06:23:04 +0200 (Sa, 19 Aug 2006) | 4 lines Move assert to after NULL check, otherwise we deref NULL in the assert. Klocwork #307 ........ r51819 | thomas.heller | 2006-09-07 20:56:28 +0200 (Do, 07 Sep 2006) | 5 lines Anonymous structure fields that have a bit-width specified did not work, and they gave a strange error message from PyArg_ParseTuple: function takes exactly 2 arguments (3 given). With tests. ........ r51820 | thomas.heller | 2006-09-07 21:09:54 +0200 (Do, 07 Sep 2006) | 4 lines The cast function did not accept c_char_p or c_wchar_p instances as first argument, and failed with a 'bad argument to internal function' error message. ........ r52365 | thomas.heller | 2006-10-17 21:30:48 +0200 (Di, 17 Okt 2006) | 6 lines ctypes callback functions only support 'fundamental' result types. Check this and raise an error when something else is used - before this change ctypes would hang or crash when such a callback was called. This is a partial fix for #1574584. Will backport to release25-maint. ........
* Initialized merge tracking via "svnmerge" with revisions "1-51333" fromThomas Heller2006-10-200-0/+0
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes (This had to be done with the command line: svnmerge init -r 1:51333 -F c:\svn\trunk\Modules\_ctypes because svnmerge isn't able to deduce the branch point r51333 and the HEAD URL automatically in a subdirectory.)
* [Bug #1576348] Fix typo in exampleAndrew M. Kuchling2006-10-191-1/+1
|
* C:\Code\python>type c.txtTim Peters2006-10-181-1/+1
| | | | | | Merge rev 52377 from trunk: newIobject(): repaired incorrect cast to quiet MSVC warning.
* ctypes callback functions only support 'fundamental' result types.Thomas Heller2006-10-173-2/+22
| | | | | | | | Check this and raise an error when something else is used - before this change ctypes would hang or crash when such a callback was called. This is a partial fix for #1574584. Backported from trunk.
* Forward-port r52358:Martin v. Löwis2006-10-173-36/+41
| | | | | - Bug #1578513: Cross compilation was broken by a change to configure. Repair so that it's back to how it was in 2.4.3.
* Remove obsolete file.Martin v. Löwis2006-10-171-0/+0
|
* Patch #1457736: Update VC6 to use current PCbuild settings.Martin v. Löwis2006-10-1711-390/+278
|
* Mention the bdist_msi module.Martin v. Löwis2006-10-151-0/+5
|
* Remove binary property on project files, set eol-styleMartin v. Löwis2006-10-153-424/+424
| | | | to CRLF instead.
* Bug #1567666: Emulate GetFileAttributesExA for Win95.Martin v. Löwis2006-10-152-2/+105
|
* Patch #1577551: Add ctypes and ET build support for VC6.Martin v. Löwis2006-10-154-16/+476
|
* Patch #1576954: Update VC6 build directory; remove redundantMartin v. Löwis2006-10-153-22/+78
| | | | files in VC7.1 pythoncore.vcproj.
* Fix tarfile depending on buggy int('1\0', base) behavior.Georg Brandl2006-10-121-1/+1
| | | | (backport from rev. 52313)
* Small grammar fix, thanks Sjoerd.Georg Brandl2006-10-121-1/+1
| | | | (backport from rev. 52311)
* Bug #1560114: the Mac filesystem does have accurate informationGeorg Brandl2006-10-121-1/+1
| | | | | about the case of filenames. (backport from rev. 52309)
* Add a note to fpectl docs that it's not built by defaultGeorg Brandl2006-10-121-1/+6
| | | | | (bug #1556261). (backport from rev. 52307)
* Bug #1545497: when given an explicit base, int() did ignore NULsGeorg Brandl2006-10-123-2/+27
| | | | | embedded in the string to convert. (backport from rev. 52305)