summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* - Modules/Setup.dist: Mention _functools in section "Modules that shouldMatthias Klose2008-11-231-0/+1
| | | | always be present (non UNIX dependent)"
* backport r67325: make FileIO.mode always contain 'b'Benjamin Peterson2008-11-221-3/+5
|
* Fixed issue #4233.Amaury Forgeot d'Arc2008-11-201-4/+9
| | | | | | | | | | Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False. The file descriptor is still kept open but the file object behaves like a closed file. The FileIO object also got a new readonly attribute closefd. Approved by Barry Backport of r67106 from the py3k branch
* #4317: Fix an Array Bounds Read in imageop.rgb2rgb8.Amaury Forgeot d'Arc2008-11-181-1/+1
| | | | Will backport to 2.4.
* Issue #4071: ntpath.abspath returned an empty string for long unicode path.Hirokazu Yamamoto2008-11-081-6/+20
|
* Issue #4204: Fixed module build errors on FreeBSD 4.Martin v. Löwis2008-11-042-0/+10
|
* #4048 make the parser module accept relative imports as validBenjamin Peterson2008-11-031-2/+2
|
* make sure the parser flags and passed onto the compilerBenjamin Peterson2008-10-311-7/+36
| | | | | This fixes "from __future__ import unicode_literals" in an exec statment See #4225
* Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient ↵Christian Heimes2008-10-301-2/+4
| | | | initialization of PyFileIOObject struct members.
* Issue #4176: Pickle would crash the interpreter when a __reduce__ functionAmaury Forgeot d'Arc2008-10-301-26/+33
| | | | | | | | | does not return an iterator for the 4th and 5th items. (sequence-like and mapping-like state) A list is not an iterator... Will backport to 2.6 and 2.5.
* Correct error message in io.open():Amaury Forgeot d'Arc2008-10-291-1/+1
| | | | closefd=True is the only accepted value with a file name.
* fix more possible ref leaks in _json and use Py_CLEARBenjamin Peterson2008-10-161-2/+4
|
* fix possible ref leakBenjamin Peterson2008-10-161-2/+2
|
* check for error conditions in _json #3623Benjamin Peterson2008-10-161-3/+5
|
* removed unused _PyUnicode_FromFileSystemEncodedObject.Hirokazu Yamamoto2008-10-161-6/+2
| | | | made win32_chdir, win32_wchdir static.
* #4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module:Amaury Forgeot d'Arc2008-10-141-0/+4
| | | | | | compilation fails with "undefined reference to _Py_ascii_whitespace" Will backport to 2.6.
* r66862 contained memory leak.Hirokazu Yamamoto2008-10-091-1/+3
|
* On windows, os.chdir given unicode was not working if GetCurrentDirectoryWHirokazu Yamamoto2008-10-091-1/+4
| | | | | returned a path longer than MAX_PATH. (But It's doubtful this code path is really executed because I cannot move to such directory on win2k)
* #3935: properly support list subclasses in the C impl. of bisect.Georg Brandl2008-10-081-2/+2
| | | | Patch reviewed by Raymond.
* Docstring typo.Andrew M. Kuchling2008-10-032-2/+2
|
* Fixed a couple more C99 comments and one occurence of inline.Christian Heimes2008-10-023-4/+4
|
* 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