summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issues #3167, #3682: tests for math.log and math.log10 were failing onMark Dickinson2008-12-111-3/+55
| | | | | | Solaris and OpenBSD. Fix this by handling special values and domain errors directly in mathmodule.c, passing only positive nonspecial floats to the system log/log10.
* issue 4483 - dbm build failures on systems with gdbm_compat lib.Skip Montanaro2008-12-061-0/+3
|
* #4529: fix parser's validation for try-except-finally statements.Georg Brandl2008-12-051-23/+23
|
* Issue #4025 againChristian Heimes2008-12-031-1/+1
| | | | Converted a C99 style comment to a C89 style comment (found by MAL).
* Move definition int sval into branch of ifdef where it is used.Jeremy Hylton2008-11-281-1/+1
| | | | Otherwise, you get a warning about an undefined variable.
* - Modules/Setup.dist: Update _elementtree, add _bisect, datetimeMatthias Klose2008-11-271-1/+3
|
* - Modules/Setup.dist: Update pyexpatMatthias Klose2008-11-271-3/+2
|
* - Modules/Setup.dist: Mention _elementtree and _pickle.Matthias Klose2008-11-261-0/+2
|
* #4396 make the parser module correctly validate the with syntaxBenjamin Peterson2008-11-241-1/+37
|
* - Fix typo in last checkinMatthias Klose2008-11-231-1/+1
|
* - 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.