New submission from Robert Snoeberger <robert.snoeber...@me.com>:
The signature for PyBuffer_FillContiguousStrides in the documentation shows
that the type of parameter 'itemsize' is Py_ssize_t [1]. This is different from
the signature in Include/abstract.h which shows that the type as
New submission from Robert Snoeberger:
The documentation for the Py_SetPath API does not indicate if the argument
should point to a wide character array in static storage. However, the
documentation for Py_GetPath says, The returned string points into static
storage; the caller should
New submission from Robert Snoeberger:
import fractions
fractions.gcd(16, float('inf'))
Traceback (most recent call last):
File pyshell#1, line 1, in module
fractions.gcd(16, float('inf'))
File C:\Python34-32bit\lib\fractions.py, line 24, in gcd
a, b = b, a%b
KeyboardInterrupt
Robert Snoeberger added the comment:
I created a patch to add a check for NULL globals or locals. The file
execfile.patch is attached. A system error is set with the message globals and
locals cannot be NULL if either is NULL.
An open question I have is how should I create tests
New submission from Robert Snoeberger:
While embedding the Python 2.7 interpreter in an application, I have
encountered a crash when the built-in function 'execfile' is invoked with one
argument.
A file is attached, execfile_invoke.c, that reproduces the crash. The
reproduction steps on my
New submission from Robert Snoeberger:
While embedding the Python interpreter in an application, I have encountered a
crash when the built-in function 'super' is invoked with no arguments. The
crash occurs during a call to PyObject_Call.
A file is attached, super_invoke.c, that reproduces