Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #6990: clear threading.local's key only after its thread state is removed: | Philip Jenvey | 2009-09-29 | 1 | -1/+1 |
| | | | | | | fixes local subclasses leaving old state around after a ref cycle GC which could be recycled by new locals (backported from r75123) | ||||
* | Issue #1040026: Fix os.times result on systems where HZ is incorrect. | Martin v. Löwis | 2008-12-13 | 1 | -9/+16 |
| | |||||
* | Backport of r64212 | Martin v. Löwis | 2008-12-13 | 1 | -0/+1 |
| | | | | Issue #1683: prevent forking from interfering in threading storage. | ||||
* | Issue #4228: Pack negative values the same way as 2.4 | Martin v. Löwis | 2008-12-13 | 1 | -6/+6 |
| | | | | in struct's L format. | ||||
* | #4317: Fix an Array Bounds Read in imageop.rgb2rgb8. | Amaury Forgeot d'Arc | 2008-11-18 | 1 | -1/+1 |
| | | | | Backport of r67266 | ||||
* | backport r67077 from the trunk: parser module now correctly validates ↵ | Benjamin Peterson | 2008-11-03 | 1 | -2/+2 |
| | | | | relative imports | ||||
* | Issue #4176: Pickle would crash the interpreter when a __reduce__ function | Amaury Forgeot d'Arc | 2008-10-30 | 1 | -26/+33 |
| | | | | | | | does not return an iterator for the 4th and 5th items. (sequence-like and mapping-like state) Backport of r67049. | ||||
* | Modify ctypes types with 'official' functions. Backport from trunk, | Thomas Heller | 2008-10-18 | 1 | -1/+1 |
| | | | | snv rev 59943 and 59946. | ||||
* | Issue #4046: Backport of issue #3312's patch: fixes two crashes in the sqlite3 | Gerhard Häring | 2008-10-08 | 2 | -3/+13 |
| | | | | module. | ||||
* | Fix a refleak introduced by r66678 (backport of r66700). | Brett Cannon | 2008-09-30 | 1 | -10/+1 |
| | |||||
* | backport r66689: imageop could segfault due to poor argument validation | Benjamin Peterson | 2008-09-30 | 1 | -160/+109 |
| | |||||
* | Fix issue #3547 for MingW, update comments (backport from trunk). | Thomas Heller | 2008-09-29 | 1 | -3/+5 |
| | |||||
* | Backport of r66677: _lsprof crasher when a bad external timer is used during | Brett Cannon | 2008-09-29 | 1 | -1/+10 |
| | | | | garbage collection of a Profiler object. | ||||
* | Fix issue #3547: ctypes is confused by bitfields of varying integer types | Thomas Heller | 2008-09-24 | 1 | -1/+1 |
| | | | | | | Reviewed by Fredrik Lundh and Skip Montanaro. Backport from trunk. | ||||
* | backport r66496: integer overflow in _hashopenssl #3886 | Benjamin Peterson | 2008-09-18 | 1 | -9/+42 |
| | |||||
* | Issue 1179: [CVE-2007-4965] Integer overflow in imageop module. | Guido van Rossum | 2008-08-19 | 2 | -12/+73 |
| | | | | Also fixes rgbimg module (just before it is removed from 2.6). | ||||
* | Backport of r64767 from trunk | Gregory P. Smith | 2008-08-17 | 1 | -0/+1 |
| | | | | | | Fixes Issue #3309: Fix bz2.BZFile iterator to release its internal lock properly when raising an exception due to the bz2file being closed. Prevents a deadlock. | ||||
* | Backport r65745: Issue #2222: Fixed reference leak when occured | Hirokazu Yamamoto | 2008-08-17 | 1 | -28/+26 |
| | | | | os.rename() fails unicode conversion on 2nd parameter. (windows only) | ||||
* | #3205: bz2 iterator fails silently on MemoryError | Georg Brandl | 2008-08-12 | 1 | -0/+1 |
| | | | | (backport from r65609) | ||||
* | (backport of r61652 and r61665 from trunk) | Gregory P. Smith | 2008-08-04 | 1 | -5/+14 |
| | | | | | Issue #1471: Arguments to fcntl.ioctl are no longer broken on 64-bit OpenBSD and similar platforms due to sign extension. | ||||
* | Security patches from Apple: prevent int overflow when allocating memory | Neal Norwitz | 2008-07-31 | 3 | -2/+22 |
| | |||||
* | Backport code from r65182: | Neal Norwitz | 2008-07-28 | 3 | -4/+10 |
| | | | | | | | | | Issue #2620: Overflow checking when allocating or reallocating memory was not always being done properly in some python types and extension modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been updated to perform better checks and places in the code that would previously leak memory on the error path when such an allocation failed have been fixed. | ||||
* | #Issue3088 in-progress: Race condition with instances of classes derived ↵ | Amaury Forgeot d'Arc | 2008-07-01 | 1 | -1/+4 |
| | | | | | | | | | | | | | from threading.local: When a thread touches such an object for the first time, a new thread-local __dict__ is created, and the __init__ method is run. But a thread switch can occur here; if the other thread touches the same object, it installs another __dict__; when the first thread resumes, it updates the dictionary of the second... This is the deep cause of the failures in test_multiprocessing involving "managers" objects. Backport of r64601. | ||||
* | #3157: Fix docstrings for cursor methods. | Georg Brandl | 2008-06-22 | 1 | -3/+3 |
| | |||||
* | Patch #2111: Avoid mmap segfault when modifying a PROT_READ block. | Martin v. Löwis | 2008-05-23 | 1 | -0/+4 |
| | |||||
* | fix issue2858: potential memory corruption when any of the bsddb.db.* | Gregory P. Smith | 2008-05-17 | 1 | -7/+5 |
| | | | | constructors raised an exception. backportes from trunk c63403. | ||||
* | Issue #2682: ctypes callback functions no longer contain a cyclic | Thomas Heller | 2008-04-25 | 3 | -51/+135 |
| | | | | | | reference to themselves. Backport from trunk. | ||||
* | Merge r62235 from trunk. | Gregory P. Smith | 2008-04-09 | 1 | -0/+4 |
| | | | | | Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive. It tried to allocate negative or zero memory. That fails. | ||||
* | Fix for Issue2515: Don't crash when trying to fetch data from a closed cursor. | Gerhard Häring | 2008-04-06 | 1 | -8/+10 |
| | |||||
* | Remove the advertising clause from the BSD license in timing.h. | Guido van Rossum | 2008-04-01 | 1 | -6/+3 |
| | | | | | I have the email trail to prove that George Neville-Neil approved this. (Backport of r62097.) | ||||
* | Backport #1442: report exception when startup file cannot be run. | Georg Brandl | 2008-03-29 | 1 | -0/+9 |
| | |||||
* | Backport r61450 from trunk: | Gregory P. Smith | 2008-03-18 | 1 | -2/+2 |
| | | | | | | | | Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) as uid and gid input to accept values >=2**31 as valid while still accepting negative numbers to pass -1 to chown for "no change". Fixes issue1747858. | ||||
* | Backport r61286 adding GC to the grouper for itertools.groupby() fixing ↵ | Raymond Hettinger | 2008-03-06 | 1 | -5/+15 |
| | | | | Issue 2246. | ||||
* | Fix deallocation of array objects when allocation ran out of memory. | Martin v. Löwis | 2008-02-15 | 1 | -0/+1 |
| | |||||
* | Added checks for integer overflows, contributed by Google. Some are | Martin v. Löwis | 2008-02-14 | 12 | -37/+269 |
| | | | | | only available if asserts are left in the code, in cases where they can't be triggered from Python code. | ||||
* | issue 2045: Infinite recursion when printing a subclass of defaultdict, | Amaury Forgeot d'Arc | 2008-02-08 | 1 | -1/+11 |
| | | | | | | if default_factory is set to a bound method. Backport of r60663. | ||||
* | Fix the way methods are created for the _ctypes.COMError exception | Thomas Heller | 2008-02-06 | 1 | -9/+19 |
| | | | | type; this fix is already in the trunk. | ||||
* | Backport r59862 (issue #712900): make long regexp matches interruptable | Guido van Rossum | 2008-02-04 | 1 | -0/+8 |
| | | | | by signals. | ||||
* | backport r60544 from trunk: | Gregory P. Smith | 2008-02-03 | 1 | -2/+6 |
| | | | | | | | | Merge this fix from the pybsddb tree: r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines Solved memory leak when using cursors with databases without environment. | ||||
* | Backport 60542: | Andrew MacIntyre | 2008-02-03 | 1 | -2/+2 |
| | | | | | The wrapper function is supposed to be for spawnvpe() so that's what we should call [this wrapper only available on OS/2]. | ||||
* | Revert rev. 59926, it breaks comtypes (I need to further examine this). | Thomas Heller | 2008-01-28 | 1 | -5/+0 |
| | |||||
* | #1940: make it possible to use curses.filter() before curses.initscr() | Georg Brandl | 2008-01-26 | 1 | -1/+10 |
| | | | | | as the documentation says. (backport from rev. 60322) | ||||
* | Invert the checks in get_[u]long and get_[u]longlong. The intent was | Thomas Heller | 2008-01-24 | 1 | -19/+15 |
| | | | | | to not accept float types; the result was that integer-like objects were not accepted. | ||||
* | Backport from trunk: | Thomas Heller | 2008-01-16 | 1 | -1/+1 |
| | | | | | | Fix a potential 'SystemError: NULL result without error'. NULL may be a valid return value from PyLong_AsVoidPtr. Also move an older ctypes NEWS item in the correct category. | ||||
* | Added NEWS entry, plus: | Thomas Heller | 2008-01-11 | 1 | -0/+5 |
| | | | | | | | | | | | | | | Merged revisions 59925 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes ........ r59925 | thomas.heller | 2008-01-11 20:34:06 +0100 (Fr, 11 Jan 2008) | 5 lines Raise an error instead of crashing with a segfault when a NULL function pointer is called. Will backport to release25-maint. ........ | ||||
* | Patch 1114: fix compilation of curses module on 64-bit AIX, and any other ↵ | Andrew M. Kuchling | 2008-01-08 | 1 | -25/+79 |
| | | | | LP64 platforms where attr_t isn't a C long | ||||
* | Fix bug #1301 -- a bad assert in _tkinter. | Guido van Rossum | 2008-01-03 | 1 | -3/+5 |
| | |||||
* | Backport of fix for issue 1695. | Brett Cannon | 2007-12-24 | 1 | -2/+2 |
| | |||||
* | Change ctypes version number to 1.0.3 (when Python 2.5.2 is released, | Thomas Heller | 2007-12-19 | 1 | -1/+1 |
| | | | | ctypes 1.0.3 will be also be released). | ||||
* | Issue #1642: Fix segfault in ctypes when trying to delete attributes. | Thomas Heller | 2007-12-18 | 2 | -0/+21 |
| |