New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation --without-threads fails #49285
Comments
libpython2.7.a(object.o): In function |
The problem seems to have appeared with: [svn r67802] bpo-3632: the "pyo" macro from gdbinit can now run when the Patch by haypo. diff -r 68d511e1c4bc -r 584e97b40be9 Objects/object.c
--- a/Objects/object.c Mon Dec 15 22:47:57 2008 +0100
+++ b/Objects/object.c Mon Dec 15 23:29:14 2008 +0100
@@ -331,8 +331,11 @@
if (op == NULL)
fprintf(stderr, "NULL\n");
else {
+ PyGILState_STATE gil;
fprintf(stderr, "object : ");
+ gil = PyGILState_Ensure();
(void)PyObject_Print(op, stderr, 0);
+ PyGILState_Release(gil);
/* XXX(twouters) cast refcount to long until %zd is
universally available */
fprintf(stderr, "\n" |
Oops, here is a fix for my regression. |
Why is PyGILState_Ensure() defined in Include/pystate.h in there is not |
Another patch to fix _sqlite without thread support. |
_multiprocessing modules doesn't compile but I don't know how to fix it:
|
Here is a patch to remove the unused _save argument of conn_poll() |
There is already a separate issue for multiprocessing compilation: bpo-3807 |
Victor - there is already another bug and a pending patchbto fix |
I've committed the fix for bpo-3807 to resolve the mp issues. |
Python trunk is still broken --without-threads. The multiprocessing |
Updated and completed patch for _sqlite module (python trunk). |
New patch _tkinter_nothread.patch: fix gcc warnings in _tkinter. |
Victor, I have changed your tkinter patch a bit and applied on r70641. The issue is marking only python 2.7 right now, aren't these changes |
gpolo> Victor, I have changed your tkinter patch a bit and applied on r70641. Ok, thanks. gpolo> The issue is marking only python 2.7 right now, aren't these changes Since it only fixes warnings, we don't have to "fix" *-maint versions. But I |
_tkinter patch (r70641) was backported to py3k as r70707. py3k compiles fine without threads. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: