[issue40512] [subinterpreters] Meta issue: per-interpreter GIL

2022-03-05 Thread Jon Parise
Change by Jon Parise : -- nosy: +jon ___ Python tracker <https://bugs.python.org/issue40512> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2014-01-25 Thread Jon Parise
Changes by Jon Parise : -- nosy: -jon ___ Python tracker <http://bugs.python.org/issue5755> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue12924] Missing call to quote_plus() in test_urllib.test_default_quoting()

2011-09-06 Thread Jon Parise
New submission from Jon Parise : test_default_quoting() runs a number of identical tests on both quote() and quote_plus() (which is most cases have equivalent behavior). However, at the end of the method, there appears to be a missing complementary call to quote_plus() despite there being an

[issue5755] "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++"

2011-04-08 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker <http://bugs.python.org/issue5755> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10194] Add gc.remap() function to the gc module.

2010-10-25 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker <http://bugs.python.org/issue10194> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9622] Allow to set profile/trace function globally

2010-08-17 Thread Jon Parise
Jon Parise added the comment: There are a few places in the patch where you call the global version immediately followed by the local version. For example: +PyEval_SetGlobalTrace(NULL, NULL); PyEval_SetTrace(NULL, NULL); Isn't the local call now redundant given tha

[issue7373] Use PyModule_AddIntMacro() in Modules/gcmodule.c

2009-11-21 Thread Jon Parise
Jon Parise added the comment: That's true. I thought it worked the same as the ADD_INT() macro I replaced, but I see that I was wrong. Given that, perhaps the original code is best. I don't see a lot of value in replacing PyModule_AddIntConstant() with PyModule_AddIntMacro() with

[issue7373] Use PyModule_AddIntMacro() in Modules/gcmodule.c

2009-11-21 Thread Jon Parise
Changes by Jon Parise : Added file: http://bugs.python.org/file15379/gc_macros-py3k.patch ___ Python tracker <http://bugs.python.org/issue7373> ___ ___ Python-bugs-list m

[issue7373] Use PyModule_AddIntMacro() in Modules/gcmodule.c

2009-11-21 Thread Jon Parise
New submission from Jon Parise : The attached patch uses PyModule_AddIntMacro() to register the gc module's constants instead of using a local ADD_INT() macro. -- components: Interpreter Core files: gc_macros-trunk.patch keywords: patch messages: 95589 nosy: jon severity: normal s

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2009-10-11 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker <http://bugs.python.org/issue7105> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-10-11 Thread Jon Parise
Changes by Jon Parise : -- nosy: +jon ___ Python tracker <http://bugs.python.org/issue7060> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue7025] Python 3.1 and 3.2 (dev) opensearch.xml still references 3.0

2009-09-30 Thread Jon Parise
New submission from Jon Parise : The _static/opensearch.xml output on docs.python.org for the 3.1 and 3.2 (dev/py3k) branches still refers to the 3.0 documentation. Doc/conf.py's html_use_opensearch value should be updated in those source branches to reflect their updated version nu

[issue7004] Py_RETURN_BOOL() convenience macro

2009-09-27 Thread Jon Parise
Jon Parise added the comment: I agree, as well. I didn't consider PyBool_FromLong() because I was expecting to solve the problem using a macro, but that is clearly not the best approach here (insignificant function call overhead

[issue7004] Py_RETURN_BOOL() convenience macro

2009-09-26 Thread Jon Parise
Jon Parise added the comment: Also attached is a small documentation patch. -- Added file: http://bugs.python.org/file14984/Py_RETURN_BOOL.doc.patch ___ Python tracker <http://bugs.python.org/issue7

[issue7004] Py_RETURN_BOOL() convenience macro

2009-09-26 Thread Jon Parise
Jon Parise added the comment: Also attached is a short set of examples of how this macro could be used in the Python source tree. -- Added file: http://bugs.python.org/file14983/Py_RETURN_BOOL.examples.patch ___ Python tracker <h

[issue7004] Py_RETURN_BOOL() convenience macro

2009-09-26 Thread Jon Parise
New submission from Jon Parise : I've sometimes found it useful to define a convenience macro named Py_RETURN_BOOL(x) which is essentially: #define Py_RETURN_BOOL(x) if (x) Py_RETURN_TRUE; else Py_RETURN_FALSE It's useful for implementing functions which return Boolean values based

[issue6819] Typo in datamodel.rst ("Custon" -> "Custom")

2009-09-01 Thread Jon Parise
New submission from Jon Parise : reference/datamodel.rst misspells "Custom" as "Custon". The attached patch fixes that. -- assignee: georg.brandl components: Documentation files: datamodel.custon.diff keywords: patch messages: 92157 nosy: georg.brandl, jon severity: