- 23 Ock, 2007 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
frame's thread state. Fixes #1579370.
-
Thomas Wouters yazdı
SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize When running the interpreter in an environment that would cause it to set stdout/stderr/stdin's encoding, having a sitecustomize that would replace them with something other than PyFile objects would crash the interpreter. Fix it by simply ignoring the encoding-setting for non-files. This could do with a test, but I can think of no maintainable and portable way to test this bug, short of adding a sitecustomize.py to the buildsystem and have it always run with it (hmmm....)
-
- 06 Ock, 2007 1 kayıt (commit)
-
-
Anthony Baxter yazdı
-
- 05 Ock, 2007 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Prevent crash on shutdown which can occur if we are finalizing and the module dict has been cleared already and some object raises a warning (like in a __del__).
-
- 29 Kas, 2006 1 kayıt (commit)
-
-
Armin Rigo yazdı
-
- 04 Kas, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Bug #1588287: fix invalid assertion for `1,2` in debug builds.
-
- 28 Eki, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
Fix bug #1565514, SystemError not raised on too many nested blocks. It seems like this should be a different error than SystemError, but I don't have any great ideas and SystemError was raised in 2.4 and earlier.
-
Neal Norwitz yazdı
Add some asserts. In sysmodule, I think these were to try to silence some warnings from Klokwork. They verify the assumptions of the format of svn version output. The assert in the thread module helped debug a problem on HP-UX.
-
- 27 Eki, 2006 2 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
[Bug #1542016] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring. Backport candidate. Though it's an API change, this is a pretty obscure portion of the API.
-
Martin v. Löwis yazdı
Patch #1549049: Rewrite type conversion in structmember. Fixes #1545696 and #1566140. The new warnings have been omitted in the backport.
-
- 08 Eki, 2006 2 kayıt (commit)
-
-
Georg Brandl yazdı
(backport from rev. 52129)
-
Georg Brandl yazdı
(backport from rev. 51439)
-
- 04 Eki, 2006 1 kayıt (commit)
-
-
Armin Rigo yazdı
* unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c. * 2.5 specific: fixed a number of places that were still confusing int and Py_ssize_t. Some of them could potentially have caused "real-world" breakage. * list.pop(x): fixing overflow issues on x was messy. I just reverted to PyArg_ParseTuple("n"), which does the right thing. (An obscure test was trying to give a Decimal to list.pop()... doesn't make sense any more IMHO) * trying to write a few tests...
-
- 25 Eyl, 2006 2 kayıt (commit)
-
-
Georg Brandl yazdı
Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)). These tests should be improved. Hopefully this fixes variations when flipping back and forth between fpdef and fplist.
-
Georg Brandl yazdı
-
- 11 Eyl, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
_PyGILState_NoteThreadState was declared as static inconsistently. Make it static as it's not necessary outside of this module. Some tests failed because errno was reset to 0. (I think the tests that failed were at least: test_fcntl and test_mailbox). Ensure that errno doesn't change after a call to Py_END_ALLOW_THREADS. This only affected debug builds. This needs to be ported to HEAD. I'll try to remember to do that tomorrow. (Anyone, feel free to port it.)
-
Neal Norwitz yazdı
Klocwork #364. Will port to head.
-
- 06 Eyl, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
imports (if not in package and if beyond toplevel package). (backport from rev. 51765)
-
- 05 Eyl, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
generator expressions (x for x, in ... ) works again. Sigh, I only fixed for loops the first time, not list comps and genexprs too. I couldn't find any more unpacking cases where there is a similar bug lurking.
-
Neal Norwitz yazdı
-
- 21 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Handle a few more error conditions. Klocwork 301 and 302. Will backport.
-
- 13 Agu, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
to write the .pyc to NULL. Check results of PyList_GetItem() and PyModule_GetDict() are not NULL. Klocwork 282, 283, 285
-
Neal Norwitz yazdı
Verify that PyEval_Get{Globals,Locals} returned valid pointers. Klocwork 231-232
-
- 12 Agu, 2006 8 kayıt (commit)
-
-
Neal Norwitz yazdı
I modified this patch some by fixing style, some error checking, and adding XXX comments. This patch requires review and some changes are to be expected. I'm checking in now to get the greatest possible review and establish a baseline for moving forward. I don't want this to hold up release if possible.
-
Neal Norwitz yazdı
Klocwork #298-299.
-
Neal Norwitz yazdı
Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed
-
Neal Norwitz yazdı
Klocwork #233
-
Neal Norwitz yazdı
However, there was no error checking that PyFloat_FromDouble returned a valid pointer. I believe this change is correct as it seemed to follow other code in the area. Klocwork # 292.
-
Neal Norwitz yazdı
So be safe and do an XINCREF. Klocwork # 221-222.
-
Neal Norwitz yazdı
there was no verification that privateobj was a PyString. If it wasn't a string, this could have allowed a NULL pointer to creep in below and crash. I wonder if this should be PyString_CheckExact? Must identifiers be strings or can they be subclasses? Klocwork #275
-
Neal Norwitz yazdı
This is the first batch of fixes that should be easy to verify based on context. This fixes problem numbers: 220 (ast), 323-324 (symtable), 321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree).
-
- 10 Agu, 2006 1 kayıt (commit)
-
-
Tim Peters yazdı
PyThreadState_SetAsyncExc(): internal correctness changes wrt refcount safety and deadlock avoidance. Also added a basic test case (relying on ctypes) and repaired the docs.
-
- 09 Agu, 2006 2 kayıt (commit)
-
-
Armin Rigo yazdı
-
Georg Brandl yazdı
C argument format strings; fixes rest of #1523610.
-
- 06 Agu, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
sys.stdin is closed.
-
- 04 Agu, 2006 4 kayıt (commit)
-
-
Thomas Heller yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
in the byte code and co_consts even if they were not used, ie immediately popped off the stack.
-
Neal Norwitz yazdı
on each iteration. I'm not positive this is the best way to handle this. I'm also not sure that there aren't other cases where the lnotab is generated incorrectly. It would be great if people that use pdb or tracing could test heavily. Also: * Remove dead/duplicated code that wasn't used/necessary because we already handled the docstring prior to entering the loop. * add some debugging code into the compiler (#if 0'd out).
-
- 30 Tem, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-