summaryrefslogtreecommitdiff
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* #3720: Interpreter crashes when an evil iterator removes its own next function.Amaury Forgeot d'Arc2009-01-121-11/+0
| | | | | | Now the slot is filled with a function that always raises. Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
* Issue #3860: GzipFile and BZ2File now support the context manager protocol.Antoine Pitrou2009-01-101-0/+32
|
* Issue #4074: Change the criteria for doing a full garbage collection (i.e.Antoine Pitrou2009-01-091-1/+65
| | | | | | collecting the oldest generation) so that allocating lots of objects without destroying them does not show quadratic performance. Based on a proposal by Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html.
* Issue 4293: Make Py_AddPendingCall() thread safeKristján Valur Jónsson2009-01-091-0/+38
| | | | Add test cases and documentation
* Fix issue 4884, preventing a crash in the socket code when python is compiledJeffrey Yasskin2009-01-091-1/+5
| | | | with llvm-gcc and run with a glibc <2.10.
* be more specific in -3 option helpBenjamin Peterson2009-01-091-1/+1
|
* Forward port r68394 for issue 4816.Raymond Hettinger2009-01-081-10/+2
|
* 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
|