[issue877121] configure detects incorrect compiler optimization

2010-08-18 Thread John Levon
John Levon added the comment: That's a little abrupt. Whilst it would be nice if the compiler had a correct return value, it occurs with multiple compilers, and I pointed you to a suitable workaround Python could employ. Even if Studio gets fixed, there are previous releases out there

[issue877121] configure detects incorrect compiler optimization

2010-08-18 Thread John Levon
John Levon added the comment: Even worse, a nasty hack was added just for Intel's compiler as seen in http://bugs.python.org/issue1162001 -- ___ Python tracker <http://bugs.python.org/iss

[issue4111] Add Systemtap/DTrace probes

2010-09-28 Thread John Levon
John Levon added the comment: Anatoly, see above. We have done exactly that. (Honestly, when I first wrote the changes, I saw them as too hacky to ever be accepted upstream). This name change seems frivolous and will indeed break existing scripts

[issue10201] Fix building of socket module under Solaris

2010-10-27 Thread John Levon
John Levon added the comment: This is not a bug in Solaris - the interfaces Python is trying to use are not standardized. (It's a reasonable RFE for Solaris to fully support these, though - I'll follow up on that.) WRT the patch, at least the PACKET_* defined would be better

[issue8852] _socket fails to build on OpenSolaris x64

2010-10-27 Thread John Levon
John Levon added the comment: The posted patch: better if the PACKET_* tests were just at the two missing ones rather than removing all of the ones that are actually there like PACKET_OUTGOING. -- ___ Python tracker <http://bugs.python.

[issue4111] Add Systemtap/DTrace probes

2010-11-25 Thread John Levon
John Levon added the comment: configure.in has: AC_MSG_RESULT([$with_dtrace]) ... AC_MSG_RESULT($with_dtrace) Why twice? It looks confusing. -- ___ Python tracker <http://bugs.python.org/issue4

[issue11016] Add S_ISDOOR to the stat module

2011-01-26 Thread John Levon
John Levon added the comment: Jesus, yes, it's totally possible that POSIX might define: (stat.S_IFSOCK + stat.S_IFIFO) to mean something other than S_IDOOR. However, the POSIX committee is always careful to respect existing usage. It's vanishingly unlikely that any attempt to do

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker <http://bugs.python.org/issue7946> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4434] Embedding into a shared library fails

2008-11-26 Thread John Levon
Changes by John Levon <[EMAIL PROTECTED]>: -- nosy: +movement ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4434> ___ ___ Python

[issue4434] Embedding into a shared library fails

2008-11-27 Thread John Levon
John Levon <[EMAIL PROTECTED]> added the comment: Besides, .so files should always declare their dependencies. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4434] Embedding into a shared library fails

2008-11-28 Thread John Levon
John Levon <[EMAIL PROTECTED]> added the comment: If Ubuntu wants to deliver a static libpython, it also needs to deliver static versions of the Python modules, or accept that they're not usable from a static libpython. It makes no sense at all to mix libpython.a with these .so fil

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-01-13 Thread John Levon
John Levon added the comment: This issue also affects Solaris (and in particular xend is broken). Is there a reason bamby's fix isn't yet applied? -- nosy: +movement title: signals in thread problem -> signals not always delivered to main thread, since other threads ha

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-01-13 Thread John Levon
John Levon added the comment: Yes, Python guarantees the behaviour under discussion: http://docs.python.org/library/signal.html ___ Python tracker <http://bugs.python.org/issue1

[issue4111] Add DTrace probes

2009-01-27 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker <http://bugs.python.org/issue4111> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4111] Add DTrace probes

2009-02-05 Thread John Levon
John Levon added the comment: I haven't seen "shorter than expected" message before, sounds like a Mac OS X specific thing. As for never getting any probes out, this is where it gets fun. Debugging this is very tricky indeed: it involves you dropping into the kernel debugger and

[issue4609] Allow use of > 256 FD's on solaris in 32 bit mode

2009-02-15 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker <http://bugs.python.org/issue4609> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3928] os.mknod missing on Solaris

2009-02-15 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker <http://bugs.python.org/issue3928> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2009-02-15 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker <http://bugs.python.org/issue3265> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-15 Thread John Levon
John Levon added the comment: Just came across this bug. _XOPEN_SOURCE_EXTENDED isn't the only sticking point here: neither XPG3 nor XPG4 have C99 either: _XOPEN_SOURCE (at least with a value below 600) is definitely wrong. To quote the header: "346 * It is invalid to compile an

[issue877121] configure detects incorrect compiler optimization

2009-02-15 Thread John Levon
John Levon added the comment: Yep, this is an annoying misfeature of Sun Studio. There is no way to affect this behaviour. There is a Sun Studio bug filed for this (-errwarn should affect this behaviour, but it doesn't). Here's some example m4 that libvirt uses to check this cas

[issue976613] socket timeout problems on Solaris

2009-02-15 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker <http://bugs.python.org/issue976613> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-15 Thread John Levon
John Levon added the comment: Python should define *only* __EXTENSIONS__, not the others, as Zooko already mentioned, for the reasons he mentioned. I'm not sure how you got a different impression from what I or he said. ___ Python tracker

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-16 Thread John Levon
John Levon added the comment: Zooko, the patches are available here: http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/ > Then you were arguing that defining _XOPEN_SOURCE is wrong if the value Actually, I was saying that below that value simply won't work

[issue37790] subprocess.Popen() is extremely slow

2019-08-15 Thread John Levon
Change by John Levon : -- nosy: +movement ___ Python tracker <https://bugs.python.org/issue37790> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37790] subprocess.Popen() is extremely slow (with close_fds=True which is the default) on Illumos

2020-04-24 Thread John Levon
John Levon added the comment: closefrom() is on both Solaris and illumos too - and might even have originated there as an API - so if that's the issue, it should be trivially fixable -- ___ Python tracker <https://bugs.python.org/is

[issue37790] subprocess.Popen() is sometimes slower in python3 under illumos

2020-05-19 Thread John Levon
John Levon added the comment: I checked, and the supposition this is due to lack of closefrom() doesn't seem to be correct. Running the test case and looking at 'truss' output, there is no large number of close() that one would expect if this was the issue. I don't se

[issue13405] Add DTrace probes

2012-01-19 Thread John Levon
John Levon added the comment: I would strongly suggest those of you who are not "getting it" to actually try Jesus's patch out in some real scenarios. You'll quickly see what the benefit is. I think some of you are missing that it's a *not* just about performance: it

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-07-29 Thread John Levon
John Levon added the comment: Any progress on this regression? A patch is available... thanks. -- ___ Python tracker <http://bugs.python.org/issue1975> ___ ___

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-12-14 Thread John Levon
John Levon added the comment: The spec broken is here: http://docs.python.org/library/signal.html Namely: # Some care must be taken if both signals and threads are used in the same program. The fundamental thing to remember in using signals and threads simultaneously is: always perform

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-12-15 Thread John Levon
John Levon added the comment: I still do not understand the objection you have to the simple patch which restores old behaviour, works the same across all OSes, and doesn't require new APIs. What is the objection? -- ___ Python tracker

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-12-15 Thread John Levon
John Levon added the comment: To quote Andriy in the first comment: "It doesn't bring any visible changes to readline behavior either." Are you saying this is not the case? -- ___ Python tracker <http://bugs.py

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-17 Thread John Levon
John Levon added the comment: > However, experience tells that systems can break in surprising ways > if the system headers are compiled with different defines. This is indeed a reasonable concern (for which the best solution is dropping the defines in the Python compile). > I do

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2009-02-28 Thread John Levon
John Levon added the comment: Surely readline is irrelevant anyway. The Python spec guarantees behaviour, and that guarantee is currently broken. ___ Python tracker <http://bugs.python.org/issue1

[issue4111] Add DTrace probes

2009-04-22 Thread John Levon
John Levon added the comment: Robert, I have no idea how Mac OS does pstack helpers without generating object files, sorry. > no simply pid$target:a.out:: probes available. Hmm. Try adding -Z to see if that helps. > /Users/rkern/hg/Python-2.5.4/Include/phelper.d: line 110: relo

[issue4111] Add DTrace probes

2009-04-22 Thread John Levon
John Levon added the comment: Yes, my mistake. I noticed this typo in the original patch: 207 +PyObject * 208 +PyEval_EvalFrameexEx(PyFrameObject *f, int throwflag)) Can you: - verify that HAVE_DTRACE is indeed defined for ceval.c - do an nm on ceval.o and look which Eval

[issue8864] multiprocessing: undefined struct/union member: msg_control

2010-05-31 Thread John Levon
John Levon added the comment: This appears to be one of the few cases where there's incompatibilities between different versions of the standards. Old BSD sockets use msg_accrights*, whereas the more modern way is msg_control* pointing to a struct cmsghdr. In terms of user/kernel inte

[issue8864] multiprocessing: undefined struct/union member: msg_control

2010-06-01 Thread John Levon
John Levon added the comment: Right, it should be one of the "official" ways of enabling that. -- ___ Python tracker <http://bugs.python.org/issue8864> ___ __

[issue8864] multiprocessing: undefined struct/union member: msg_control

2010-06-01 Thread John Levon
John Levon added the comment: defining _XOPEN_SOURCE=600 or similar is better, as Martin pointed out. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8864] multiprocessing: undefined struct/union member: msg_control

2010-06-01 Thread John Levon
John Levon added the comment: Yes, we would almost certainly want something similar. -- ___ Python tracker <http://bugs.python.org/issue8864> ___ ___ Python-bug

[issue8864] multiprocessing: undefined struct/union member: msg_control

2010-06-01 Thread John Levon
John Levon added the comment: It's not clear why you'd need configure tests, but you could easily add the define in the body of the autoconf test AFAIK - is there a reason this is difficult? -- ___ Python tracker <http://bugs.python.

[issue4434] Embedding into a shared library fails

2010-08-04 Thread John Levon
John Levon added the comment: Terry, what in the above discussion leads you to believe there is no bug? The original complaint "Python cannot be embedded in shared library due to dependency problems with lib-dynload" is still valid. -- status: pendi