- 15 Aug, 2006 2 commits
-
-
Neal Norwitz authored
Now we're even. :-)
-
Tim Peters authored
-
- 14 Aug, 2006 21 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
file correctly even on Windows.
-
Georg Brandl authored
when file is read-only.
-
Georg Brandl authored
raises the correct exceptions.
-
Georg Brandl authored
Add a test to test_inspect to make sure indented source is recognized correctly. (fixes #1224621)
-
Georg Brandl authored
-
Thomas Heller authored
-
Thomas Heller authored
Remove the -no-stack-protector compiler flag for OpenBSD as it has been reported to be unneeded.
-
Marc-André Lemburg authored
-
Georg Brandl authored
-
Marc-André Lemburg authored
-
Thomas Heller authored
ctypes instances no longer have the internal and undocumented '_as_parameter_' attribute which was used to adapt them to foreign function calls; this mechanism is replaced by a function pointer in the type's stgdict. In the 'from_param' class methods, try the _as_parameter_ attribute if other conversions are not possible. This makes the documented _as_parameter_ mechanism work as intended. Change the ctypes version number to 1.0.1.
-
Marc-André Lemburg authored
Replace UnicodeDecodeErrors raised during == and != compares of Unicode and other objects with a new UnicodeWarning. All other comparisons continue to raise exceptions. Exceptions other than UnicodeDecodeErrors are also left untouched.
-
Thomas Heller authored
area because the size if unknown in source/callproc.c.
-
Thomas Heller authored
Fixes klockwork issues #188, #189.
-
Thomas Heller authored
Fixes klockwork issues #183, #184, #185.
-
Thomas Heller authored
Fixes klockwork issue #207.
-
Neal Norwitz authored
-
Neal Norwitz authored
about the best we can do is call PyErr_WriteUnraisable and go on. We won't be able to do the call below either, so verify delstr is valid.
-
Neal Norwitz authored
-
- 13 Aug, 2006 14 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
Klocwork 225-228
-
Neal Norwitz authored
Klocwork 281
-
Neal Norwitz authored
(Followup of Klocwork 274)
-
Neal Norwitz authored
Fix a bunch of refleaks in the init of the module. This would only be found when running python -v.
-
Neal Norwitz authored
Klocwork 341-342
-
Neal Norwitz authored
that PyString_AsString() returns a valid pointer. (The problem can arise when zlib.decompress doesn't return a string.) Klocwork 346
-
Neal Norwitz authored
Klocwork 180-181
-
Neal Norwitz authored
Fix a bunch of refleaks in the init of the module. This would only be found when running python -v.
-
Neal Norwitz authored
__oct__, __hex__ don't return a string. Klocwork 308
-
Neal Norwitz authored
to write the .pyc to NULL. Check results of PyList_GetItem() and PyModule_GetDict() are not NULL. Klocwork 282, 283, 285
-
Neal Norwitz authored
Should fix most of Klocwork 234-272.
-
Neal Norwitz authored
Verify that PyEval_Get{Globals,Locals} returned valid pointers. Klocwork 231-232
-
Neal Norwitz authored
-
- 12 Aug, 2006 3 commits
-
-
Neal Norwitz authored
were failing due to inappropriate clipping of numbers larger than 2**31 with new-style classes. (typeobject.c) In reviewing the code for classic classes, there were 2 problems. Any negative value return could be returned. Always return -1 if there was an error. Also make the checks similar with the new-style classes. I believe this is correct for 32 and 64 bit boxes, including Windows64. Add a test of classic classes too.
-
Neal Norwitz authored
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.
-
Georg Brandl authored
-