summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix a refleak introduced by r66677.Brett Cannon2008-09-301-10/+1
| | | | | Fix suggested by Amaury Forgeot d'Arc. Closes issue #4003.
* Victor Stinner's patches to check the return result of PyLong_Ssize_tBenjamin Peterson2008-09-302-0/+10
| | | | reviewed by Amaury
* fix security issue 2: imageop's poor validation of arguments could result in ↵Benjamin Peterson2008-09-301-162/+110
| | | | | | | segfaults patch by Victor Stinner reviewed by myself and Brett
* Fix issue #3547 for MingW, update comments.Thomas Heller2008-09-291-3/+5
|
* The _lsprof module could crash the interpreter if it was given an externalBrett Cannon2008-09-291-1/+10
| | | | | | | | timer that did not return a float and a timer was still running when the Profiler object was garbage collected. Fixes issue 3895. Code review by Benjamin Peterson.
* bsddb4.7.3pre9 renamed to 4.7.3Jesus Cea2008-09-281-1/+1
|
* Fix issue #3547: ctypes is confused by bitfields of varying integer typesThomas Heller2008-09-241-1/+1
| | | | Reviewed by Fredrik Lundh and Skip Montanaro.
* Bugfix for issue3885 and 'DB.verify()' crash.Jesus Cea2008-09-232-28/+87
| | | | Reviewed by Nick Coghlan.
* Issue #3945: Fixed compile error on cygwin. (initializer element is not ↵Hirokazu Yamamoto2008-09-231-1/+1
| | | | | | constant) Reviewed by Amaury Forgeot d'Arc.
* #3897: _collections now has an underscore.Georg Brandl2008-09-211-1/+1
|
* #3852: fix some select.kqueue and kevent docs.Georg Brandl2008-09-211-1/+1
|
* tabifyBenjamin Peterson2008-09-181-2/+2
|
* fix possible integer overflows in _hashopenssl #3886Benjamin Peterson2008-09-181-9/+42
|
* Issue #3846: Release GIL during calls to sqlite3_prepare. This improves ↵Gerhard Häring2008-09-122-0/+6
| | | | concurrent access to the same database file from multiple threads/processes.
* Fixes issue #3103. In the sqlite3 module, made one more function static. All ↵Gerhard Häring2008-09-128-28/+28
| | | | renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.
* sqlite3 module: Mark iterdump() method as "Non-standard" like all the other ↵Gerhard Häring2008-09-121-1/+1
| | | | methods not found in DB-API.
* #3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply ↵Amaury Forgeot d'Arc2008-09-111-64/+117
| | | | | | nested lists or dicts. Reviewed by Martin von Loewis.
* #3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not forAmaury Forgeot d'Arc2008-09-103-5/+4
| | | | | | | | | PyString_FromFormat which has an independent implementation, and uses "%zd". This makes a difference on win64, where printf needs "%Id" to display 64bit values. For example, queue.__repr__ was incorrect. Reviewed by Martin von Loewis.
* - Issue #3629: Fix sre "bytecode" validator for an end case.Guido van Rossum2008-09-101-3/+4
| | | | Reviewed by Amaury.
* Issue #3811: The Unicode database was updated to 5.1.Martin v. Löwis2008-09-103-14500/+17573
| | | | Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
* Python3.0 bsddb testsuite compatibility improvementsJesus Cea2008-09-031-1/+1
|
* Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by ↵Jesse Noller2008-09-031-0/+11
| | | | pitrou
* Fix some leaks - Neal NorwitzJesus Cea2008-09-032-4/+6
|
* Improve compatibility with Python3.0 testsuiteJesus Cea2008-09-021-1/+1
|
* #3703 unhelpful _fileio.FileIO error message when trying to open a directoryBenjamin Peterson2008-09-011-1/+3
| | | | Reviewer: Gregory P. Smith
* Update bsddb code to version 4.7.3pre2. This code shouldJesus Cea2008-08-312-38/+116
| | | | | | be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
* #3662: Fix segfault introduced when fixing memory leaks.Neal Norwitz2008-08-241-1/+1
| | | | | TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio R (approach from bug)=Amaury and Benjamin
* Fix:Neal Norwitz2008-08-243-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * crashes on memory allocation failure found with failmalloc * memory leaks found with valgrind * compiler warnings in opt mode which would lead to invalid memory reads * problem using wrong name in decimal module reported by pychecker Update the valgrind suppressions file with new leaks that are small/one-time leaks we don't care about (ie, they are too hard to fix). TBR=barry TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes) in opt mode: valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \ -x test_logging test_ssl test_multiprocessing valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing for i in `seq 1 4000` ; do LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \ ./python -c pass done At least some of these fixes should probably be backported to 2.5.
* #3643 add a few more checks to _testcapi to prevent segfaultsBenjamin Peterson2008-08-231-4/+20
| | | | | Author: Victor Stinner Reviewer: Benjamin Peterson
* d is the correct format stringChristian Heimes2008-08-221-1/+1
|
* Fixed two format strings in the _collections module. For exampleChristian Heimes2008-08-221-2/+2
| | | | | Modules/_collectionsmodule.c:674: warning: format '%i' expects type 'int', but argument 2 has type 'Py_ssize_t' Reviewed by Benjamin Peterson
* Silenced a compiler warning in the sqlite moduleChristian Heimes2008-08-221-2/+2
| | | | | Modules/_sqlite/row.c:187: warning: suggest parentheses around && within || Reviewed by Benjamin Peterson
* Issue 1179: [CVE-2007-4965] Integer overflow in imageop module.Guido van Rossum2008-08-191-12/+68
|
* COM method code is windows specificThomas Heller2008-08-191-1/+4
|
* Fix a regression introduced by rev. 63792: ctypes function pointersThomas Heller2008-08-191-5/+26
| | | | that are COM methods must have a boolean True value.
* Fix strange character in the docstring.Thomas Heller2008-08-191-1/+1
|
* get the symtable module back in working orderBenjamin Peterson2008-08-171-0/+3
| | | | | | - Fix broken functions - Add (hopefully) extensive tests - Modernize a little
* Backport r65661, r65760: Issue #3575: Incremental decoder's decodeHirokazu Yamamoto2008-08-171-5/+18
| | | | function now takes bytearray by using 's*' instead of 't#'.
* Issue #2222: Fixed reference leak when occured os.rename()Hirokazu Yamamoto2008-08-171-28/+26
| | | | fails unicode conversion on 2nd parameter. (windows only)
* Properly INCREF reference in Py_buffer.Martin v. Löwis2008-08-141-0/+2
|
* Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,Martin v. Löwis2008-08-126-184/+227
| | | | | | | by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*.
* Copy reduce() to _functools so to have functools.reduce() not raise a warningBrett Cannon2008-08-091-0/+79
| | | | from usage under -3.
* #3205: bz2 iterator fails silently on MemoryErrorAntoine Pitrou2008-08-091-0/+1
|
* Patch by Ian Charnas from issue 3517.Guido van Rossum2008-08-071-0/+5
| | | | Add F_FULLFSYNC if it exists (OS X only so far).
* Tracker issue 3487: sre "bytecode" verifier.Guido van Rossum2008-08-051-0/+474
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a verifier for the binary code used by the _sre module (this is often called bytecode, though to distinguish it from Python bytecode I put it in quotes). I wrote this for Google App Engine, and am making the patch available as open source under the Apache 2 license. Below are the copyright statement and license, for completeness. # Copyright 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. It's not necessary to include these copyrights and bytecode in the source file. Google has signed a contributor's agreement with the PSF already.
* fix compile error on WindowsBenjamin Peterson2008-08-021-1/+1
|
* Submit fix for issue3393: Memory corruption in multiprocessing moduleJesse Noller2008-08-013-19/+28
|
* Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz2008-07-313-2/+22
|
* Replace math.sum with math.fsum in a couple of commentsMark Dickinson2008-07-301-2/+2
| | | | that were missed by r65308
* Rename math.sum to math.fsumMark Dickinson2008-07-301-16/+16
|