Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge in patch from tim golden to fix contextmanager support for mp.Lock() | Jesse Noller | 2009-03-30 | 1 | -1/+1 |
| | |||||
* | Issue 5381: fix regression in pure python code path, Issue 5584: fix a ↵ | Bob Ippolito | 2009-03-29 | 1 | -1/+1 |
| | | | | decoder bug for unicode float literals outside of a container | ||||
* | Typo fix | Guilherme Polo | 2009-03-28 | 1 | -1/+1 |
| | |||||
* | Adjusted _tkinter to compile without warnings when WITH_THREAD is not | Guilherme Polo | 2009-03-27 | 1 | -6/+29 |
| | | | | defined (part of issue #5035) | ||||
* | Issue #4688: Add a heuristic so that tuples and dicts containing only | Antoine Pitrou | 2009-03-23 | 1 | -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 Hettinger | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Issue 5381: Add object_pairs_hook to the json module. | Raymond Hettinger | 2009-03-19 | 1 | -11/+71 |
| | |||||
* | Issue 4474: On platforms with sizeof(wchar_t) == 4 and | Mark Dickinson | 2009-03-18 | 1 | -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 Ippolito | 2009-03-17 | 1 | -133/+1841 |
| | |||||
* | #5496: fix docstring of lookup(). | Georg Brandl | 2009-03-15 | 1 | -1/+1 |
| | |||||
* | For collections.deque() objects, expose the maxlen parameter as a read-only ↵ | Raymond Hettinger | 2009-03-10 | 1 | -1/+15 |
| | | | | attribute. | ||||
* | Small optimization for corner case where maxlen==0. | Raymond Hettinger | 2009-03-10 | 1 | -0/+23 |
| | |||||
* | Fixed issue #4792: Prevent a segfault in _tkinter by using the | Guilherme Polo | 2009-03-07 | 1 | -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 Yamamoto | 2009-03-05 | 1 | -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 Yamamoto | 2009-03-03 | 2 | -4/+24 |
| | |||||
* | Fix SHA_new and MD5_new, that would crash if not given initial data | Kristján Valur Jónsson | 2009-03-03 | 2 | -8/+13 |
| | |||||
* | Issue #5393: typo in cmath.cos and cmath.cosh docstring | Mark Dickinson | 2009-02-28 | 1 | -2/+2 |
| | |||||
* | Issue #1733986: Fixed mmap crash in accessing elements of second map object | Hirokazu Yamamoto | 2009-02-28 | 1 | -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 buffer | Hirokazu Yamamoto | 2009-02-28 | 1 | -4/+11 |
| | | | | overrun. | ||||
* | fix compiler warnings | Benjamin Peterson | 2009-02-21 | 1 | -6/+6 |
| | |||||
* | Issue #5341: Fix a variety of spelling errors. | Mark Dickinson | 2009-02-21 | 7 | -16/+16 |
| | |||||
* | Fix keyword arguments for itertools.count(). | Raymond Hettinger | 2009-02-21 | 1 | -28/+43 |
| | | | | Step arg without a start arg was ignored. | ||||
* | Add keyword arg support to itertools.repeat(). | Raymond Hettinger | 2009-02-19 | 1 | -7/+6 |
| | |||||
* | Add keyword arg support to itertools.compress(). | Raymond Hettinger | 2009-02-19 | 1 | -6/+4 |
| | |||||
* | Py3k warnings now automatically include -Qwarn for division. | Raymond Hettinger | 2009-02-18 | 1 | -0/+2 |
| | |||||
* | Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0, | Hirokazu Yamamoto | 2009-02-17 | 1 | -2/+2 |
| | | | | The file was resized to wrong size. | ||||
* | Issue #5292: Fixed mmap crash on its boundary access m[len(m)]. | Hirokazu Yamamoto | 2009-02-17 | 1 | -2/+2 |
| | |||||
* | PyList_Append() can fail | Benjamin Peterson | 2009-02-16 | 1 | -2/+4 |
| | |||||
* | fix compiler warnings | Benjamin Peterson | 2009-02-16 | 1 | -5/+5 |
| | |||||
* | Add GC support to count() objects. Backport candidate. | Raymond Hettinger | 2009-02-16 | 1 | -4/+14 |
| | |||||
* | Add keyword argument support to itertools.count(). | Raymond Hettinger | 2009-02-14 | 1 | -6/+5 |
| | |||||
* | Fix warnings GCC emits where the argument of PyErr_Format is a single variable. | Georg Brandl | 2009-02-13 | 1 | -6/+8 |
| | |||||
* | - Issue #3745: Fix hashlib to always reject unicode and non buffer-api | Gregory P. Smith | 2009-02-13 | 8 | -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 Hettinger | 2009-02-12 | 1 | -4/+3 |
| | |||||
* | Issue 5032: added a step argument to itertools.count() and allowed ↵ | Raymond Hettinger | 2009-02-12 | 1 | -33/+86 |
| | | | | non-integer arguments. | ||||
* | Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even | Gregory P. Smith | 2009-02-11 | 1 | -2/+8 |
| | | | | on LP64 platforms (most 64-bit Linux, bsd, unix systems). | ||||
* | Issue#5203: ctypes segfaults when passing a unicode string to a | Thomas Heller | 2009-02-10 | 1 | -0/+1 |
| | | | | function without argtypes, if HAVE_USABLE_WCHAR_T is false. | ||||
* | Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for | Mark Dickinson | 2009-02-10 | 1 | -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ónsson | 2009-02-10 | 2 | -2/+126 |
| | | | | Windows, and stop using global runtime settings to silence the warnings / assertions. | ||||
* | Enforcing Tk 8.3.1 requirement. | Guilherme Polo | 2009-02-09 | 1 | -2/+2 |
| | |||||
* | Fixed issue #5122: Synchronize tk load failure check to prevent a | Guilherme Polo | 2009-02-09 | 3 | -30/+122 |
| | | | | potential deadlock. | ||||
* | Issue 5171: itertools.product docstring missing 'repeat' argument | Raymond Hettinger | 2009-02-09 | 1 | -0/+3 |
| | |||||
* | Issue #4512 closeout: Make ZipImport.get_filename() a public method | Nick Coghlan | 2009-02-08 | 1 | -3/+3 |
| | |||||
* | Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that will | Guilherme Polo | 2009-02-06 | 1 | -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 calling | Guilherme Polo | 2009-02-06 | 1 | -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ónsson | 2009-02-04 | 1 | -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 Heller | 2009-02-03 | 3 | -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 #1581476 | Guilherme Polo | 2009-02-02 | 1 | -2/+1 |
| | |||||
* | - Issue #5104: The socket module now raises OverflowError when 16-bit port and | Gregory P. Smith | 2009-01-31 | 1 | -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 #3880 | Benjamin Peterson | 2009-01-30 | 1 | -1/+3 |
| |