summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* The _tkinter module functions "createfilehandler", "deletefilehandler",Guilherme Polo2009-01-031-0/+36
| | | | | "createtimerhandler", "mainloop", "dooneevent" and "quit" have been deprecated for removal in 3.x (part of issue #3638).
* Issue #4051: Prevent conflict of UNICODE macros in cPickle.Martin v. Löwis2009-01-021-0/+8
|
* #4801 _collections module fails to build on cygwin.Amaury Forgeot d'Arc2009-01-021-2/+2
| | | | | _PyObject_GC_TRACK is the macro version of PyObject_GC_Track, and according to documentation it should not be used for extension modules.
* Issue #4797: IOError.filename was not set when _fileio.FileIO failed to openHirokazu Yamamoto2009-01-011-3/+4
| | | | file with `str' filename on Windows.
* Issue #3680: Reference cycles created through a dict, set or deque iterator ↵Antoine Pitrou2009-01-011-7/+16
| | | | did not get collected.
* #4228: Pack negative values the same way as 2.4Georg Brandl2009-01-011-6/+6
| | | | in struct's L format.
* Just inserted blank line.Hirokazu Yamamoto2008-12-311-0/+1
|
* Fixed compile error on windows.Hirokazu Yamamoto2008-12-311-1/+2
|
* Issue #4701: implicitly call PyType_Ready from PyObject_HashNick Coghlan2008-12-301-0/+101
|
* Issue #1040026: Fix os.times result on systems where HZ is incorrect.Martin v. Löwis2008-12-291-9/+16
|
* #4764 in io.open, set IOError.filename when trying to open a directory on ↵Benjamin Peterson2008-12-291-4/+4
| | | | POSIX platforms
* Fix issue #4730: cPickle corrupts high-unicode strings.Alexandre Vassalotti2008-12-271-30/+79
| | | | | Update outdated copy of PyUnicode_EncodeRawUnicodeEscape. Add a test case.
* make global staticBenjamin Peterson2008-12-231-1/+1
|
* use a global variable, so the compiler doesn't optimize the assignment outBenjamin Peterson2008-12-231-2/+3
|
* silence compiler warningBenjamin Peterson2008-12-221-0/+1
|
* fix #4720: the format to PyArg_ParseTupleAndKeywords can now start with '|'Benjamin Peterson2008-12-221-0/+27
|
* remove redundant sentenceBenjamin Peterson2008-12-201-1/+1
|
* beef up docstringBenjamin Peterson2008-12-201-1/+4
|
* Issue #2467: gc.DEBUG_STATS reports invalid elapsed times.Antoine Pitrou2008-12-171-23/+26
| | | | Patch by Neil Schemenauer, very slightly modified.
* #3954: Fix error handling code in _hotshot.logreaderAmaury Forgeot d'Arc2008-12-151-10/+8
| | | | Will port to 2.6. hotshot was deleted from python 3.
* Fix several issues relating to access to source code inside zipfiles. ↵Nick Coghlan2008-12-141-0/+31
| | | | Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details.
* 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.