[issue12969] Command 'open(0, wb).close()' cause crash of Python interpreter [interactive mode]

2011-09-13 Thread Jiří Kučera
New submission from Jiří Kučera sanc...@gmail.com: Invoking the `close' method of `_io.BufferedWriter' instance created by `open(0,wb)' command cause the Python interpreter crash. Python interpreter info: mode: interactive version info: Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC

[issue12969] Command 'open(0, wb).close()' cause crash of Python interpreter [interactive mode]

2011-09-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +IO nosy: +benjamin.peterson, ezio.melotti, pitrou, stutzbach stage: - test needed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12969

[issue12936] armv5tejl: random segfaults in getaddrinfo()

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The failure was introduced by issue #12655. I attach a minimal script to reproduce the segfault. -- nosy: +benjamin.peterson Added file: http://bugs.python.org/file23138/crash.py ___ Python

[issue12936] armv5tejl: random segfaults in getaddrinfo()

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: And here's a full backtrace of crash.py: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x400225f0 (LWP 633)] 0x40011d20 in __tls_get_addr () from /lib/ld-linux.so.2 (gdb) bt #0 0x40011d20 in __tls_get_addr

[issue1813] Codec lookup failing under turkish locale

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: https://bugzilla.redhat.com/show_bug.cgi?id=726536 claims that the glibc issue (which is relevant for skipping the test case) is fixed in glibc-2.14.90-8. I suspect the only way of running the test case reliably is whitelisting a couple

[issue1172711] long long support for array module

2011-09-13 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1172711 ___ ___

[issue1172711] long long support for array module

2011-09-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Yes, please let's not add any new __int__-based duck typing here; IMO, we should be moving away from such uses of __int__. I'd be fine with __index__ based duck-typing. -- ___ Python tracker

[issue7201] double Endian problem and more on arm

2011-09-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I don't think it is practical to support both ABIs. I suspect you're right. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7201 ___

[issue12969] Command 'open(0, wb).close()' cause crash of Python interpreter [interactive mode]

2011-09-13 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Under Python 3, open(integer) tries to open a file descriptor. So, f=open(0,...); f.close() closes stdin, rightly shutting down the interpreter. It is not a crash, it is a shutdown. Tested under Linux. The point is if opening a file descriptor

[issue12969] Command 'open(0, wb).close()' cause crash of Python interpreter [interactive mode]

2011-09-13 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: In help(open) I see this: file is either a text or byte string giving the name (and the path if the file isn't in the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If

[issue12936] armv5tejl: random segfaults in getaddrinfo()

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The failure was introduced by issue #12655 Wow, great job! crash.py looks like a libc and/or kernel bug. Can you try the glibc 2.14 (released the 2011-05-31)? You should first check if it is not a duplicate of

[issue12915] Add inspect.locate and inspect.resolve

2011-09-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: In addition, error handling/reporting is not trivial to get right. We’ve had to fix the code in distutils2 and it’s still not quite right (#12703). I opened this report because I’d like to see all stdlib modules use the same functions and I’d

[issue5845] rlcompleter should be enabled automatically

2011-09-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: FTR, I tried checking sys.ps1 instead of argv but it’s the same problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___

[issue12785] list_distinfo_file is wrong

2011-09-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I have added tests to make sure the return value (depending on the local parameter) is correct. Please test when you have a free slot. If it fails, the usual line after the XXX comment should be deleted and the test re-run. -- Added

[issue12785] list_distinfo_file is wrong

2011-09-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file22948/fix-list_distinfo_files.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12785 ___

[issue12785] list_distinfo_file is wrong

2011-09-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23065/fix-list_distinfo_files-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12785 ___

[issue12967] AttributeError distutils\log.py

2011-09-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: When will it raise an AttributeError? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12967 ___

[issue12969] Command 'open(0, wb).close()' cause crash of Python interpreter [interactive mode]

2011-09-13 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: fd support is intentional, see Modules/_io/_iomodule.c:318 OTOH closing sys.stdin doesn't exit Python, so I'm not sure why closing fd 0 should. I was also thinking about possible security implications of this, but if someone tries to

[issue12970] os.wlak() consider some symlinks as dirs instead of non-dirs

2011-09-13 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: Consider code: for (root, dirs, nondirs) in os.walk(path, followlinks=False): print (nondirs) This code will not print symlinks that refer to some dir. I think it is the bug. In other words: If followlinks is True, we should

[issue12970] os.wlak() consider some symlinks as dirs instead of non-dirs

2011-09-13 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12970 ___ ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-09-13 Thread sbt
sbt shibt...@gmail.com added the comment: Here is a patch which adds the following functions: forking_disable() forking_enable() forking_is_enabled() set_semaphore_prefix() get_semaphore_prefix() To create child processes using fork+exec on Unix, call forking_disable() at the

[issue12970] os.wlak() consider some symlinks as dirs instead of non-dirs

2011-09-13 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: Also, there is some mis-optimisation for followlinks=False: stat() and then lstat() will be called. Instead of one lstat(). Code may be rewritten as (but I don't know about cross-platform issues): - if

[issue12971] os.isdir() should contain skiplinks=False in arguments

2011-09-13 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: When skiplinks is False (by default), it should as in current implementation, i.e. using stat(). if skiplinks is True, isidr() should use lstat() and same logick. If one will be implemented, os.walk() should be patched (see issue12970)

[issue12970] os.walk() consider some symlinks as dirs instead of non-dirs

2011-09-13 Thread Марк Коренберг
Changes by Марк Коренберг socketp...@gmail.com: -- title: os.wlak() consider some symlinks as dirs instead of non-dirs - os.walk() consider some symlinks as dirs instead of non-dirs ___ Python tracker rep...@bugs.python.org

[issue12968] vvccc留查!!!

2011-09-13 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12968 ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-09-13 Thread sbt
Changes by sbt shibt...@gmail.com: Removed file: http://bugs.python.org/file23141/mp_fork_exec.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___

[issue8713] multiprocessing needs option to eschew fork() under Linux

2011-09-13 Thread sbt
sbt shibt...@gmail.com added the comment: Small fix to patch. -- Added file: http://bugs.python.org/file23142/mp_fork_exec.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___

[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

2011-09-13 Thread Alan McIntyre
Alan McIntyre alan.mcint...@gmail.com added the comment: I also can't see any file operations that might occur between the two .tell() calls, and a full test pass (including test_zipfile64) on the py3k development branch doesn't turn up any problems on Linux (2.6.38, x86_64) for me, so I

[issue12301] Use :role:`sys.thing` instead of ``sys.thing`` throughout

2011-09-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Alright, I’ll propose piecemeal patches. Georg, two questions: 1) In the tutorial, should classes with no target use ``MyClass`` or :class:`!MyClass`? 2) Should file extensions use ``.py`` or :file:`.py`? We currently have both. --

[issue1739648] zipfile.testzip() using progressive file reads

2011-09-13 Thread Alan McIntyre
Alan McIntyre alan.mcint...@gmail.com added the comment: I re-checked testzip-patch3.diff since some time has passed since I last commented on it, and it still seems to work ok (the small test_zipfile.py block failed to apply, but that's easy enough to do manually). Passes full test run,

[issue1757072] Zipfile robustness

2011-09-13 Thread Alan McIntyre
Alan McIntyre alan.mcint...@gmail.com added the comment: So far I haven't had the opportunity to sit down and write up a lenient zipfile handling patch; my apologies to those that could really use one. If somebody does propose a patch, I'll be glad to test and review it. I suppose I would

[issue12397] re match object methods have no docstrings

2011-09-13 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12397 ___ ___ Python-bugs-list

[issue12936] armv5tejl: random segfaults in getaddrinfo()

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I wonder whether it is http://sources.redhat.com/bugzilla/show_bug.cgi?id=12453. The demo script from there crashes both on debian-arm and Ubuntu Lucid, but this specific segfault only occurs on debian arm. Attached is a minimal C test

[issue11473] upload command no longer accepts repository by section name

2011-09-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is a strange bug. I added a test using -r server2, using the already-existing PYPIRC_LONG_PASSWORD string as .pypirc contents. The test passes. To make sure changing one test would not affect another one, I created a new .pypirc file,

[issue12301] Use :role:`sys.thing` instead of ``sys.thing`` throughout

2011-09-13 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Basically, :class:`!Foo` has no advantage over ``Foo``. The no-linking syntax is really only there for completeness, but I would prefer the plainer and easier to read (in source) ``Foo``. For files, :file: really only has an advantage if you do

[issue12972] Color prompt + readline

2011-09-13 Thread Damian
New submission from Damian atag...@gmail.com: Hi, when using terminal coloring codes (for instance '\x1b[32mhello world\x1b[0m' for a green 'hello world') the raw_input function and readline module behave well except under a very specific use case...

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I think I got it: pthread_setaffinity_np() does not crash. `man sched_setaffinity` is slightly ambiguous, but there is this remark: (If you are using the POSIX threads API, then use pthread_setaffinity_np(3) instead of

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: I think I got it: pthread_setaffinity_np() does not crash. Nice. Out of curiosity, I just looked at the source code, and it just does sched_setaffinity(thread-tid), so you can do the same with sched_setaffinity(syscall(SYS_gettid))

[issue1172711] long long support for array module

2011-09-13 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Yes, please let's not add any new __int__-based duck typing here; Mark, just to clarify a bit, the behavior is already there in the array module (by way of 'PyLong_AsLong'). The fact that it is there was picked up on a code review for this

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: However, I don't think we should/could add this to the posix module: it expects a pthread_t instead of a PID, to which we don't have access. We already have such function:

[issue12785] list_distinfo_file is wrong

2011-09-13 Thread Jeremy Kloth
Jeremy Kloth jeremy.kloth+python-trac...@gmail.com added the comment: The attached patch seems to work as-is. That is, just testing for `self.path` as the prefix. On Windows, at least, the paths in RECORD are always absolute. Further changes will be necessary, of course, once changes for

[issue1172711] long long support for array module

2011-09-13 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Mark, just to clarify a bit, the behavior is already there in the array module Okay, understood. But the new 'long long' support provided by this patch still allows for __int__-based duck typing, right? array('Q', [1, 2, Decimal(3.2)])

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Charles-François Natali rep...@bugs.python.org wrote: Out of curiosity, I just looked at the source code, and it just does sched_setaffinity(thread-tid), so you can do the same with sched_setaffinity(syscall(SYS_gettid)) for the

[issue12973] int_pow() implementation is incorrect

2011-09-13 Thread Adam
New submission from Adam a...@netbsd.org: int_pow() (from Objects/intobject.c) shows incorrect results when Python is compiled with Clang (llvm.org); long story short: int_pow() function should use 'unsigned long' type instead of 'long' or some code gets optimised out. Please, refer to this

[issue12973] int_pow() implementation is incorrect

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I think this is related to issue #11149. Can you try compiling with -fwrapv? -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12973

[issue12720] Expose linux extended filesystem attributes

2011-09-13 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: There is an inconsistency in used header and library. attr/xattr.h and libattr.so belong to attr package (http://savannah.nongnu.org/projects/attr). glibc provides sys/xattr.h and libc.so. Both libattr.so and libc.so

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: If we have access (and as I understood from Victor's post we do): pthread_getaffinity_np() also exists on FreeBSD, which would be an advantage. Yes, but I see several drawbacks: - as noted by Victor, it's really easy to crash the

[issue12720] Expose linux extended filesystem attributes

2011-09-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 33f7044b5682 by Benjamin Peterson in branch 'default': Use xattr functions from sys/xattr.h instead of attr/xattr.h (closes #12720) http://hg.python.org/cpython/rev/33f7044b5682 -- resolution: - fixed

[issue12973] int_pow() implementation is incorrect

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I can reproduce your results with a recent clang. gcc has similar optimization behavior, but for gcc ./configure automatically adds -fwrapv, which prevents the incorrect results. I'm closing this as a duplicate of #11149. --

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +a...@netbsd.org, skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11149 ___ ___

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Recent clang and Python2.7 (without the patch): Python 2.7.2+ (2.7:e8d8eb9e05fd, Sep 14 2011, 00:35:51) [GCC 4.2.1 Compatible Clang 3.0 (trunk 139637)] on freebsd8 Type help, copyright, credits or license for more information. 2**63

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: as noted by Victor, it's really easy to crash the interpreter by passing an invalid thread ID, which IMHO, should be avoided at all cost Do you mean that signal.pthread_kill() should be removed? This function is very useful and

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Recent clang and Python2.7 (without the patch): 2**64 0 Does the test suite catch this bug? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11149

[issue12946] PyModule_GetDict() claims it can never fail, but it can

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: So, can we close this issue? -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12946 ___

[issue8828] Atomic function to rename a file

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: According to the following article, a fsync is also needed on the directory after a rename. I don't understand if is it always needed for an atomic rename, or if we only need it for the atomic write pattern.

[issue12960] threading.Condition is not a class

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: According to http://docs.python.org/library/threading.html#condition-objects, threading.Condition is a class. Nope, it's a factory, and it's written in the doc: threading.Condition() A factory function that returns a new

[issue10968] threading.Timer should be a class so that it can be derived

2011-09-13 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @eric: The doc has to be updated: http://docs.python.org/dev/library/threading.html#threading.activeCount threading.Condition() A factory function that returns a new condition variable object. A condition variable allows one or

[issue12960] threading.Condition is not a class

2011-09-13 Thread Nikolaus Rath
Nikolaus Rath nikol...@rath.org added the comment: On 09/13/2011 07:41 PM, STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: According to http://docs.python.org/library/threading.html#condition-objects, threading.Condition is a class. Nope, it's a

[issue12930] reindent.py inserts spaces in multiline literals

2011-09-13 Thread Caio Romão
Changes by Caio Romão caioro...@gmail.com: Removed file: http://bugs.python.org/file23118/caioromao-fix-12930-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12930 ___

[issue12930] reindent.py inserts spaces in multiline literals

2011-09-13 Thread Caio Romão
Caio Romão caioro...@gmail.com added the comment: Third version, with slightly less code and my name added to the Misc/ACKS file. -- Added file: http://bugs.python.org/file23146/caioromao-fix-12930-v3.patch ___ Python tracker rep...@bugs.python.org

[issue12974] array module: deprecate '__int__' conversion support for array elements

2011-09-13 Thread Meador Inge
New submission from Meador Inge mead...@gmail.com: When reviewing the fix for issue1172711 it was discovered that the 'array' module allows for '__int__' conversions: import array, struct a = array.array('L', [1,2,3]) class T(object): ... def __init__(self, value): ...

[issue1172711] long long support for array module

2011-09-13 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Okay, understood.  But the new 'long long' support provided by this patch still allows for __int__-based duck typing, right? Yes, but ... That's the new duck typing I meant.  I see this acceptance of things with an __int__ method as a

[issue12967] AttributeError distutils\log.py

2011-09-13 Thread ben
ben thelen_...@yahoo.com added the comment: Error had been raised when installing the distribute package, but it could be raised on any other usage as sys.stdout does not have an 'error' attribute.     From: Éric Araujo rep...@bugs.python.org To: thelen_...@yahoo.com Sent: Tuesday, 13

[issue1172711] long long support for array module

2011-09-13 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Updated patch with the 'Py_ssize_t' fixes. -- Added file: http://bugs.python.org/file23148/issue-1172711.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1172711

[issue1621] Do not assume signed integer overflow behavior

2011-09-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1621 ___ ___ Python-bugs-list mailing list

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-09-13 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11149 ___ ___ Python-bugs-list mailing list

[issue1947] Exception exceptions.AttributeError '_shutdown' in module 'threading'

2011-09-13 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: In case Google brings anyone else to this bug: this error typically indicates that a `threading.py` which is not actually the Standard Library's `threading` module has somehow wound up on an earlier path in `sys.path` and is

[issue12956] builds fail when installing to --prefix with space in path name

2011-09-13 Thread Ned Deily
Ned Deily n...@acm.org added the comment: It turns out that supporting a framework path name that contains spaces (or other special characters) is a much more pervasive change that I had originally expected. That's because the path specified by ./configure --enable-framework= also becomes

[issue12881] ctypes: segfault with large structure field names

2011-09-13 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Note that there is at least one other place where alloca() is used with potentially large values: Ouch! I found three more crashers (including the one you found) by grepping for 'alloca' in ctypes: from ctypes import * T = type('x' * 2 **

[issue12946] PyModule_GetDict() claims it can never fail, but it can

2011-09-13 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: I gave two reasons why this function can fail, and one turns out to be assumed-to-be-dead code. So, no, there are two issues now, one with the documentation, one with the code. -- ___

[issue1621] Do not assume signed integer overflow behavior

2011-09-13 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1621 ___ ___ Python-bugs-list mailing

[issue12857] Expose called function on frame object

2011-09-13 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Finally had a chance to get back to this. Here's a new patch in response to Nick's review. My only concern is the new _PyEval_EvalFunctionCode function. It is basically the existing PyEval_EvalCodeEx function with an extra parameter.

[issue12936] armv5tejl segfaults: sched_setaffinity() vs. pthread_setaffinity_np()

2011-09-13 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Do you mean that signal.pthread_kill() should be removed? This function is very useful and solve some issues that cannot be solved differently. At the same time, I don't think that it's possible to workaround the crashes. At