summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* merge in patch from tim golden to fix contextmanager support for mp.Lock()Jesse Noller2009-03-301-1/+1
|
* Issue 5381: fix regression in pure python code path, Issue 5584: fix a ↵Bob Ippolito2009-03-291-1/+1
| | | | decoder bug for unicode float literals outside of a container
* Typo fixGuilherme Polo2009-03-281-1/+1
|
* Adjusted _tkinter to compile without warnings when WITH_THREAD is notGuilherme Polo2009-03-271-6/+29
| | | | defined (part of issue #5035)
* Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou2009-03-231-1/+29
| | | | | | | | | untrackable objects are not tracked by the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on long-running programs, depending on their particular use of datatypes. (trivia: this makes the "binary_trees" benchmark from the Computer Language Shootout 40% faster)
* Silence a compiler warning.Raymond Hettinger2009-03-191-1/+1
|
* Issue 5381: Add object_pairs_hook to the json module.Raymond Hettinger2009-03-191-11/+71
|
* Issue 4474: On platforms with sizeof(wchar_t) == 4 andMark Dickinson2009-03-181-0/+43
| | | | | | | | | sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch. (backport of r70452 from py3k to trunk)
* merge json library with simplejson 2.0.9 (issue 4136)Bob Ippolito2009-03-171-133/+1841
|
* #5496: fix docstring of lookup().Georg Brandl2009-03-151-1/+1
|
* For collections.deque() objects, expose the maxlen parameter as a read-only ↵Raymond Hettinger2009-03-101-1/+15
| | | | attribute.
* Small optimization for corner case where maxlen==0.Raymond Hettinger2009-03-101-0/+23
|
* Fixed issue #4792: Prevent a segfault in _tkinter by using theGuilherme Polo2009-03-071-1/+1
| | | | | guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData.
* Issue #5385: Fixed mmap crash after resize failure on windows.Hirokazu Yamamoto2009-03-051-6/+13
| | | | | Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle because CreateFileMapping returns NULL when error occurs.
* Fixed memory leak.Hirokazu Yamamoto2009-03-032-4/+24
|
* Fix SHA_new and MD5_new, that would crash if not given initial dataKristján Valur Jónsson2009-03-032-8/+13
|
* Issue #5393: typo in cmath.cos and cmath.cosh docstringMark Dickinson2009-02-281-2/+2
|
* Issue #1733986: Fixed mmap crash in accessing elements of second map objectHirokazu Yamamoto2009-02-281-1/+1
| | | | with same tagname but larger size than first map. (Windows)
* Issue #5386: mmap.write_byte didn't check map size, so it could cause bufferHirokazu Yamamoto2009-02-281-4/+11
| | | | overrun.
* fix compiler warningsBenjamin Peterson2009-02-211-6/+6
|
* Issue #5341: Fix a variety of spelling errors.Mark Dickinson2009-02-217-16/+16
|
* Fix keyword arguments for itertools.count().Raymond Hettinger2009-02-211-28/+43
| | | | Step arg without a start arg was ignored.
* Add keyword arg support to itertools.repeat().Raymond Hettinger2009-02-191-7/+6
|
* Add keyword arg support to itertools.compress().Raymond Hettinger2009-02-191-6/+4
|
* Py3k warnings now automatically include -Qwarn for division.Raymond Hettinger2009-02-181-0/+2
|
* Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,Hirokazu Yamamoto2009-02-171-2/+2
| | | | The file was resized to wrong size.
* Issue #5292: Fixed mmap crash on its boundary access m[len(m)].Hirokazu Yamamoto2009-02-171-2/+2
|
* PyList_Append() can failBenjamin Peterson2009-02-161-2/+4
|
* fix compiler warningsBenjamin Peterson2009-02-161-5/+5
|
* Add GC support to count() objects. Backport candidate.Raymond Hettinger2009-02-161-4/+14
|
* Add keyword argument support to itertools.count().Raymond Hettinger2009-02-141-6/+5
|
* Fix warnings GCC emits where the argument of PyErr_Format is a single variable.Georg Brandl2009-02-131-6/+8
|
* - Issue #3745: Fix hashlib to always reject unicode and non buffer-apiGregory P. Smith2009-02-138-98/+218
| | | | | | supporting objects as input no matter how it was compiled (built in implementations or external openssl library). (backported from a py3k branch)
* Fix spaces/tabs in example.Raymond Hettinger2009-02-121-4/+3
|
* Issue 5032: added a step argument to itertools.count() and allowed ↵Raymond Hettinger2009-02-121-33/+86
| | | | non-integer arguments.
* Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes evenGregory P. Smith2009-02-111-2/+8
| | | | on LP64 platforms (most 64-bit Linux, bsd, unix systems).
* Issue#5203: ctypes segfaults when passing a unicode string to aThomas Heller2009-02-101-0/+1
| | | | function without argtypes, if HAVE_USABLE_WCHAR_T is false.
* Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError forMark Dickinson2009-02-101-1/+17
| | | | | | negative arguments. Previously, it raised TypeError. Thanks Lisandro Dalcin.
* Issue 4804. Add a function to test the validity of file descriptors on ↵Kristján Valur Jónsson2009-02-102-2/+126
| | | | Windows, and stop using global runtime settings to silence the warnings / assertions.
* Enforcing Tk 8.3.1 requirement.Guilherme Polo2009-02-091-2/+2
|
* Fixed issue #5122: Synchronize tk load failure check to prevent aGuilherme Polo2009-02-093-30/+122
| | | | potential deadlock.
* Issue 5171: itertools.product docstring missing 'repeat' argumentRaymond Hettinger2009-02-091-0/+3
|
* Issue #4512 closeout: Make ZipImport.get_filename() a public methodNick Coghlan2009-02-081-3/+3
|
* Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that willGuilherme Polo2009-02-061-17/+25
| | | | | | not be used again (this requires Tcl/Tk 8.3.1), also fix a memory leak in Tkapp_Call when calling from a thread different than the one that created the Tcl interpreter.
* Partial fix to issue #1731706: memory leak in Tkapp_Call when callingGuilherme Polo2009-02-061-1/+3
| | | | from a thread different than the one that created the Tcl interpreter.
* 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
|