| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fix a ref leak.
|
| |
|
|
|
|
|
| |
containing an encoding declaration is compile()d. Fixes
#1115379.
|
|
|
|
| |
by Coverity.
|
| |
|
|
|
|
|
| |
checked. Problem when 'warnings' was set to "error" and thus would re-raise a
new exception.
|
|
|
|
| |
signed and unsigned types in comparison.
|
|
|
|
|
|
|
|
|
| |
Patch 1413181, by Gabriel Becedillas.
PyThreadState_Delete(): if the auto-GIL-state machinery knows about
the thread state, forget it (since the thread state is being deleted,
continuing to remember it can't help, but can hurt if another thread
happens to get created with the same thread id).
|
| |
|
|
|
|
| |
silence compiler warnings on gcc 4.0.1 .
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
SF Bug #1350188, "setdlopenflags" leads to crash upon "import"
It was possible dlerror() returns a NULL pointer, use a default error
message in this case.
|
| |
|
|
|
|
| |
Fix SF bug #976608, Unhelpful error message when mtime of a module is -1
|
|
|
|
|
|
| |
SF bug #887946, segfault if redirecting directory
Also provide a warning if a directory is passed on the command line.
Add minimal command line test.
|
|
|
|
|
| |
Fix segfault with invalid coding.
(See SF bug: 772896 for another fix)
|
|
|
|
|
|
|
|
| |
[ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code)
(note that this only happens in a threads-disabled build).
Will forward port momentarily.
|
|
|
|
|
|
|
|
|
|
| |
Fix bug:
[ 1163563 ] Sub threads execute in restricted mode
basically by fixing bug 1010677 in a non-broken way.
Backport candidate.
|
|
|
|
| |
with an exception currently set!
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
evaluating keyword arguments.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Python/getargs.c
CVS: ----------------------------------------------------------------------
|
|
|
|
|
| |
with IBM's 64-bit compiler (SF patch #1284289). This also closes SF
bug #105470: test_pwd fails on 64bit system (Opteron).
|
|
|
|
|
| |
- Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #1225212).
|
|
|
|
| |
in sys.modules.
|
|
|
|
| |
(fixes #1119418).
|
| |
|
|
|
|
|
|
| |
Fix over-aggressive PyErr_Clear(). The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple().
|
|
|
|
|
|
|
| |
restores the tracing of a 'return' event for exceptions that cause a function
to exit. Also, update the unit test.
I will port to Python 2.5.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fix:
[ 1176893 ] Readline segfault
by unsilly-ing PyGILState_Release().
Backport candidate.
|
|
|
|
| |
fixes the crash seen in bug #1165761
|
| |
|
|
|
|
| |
support for posix semaphores.
|
|
|
|
| |
numbers in PyLong_AsLongLong, and update test suite accordingly.
|
| |
|
|
|
|
| |
Close the discussion in SF bug 1069160.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
immediately segfaults, due to a typo!
|
|
|
|
|
|
|
|
|
| |
Improve signal handling, especially when using threads, by forcing an early
re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not
cleared by Py_MakePendingCalls().
M Misc/NEWS
M Python/ceval.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyGILState_Ensure(): The fix in 2.4a3 for bug 1010677 reintroduced thread
shutdown race bug 225673. Repaired by (once again) ensuring the GIL is
held whenever deleting a thread state.
Alas, there's no useful test case for this shy bug. Four years ago, only
Guido could provoke it, on his box, and today only Armin can provoke it
on his box. I've never been able to provoke it (but not for lack of
trying!).
This is a critical fix for 2.3.5 too, since the fix for 1010677 got
backported there already and so also reintroduced 225673. I don't intend to
backport this fix. For whoever (if anyone) does, there are other thread
fixes in 2.4 that need backporting too, and I bet they need to happen first
for this patch to apply cleanly.
|
|
|
|
| |
There is no test for this change, because there is no way to provoke memory errors on demand. Test suite passes, though.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Contributed by Bob Ippolito.)
This patch trims down the Python core on Darwin by making it
independent of CoreFoundation and CoreServices. It does this by:
Changed linker flags in configure/configure.in
Removed the unused PyMac_GetAppletScriptFile
Moved the implementation of PyMac_StrError to the MacOS module
Moved the implementation of PyMac_GetFullPathname to the
Carbon.File module
|