summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* issue 4804: Provide checks for the format string of strftime, and for the ↵Kristján Valur Jónsson2009-02-041-0/+17
| | | | "mode" string of fopen on Windows. These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid.
* This refactoring should make it easier to add new calling conventions.Thomas Heller2009-02-033-400/+29
| | | | | | | | | Replace ffi_call_STDCALL and ffi_call_SYSV by a ffi_call_x86 function that cleans up the stack when FFI_SYSV is used, and does nothing for FFI_STDCALL. Remove libffi_msvc\win32.S, which is out of date and also unused; it was only used for building ctypes with the MingW compiler.
* Fix for issue #1581476Guilherme Polo2009-02-021-2/+1
|
* - Issue #5104: The socket module now raises OverflowError when 16-bit port andGregory P. Smith2009-01-311-3/+27
| | | | | protocol numbers are supplied outside the allowed 0-65536 range on bind() and getservbyport().
* make _tkinter._flatten check the result of PySequence_Size for errors #3880Benjamin Peterson2009-01-301-1/+3
|
* Fix typo.Raymond Hettinger2009-01-291-1/+1
|
* Update itertools.__doc__ to include all tools.Raymond Hettinger2009-01-291-5/+12
|
* Promote combinations_with_replacement() from a recipe to a regular itertool.Raymond Hettinger2009-01-271-2/+251
|
* Fix signed/unsigned mismatch.Raymond Hettinger2009-01-261-1/+1
|
* Promote compress() from a recipe to being a regular itertool.Raymond Hettinger2009-01-251-0/+157
|
* fix building the core with --disable-unicodeBenjamin Peterson2009-01-251-0/+2
| | | | | I changed some bytearray methods to use strings instead of unicode like bytes_repr Also, bytearray.fromhex() can take strings as well as unicode
* Issue #1672332: Fix unpickling of subnormal floats, which was raisingMark Dickinson2009-01-241-1/+2
| | | | | ValueError on some platforms as a result of the platform strtod setting errno on underflow.
* Issue #5008: When a file is opened in append mode with the new IO library,Antoine Pitrou2009-01-211-0/+13
| | | | | | do an explicit seek to the end of file (so that e.g. tell() returns the file size rather than 0). This is consistent with the behaviour of the traditional 2.x file object.
* backport r68802 (bugfix)Benjamin Peterson2009-01-201-1/+1
|
* issue 5002: fix windows warning that I intro'ed with r68768Jesse Noller2009-01-201-3/+1
|
* simplify codeBenjamin Peterson2009-01-191-4/+2
|
* Resolve issue 3321: (segfault) _multiprocessing.Connection() doesn't check ↵Jesse Noller2009-01-192-2/+14
| | | | handle
* Issue 4957Kristján Valur Jónsson2009-01-191-1/+1
| | | | Let os.ftruncate raise OSError like documented.
* raise an OSError for invalid fds #4991Benjamin Peterson2009-01-191-0/+20
|
* #4077: No need to append \n when calling Py_FatalErrorAmaury Forgeot d'Arc2009-01-171-1/+1
| | | | + fix a declaration to make it match the one in pythonrun.h
* Fix refcount leak in error cases. Bug found by coverity.Thomas Heller2009-01-131-1/+4
|
* #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.