summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 2.4.5v2.4.5Martin v. Löwis2008-03-111-1/+6
|
* Prepare for 2.4.5c1v2.4.5c1Martin v. Löwis2008-03-022-2/+2
|
* Backport of r60793:Martin v. Löwis2008-03-021-0/+4
| | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
* Revert the following revisions, as they don't fix securityMartin v. Löwis2008-03-021-18/+0
| | | | | | | problems: 52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001, 53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580, 55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
* Backport r60104 + r60111 from trunk.Gregory P. Smith2008-01-191-0/+4
| | | | | | - Issue #1336: fix a race condition in subprocess.Popen if the garbage collector kicked in at the wrong time that would cause the process to hang when the child wrote to stderr.
* (Backport from r55770)Hye-Shik Chang2007-06-051-0/+4
| | | | | | Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it reads a file that ends with incomplete sequence and sizehint argument for .read() is specified.
* HTML-escape the plain traceback in cgitb's HTML output, to preventGeorg Brandl2007-05-151-0/+4
| | | | | | the traceback inadvertently or maliciously closing the comment and injecting HTML into the error page. (backport from rev. 55348)
* backport: fix trace.py --ignore-dirSkip Montanaro2007-02-111-0/+3
|
* Backport trunk revision 53527:Thomas Wouters2007-01-231-0/+2
| | | | | | | | | | | | | SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize When running the interpreter in an environment that would cause it to set stdout/stderr/stdin's encoding, having a sitecustomize that would replace them with something other than PyFile objects would crash the interpreter. Fix it by simply ignoring the encoding-setting for non-files. This could do with a test, but I can think of no maintainable and portable way to test this bug, short of adding a sitecustomize.py to the buildsystem and have it always run with it (hmmm....)
* - idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).Matthias Klose2007-01-111-0/+2
|
* Bug #1590891: random.randrange don't return correct value for big numberRaymond Hettinger2006-12-201-0/+2
|
* [Bug #1542016] Report PCALL_POP value. This makes the return value of ↵Andrew M. Kuchling2006-10-271-0/+3
| | | | sys.callstats() match its docstring.
* Add sections for a hypothetical future 2.4.5 releaseAndrew M. Kuchling2006-10-271-0/+22
|
* preparing for 2.4.4 finalAnthony Baxter2006-10-172-4/+4
|
* - Bug #1578513: Cross compilation was broken by a change to configure.Anthony Baxter2006-10-171-0/+11
| | | | | | Repair so that it's back to how it was in 2.4.3. Needs to be forward-ported to 2.5 branch and trunk.
* what month is it again? I get confused...v2.4.4c1Anthony Baxter2006-10-101-1/+1
|
* preparing for 2.4.4c1Anthony Baxter2006-10-101-1/+1
|
* note the previous checkinAnthony Baxter2006-10-101-1/+4
|
* Note that there are no longer warnings when buildingTim Peters2006-10-101-0/+3
| | | | _bsddb on Windows (Martin recently repaired that -- thanks!).
* Backport of the pieces of trunk rev 46589 relevant toTim Peters2006-10-091-2/+7
| | | | | | | | | | | | | fixing an unlikely crash bug in dict resizing, SF bug 1456209. The rest of rev 46589 changes whether Python suppresses exceptions during some dict-related comparisons. While I think that's a good idea, it does change visible behavior at times, and there was already some complaining about that on the trunk. Not a good idea for backporting. The part of 46589 checked in here can at worst stop segfaults, and I doubt anyone will gripe about that ;-)
* Backport r45505, r45573, r45576Martin v. Löwis2006-10-091-0/+2
| | | | | | | | | | | | | | | | | | - reset errno before calling confstr - use confstr() doc to simplify checks afterwards - Correct implementation and documentation of os.confstr. Add a simple test case. I've yet to figure out how to provoke a None return I can test. - Address issues brought up by MvL on python-checkins. I tested this with valgrind on amd64. The man pages I found for diff architectures are inconsistent on this. I'm not entirely sure this change is correct for all architectures either. Perhaps we should just over-allocate and not worry about it? The change to return None instead of "" in case of unconfigured values has not been backported.
* [Bug #1545341] Let the 'classifiers' parameter be a tuple as well as a list.Andrew M. Kuchling2006-10-091-0/+3
|
* Move an old news entry about cjkcodecs to the right place; "ExtensionHye-Shik Chang2006-10-081-7/+7
| | | | Modules".
* Backport from trunk r52223:Hye-Shik Chang2006-10-081-0/+3
| | | | | Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault when encoding non-BMP unicode characters. (Submitted by Ray Chason)
* [Backport r50743 | neal.norwitz]Andrew M. Kuchling2006-10-051-0/+2
| | | | | Handle allocation failures gracefully. Found with failmalloc. Many (all?) of these could be backported.
* [Backport r52147 | andrew.kuchling]Andrew M. Kuchling2006-10-051-0/+2
| | | | | | Cause a PyObject_Malloc() failure to trigger a MemoryError, and then add 'if (PyErr_Occurred())' checks to various places so that NULL is returned properly.
* [Backport r51248 | neal.norwitz]Andrew M. Kuchling2006-10-051-1/+3
| | | | | | | Fix segfault when doing string formatting on subclasses of long if __oct__, __hex__ don't return a string. Klocwork 308
* Build _ssl.pyd with OpenSSL 0.9.7lMartin v. Löwis2006-10-041-0/+3
|
* A review of overflow-detecting code in the 2.4 branch.Armin Rigo2006-10-041-2/+3
| | | | | | | | | | | | * unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c.
* Fix integer negation and absolute value to not relyMartin v. Löwis2006-10-041-0/+3
| | | | on undefined behaviour of the C compiler anymore.
* [Backport rev. 42545 by georg.brandl]Andrew M. Kuchling2006-10-031-0/+3
| | | | Make staticmethod and classmethod complain about keyword args.
* [Backport rev. 51728 by neal.norwitz]Andrew M. Kuchling2006-10-031-1/+1
| | | | Patch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34].
* [Backport rev. 51669 by brett.cannon]Andrew M. Kuchling2006-10-031-1/+3
| | | | | | Make sure memory is properly cleaned up in file_init. Backport candidate.
* [Backport rev. 47171 by neal.norwitz]Andrew M. Kuchling2006-10-031-1/+1
| | | | Another problem reported by Coverity. Backport candidate.
* Fix test for uintptr_t. Fixes #1568842.Martin v. Löwis2006-10-021-0/+2
|
* Back out r52076, it's causing the buildbots to fail because of ↵Georg Brandl2006-09-301-3/+0
| | | | test_charmapcodec.
* Bug #1446043: correctly raise a LookupError if an encoding name givenGeorg Brandl2006-09-301-0/+3
| | | | | to encodings.search_function() contains a dot. (backport from rev. 52075)
* Bug #1556784: allow format strings longer than 127 characters inGeorg Brandl2006-09-301-0/+3
| | | | | datetime's strftime function. (backport from rev. 52072)
* Bug #1560617: in pyclbr, return full module name not only for classes,Georg Brandl2006-09-301-0/+3
| | | | | but also for functions. (backport from rev. 52069)
* Bug #1566602: correct failure of posixpath unittest when $HOME endsGeorg Brandl2006-09-301-0/+3
| | | | | with a slash. (backport from rev. 52065)
* Patch #1567691: super() and new.instancemethod() now don't acceptGeorg Brandl2006-09-301-0/+4
| | | | | | keyword arguments any more (previously they accepted them, but didn't use them). (backport from rev. 52058)
* wording changeGregory P. Smith2006-09-301-1/+1
|
* [Backport rev. 46882 by neal.norwitz]Andrew M. Kuchling2006-09-291-0/+2
| | | | Fix the socket tests so they can be run concurrently. Backport candidate
* [Backport rev. 39743 by lemburg]Andrew M. Kuchling2006-09-291-0/+2
| | | | | | Bug fix for [ 1331062 ] utf 7 codec broken. Backport candidate.
* [Backport rev. 41696 by neal.norwitz]Andrew M. Kuchling2006-09-291-0/+2
| | | | | | | | | Fix an int/long mismatch identified here: http://www.tortall.net/mu/blog/2005/12/01 Pointed out from SF #1365916. Backport candidate.
* [Backport rev39767 by nnorwitz]Andrew M. Kuchling2006-09-291-0/+2
| | | | | | | Free coding spec (cs) if there was an error to prevent mem leak. Maybe backport candidate. [Bugfix seems applicable to 2.4 to me. --amk]
* [Backport rev. 39135 by mwh]Andrew M. Kuchling2006-09-281-0/+3
| | | | | | | | | | | | | | | | | | Fix bug [ 1232517 ] OverflowError in time.utime() causes strange traceback A needed error check was missing. (Actually, this error check may only have become necessary in fairly recent Python, not sure). Backport candidate. [A few lines below the code in 2.4 touched by the patch, there's already a similar check of (intval == -1 && PyErr_Occurred()), so I think this function can already report such errors, and therefore the fix still applies. Perhaps Michael can clarify what he was referring to. --amk]
* [Backport rev.39030 by nascheme]Andrew M. Kuchling2006-09-281-0/+2
| | | | Add missing INCREF.
* [Backport rev. 39012 by mwh]Andrew M. Kuchling2006-09-281-0/+2
| | | | Add a missing incref.
* [Backport rev. 38534 by loewis]Andrew M. Kuchling2006-09-271-0/+1
| | | | | | | | | | [Possibly controversial because it adds a parameter to a method. This parameter isn't documented, however, so arguably it's a private detail, and the fix is necessary to make GzipFile.flush() behave more similarly to regular file object.] Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush. Partially fixes #1110242.