, then the string is
interpreted as binary data. If it is not empty, then the string is interpreted
as ASCII.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth
and the command that you used
to obtain it. The one you show, for numpy, succeeded.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
=gnu95 -c -m hello hello.f90
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion
Charles R Harris wrote:
On 10/10/07, *Robert Kern* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Hello,
I'm using the last svn version of numpy (.
I tried the solution found on the mail list
array
thereby negating the need for the list, as the array object doesn't
seem to have an append() method?
Appending to a list then converting the list to an array is the most
straightforward way to do it. If the performance of this isn't a problem, I
recommend leaving it alone.
--
Robert Kern
I
Anne Archibald wrote:
On 11/10/2007, Robert Kern [EMAIL PROTECTED] wrote:
Appending to a list then converting the list to an array is the most
straightforward way to do it. If the performance of this isn't a problem, I
recommend leaving it alone.
Just a speculation:
Python strings have
. For example, in debian one has to install python-dev
separately from python.
You'd still need python-dev(el) for the headers if not distutils.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret
' objects
A more straightforward way to get the itemsize is this:
In [17]: dtype(float64).itemsize
Out[17]: 8
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
of the second argument.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing
Geoffrey Zhu wrote:
Hi All,
Given three vectors of the same lengths, X, Y, and Z, I am looking for
an efficient way to calculate the following:
sum(x[i]*y[i]*z[i], for i=1..n )
(x*y*z).sum()
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
)) into a binary ufunc f(x, y) with an ignored y, then you could
call f.accumulate(z). However, if that ufunc is not implemented in C, there's
not much point.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt
Charles R Harris wrote:
On 10/31/07, Robert Kern [EMAIL PROTECTED] wrote:
Charles R Harris wrote:
On 10/31/07, Alan G Isaac [EMAIL PROTECTED] wrote:
1.0**numpy.array([1,2,3])
array([ 1., 1., 1.])
1.0**numpy.mat([1,2,3])
Traceback (most recent call last):
File stdin, line 1, in module
recommend
using the Python.framework in /System for anything except for distributing
lightweight .apps. In that case, you can control your sys.path very well. For
regular work, use the binary from www.python.org.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
cannot determine.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing
is going on?
No. Run numpy.test(verbosity=2) so it will print out each test name before
running the test. Then we might have some idea about where the hang is coming
from.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own
when
I have the lambda and k parameters?
lambda * numpy.random.weibull(k)
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
a)
{
return pow(rk_standard_exponential(state), 1./a);
}
Like Ryan says, multiplying a random deviate by a number is different from
multiplying the PDF by a number. Multiplying the random deviate by lambda is
equivalent to transforming pdf(x) to pdf(x/lambda) not lambda*pdf(x).
--
Robert Kern
examples of
what you would like to see? Preferably, can you write some working code that
demonstrates this feature?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
for constructing an array from an
iterable.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy
does not add these flags; Python does. Python extensions should be built with
the same compiler that Python itself was built with. If you are using the binary
distribution from www.python.org, you should use Apple's gcc, not a different
one.
--
Robert Kern
I have come to believe that the whole
Joshua Lippai wrote:
Thanks for the reply. Well, I built my Python stuff, including NumPy
previously, before I changed to the higher GCC version. Do you know if
there's an option I can toggle that will specify Apple's GCC to be
used?
$ CC=/usr/bin/gcc python setup.py build
--
Robert Kern
(27442576)
You might want to use the new ctypes-based OpenGL 3.0+ package. It has numpy
support a bit more directly. You can use Pyglet for its windowing and all of the
other surrounding infrastructure and use OpenGL directly for the drawing.
--
Robert Kern
I have come to believe that the whole
$ python setup.py config_fc --fcompiler=gnu95 --arch=-arch i386 -arch ppc
build_ext -L ~/staticlibs/ build
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
Christopher Barker wrote:
Robert Kern wrote:
Official binaries intended for distribution from scipy.org or scipy.sf.net
should not be linked against FFTW or UMFPACK since they are GPLed.
Does that apply to binaries put up on pythonmac.org? It would be nice to
have a complete version
Out[40]: 3.0
But the sample mean is way to small:
In [41]: mean(x)
Out[41]: 0.996
Fixed in r4527. My original source for the algorithm was incorrect, it seems.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad
.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy
Fernando Perez wrote:
On Dec 4, 2007 12:27 PM, Robert Kern [EMAIL PROTECTED] wrote:
user-friendly. Another option is to have our Fortran compiler
knowledge-base
separable from the rest of the package. scons could try to import them from,
say, numpy_fcompilers first and then look inside
Fernando Perez wrote:
On Dec 4, 2007 1:24 PM, Robert Kern [EMAIL PROTECTED] wrote:
Fernando Perez wrote:
Is this something that really needs to be a code package? Why can't
this knowledge (or at least the easily overridable part of it) be
packaged in one or more .conf/.ini plaintext files
for version 10 on OS X. Would I copy that file to scons/tool/ and make
my edits there? Do I then add 'ifort' to the list in scons/core/default.py?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret
a problem. We could just
update it on its own release schedule. People would probably be more willing to
use the development versions of it, too, instead of having to also buy into the
development version of their array package as well.
--
Robert Kern
I have come to believe that the whole world
David Cournapeau wrote:
Robert Kern wrote:
David Cournapeau wrote:
- I have not yet tweaked fortran compiler configurations for
optimizations except for gnu compilers
Can you give us a brief overview about how to do this? For example, the Intel
Fortran compiler's SHLINKFLAGS in scons
David Cournapeau wrote:
On Dec 5, 2007 1:14 PM, Robert Kern [EMAIL PROTECTED] wrote:
This, too, is a workaround for the less-than-desirable situation of having
numpy's sizable build infrastructure bundled with the numpy package itself.
If
this stuff were an entirely separate package focused
David Cournapeau wrote:
On Dec 5, 2007 1:19 PM, Robert Kern [EMAIL PROTECTED] wrote:
David Cournapeau wrote:
Robert Kern wrote:
David Cournapeau wrote:
- I have not yet tweaked fortran compiler configurations for
optimizations except for gnu compilers
Can you give us a brief overview
David Cournapeau wrote:
On Dec 5, 2007 3:07 PM, Robert Kern [EMAIL PROTECTED] wrote:
I don't see how that's relevant to the problem I raised. Supporting Fortran
in
the standard library would make the problem even worse. distutils is
certainly
not broken because it doesn't support Fortran
Fernando Perez wrote:
The whole scipy.org site seems down. Is it just on my end?
No. Our new IT guy, Ryan Earl jre at enthought.com, is on the case.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt
Steven H. Rogers wrote:
Fernando Perez wrote:
The whole scipy.org site seems down. Is it just on my end?
Works for me, though it seems pretty slow.
The system has been restarted.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made
have to dive
deeper to figure out what is going on. This makes me grumpy.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
://www.unc.edu/~gfish/fcmc.html is also wrong.
SVN now has a bound such that CDF(bound) is within 1e-16 (or so) of 1.0.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
]: c.sort()
In [22]: c
Out[22]:
array([ 0.+0.52885086j, 0.+0.68448275j, 1.+0.07268317j, 1.+0.34576644j,
1.+0.97849291j, 3.+0.22114928j, 3.+0.91550523j, 4.+0.50667105j,
4.+0.65409519j, 4.+0.97286048j])
--
Robert Kern
I have come to believe that the whole world is an enigma
accept a slow BLAS for an
official binary that won't segfault anywhere. We can look for a faster BLAS
later.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
': 'print', 'under':
'ignore'}
In [6]: ones(10) / zeros(10)
Out[6]: array([ Inf, Inf, Inf, Inf, Inf, Inf, Inf, Inf, Inf, Inf])
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though
I'm happy to check the list and give answers that are at the
front of my head, deeper answers that require exploration or experimentation are
beyond my available time. I'm sure others are in a similar situation.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
that exact test and not run the
rest of the test suite.
* Output capture. Tests can print out anything they like to be more informative,
but they won't appear unless if the test fails.
More thoroughly:
http://somethingaboutorange.com/mrl/projects/nose/
--
Robert Kern
I have come to believe
)
assert np.allclose(a,b)
Is this expected behavior of numpy or is this a bug I should report?
Bug, I think.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
, previously.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing
never encountered any documents about checking C code coverage of Python
extension modules. It is possible that the standard tools for C code coverage
(e.g. gcov) would work fine with some finagling.
If you try this, I would love to hear what you did.
--
Robert Kern
I have come to believe
] actually return A[0].
Or something. Any thoughts?
The best way would depend on what you want to do with it. Why do you need this?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though
to make (only) a rank-1 array and thus sidestep a big chunk
of the magical interpretation.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
number of situations. We will not allow it to be done implicitly.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
(like the availability of Windows shell integration, etc.) instead of vague
inferences.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto
.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy
that SVN 1.5 will be tracking such information. But that
release is a long ways off.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
it's still ambiguous with the depth
information provided?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
. We already do it for me:
http://www.enthought.com/~rkern/cgi-bin/hgwebdir.cgi
The remaining thing we would have to support is the Trac integration. While not
as trivial as simply hosting the repositories, it's not a very large commitment.
--
Robert Kern
I have come to believe that the whole
Christopher Barker wrote:
Robert Kern wrote:
Chris Barker wrote:
What if your objects were nested sequences, and you wanted to partly
flatten them -- which would you flatten?
I'm pretty sure that that is exactly the ambiguity that the depth option
resolves. Can you give me an example where
. SVN does not track this information. Tools like svnmerge.py
track some of this information at the expense of some added clumsiness.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though
.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy
Bill Baxter wrote:
On Jan 6, 2008 6:38 PM, Robert Kern [EMAIL PROTECTED] wrote:
Bill Baxter wrote:
http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram
This is a bit puzzling. I understand better merging isn't the only
reason to choose DVCS, but the above page basically says
. It is possible that this comes from the particular implementation,
rather than being intrinsic to the problem.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth
.
It
belongs in each of the branches independently. For some reason, it got merged
into the trunk from one of the branches by mistake, possibly because someone
started merge tracking with svnmerge then another used svn merge. It should
be
removed.
--
Robert Kern
I have come to believe that the whole
important quantity. It's a parameter of a
Gaussian distribution, and in this case, I see no reason to favor circular
Gaussians in CC over general ones.
But if someone shows me an actual application of the definition, I can amend my
view.
--
Robert Kern
I have come to believe that the whole world
.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy-discussion mailing list
Numpy-discussion
with this, instead:
E[|y - x|^2]
But like I said, I see no particular reason to favor circular Gaussians over
the
general form for the implementation of numpy.var().
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad
Charles R Harris wrote:
I see that there are already a number of parsers available for Python,
SPARK, for instance is included in the 2.5.1 distribution.
No, it isn't.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our
Charles R Harris wrote:
On Jan 8, 2008 7:48 PM, Robert Kern [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Charles R Harris wrote:
Suppose you have a set of z_i and want to choose z to minimize the
average square error $ \sum_i |z_i - z|^2 $. The solution
Travis E. Oliphant wrote:
Robert Kern wrote:
Neal Becker wrote:
I noticed that if I generate complex rv i.i.d. with var=1, that numpy says:
var (real part) - (close to 1.0)
var (imag part) - (close to 1.0)
but
var (complex array) - (close to complex 0)
Is that not a strange
are contained in a single file. That would be fine to include,
but I object strongly to incorporating Jinja.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying
Charles R Harris wrote:
On Jan 11, 2008 2:58 PM, Robert Kern [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Charles R Harris wrote:
Hi All,
I'm thinking of adding the template system I pulled out of Django to
Numpy to use in place of the current code
comfortable with an implementation that can simply
be
dropped in without modification.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
* obj, int typenum) takes an object and a type
number.
* PyArray_FROM_OTF(PyObject* obj, int typenum, int req) takes an object, type,
and flags.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt
Neal Becker wrote:
Robert Kern wrote:
Neal Becker wrote:
numpy frequently refers to 'casting'. I'm not sure if that term is ever
defined. I believe it has the same meaning as in C. In that case, it is
unfortunately used to mean 2 different things. There are casts that do
not change
my code. It simplifies certain operations that would
otherwise need tedious special case-handling.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth
Neal Becker wrote:
Robert Kern wrote:
Neal Becker wrote:
I've never liked that python silently ignores slices with out of range
indexes. I believe this is a source of bugs (it has been for me). It
goes completely counter to the python philosophy.
I vote to ban them from numpy.
from
__array_interface__ or just nested
sequences,
too. You can look at the PyArray_Descr directly, dispatch the types that you
can
handle directly, and then convert for the types which you can't. You will not
get any extraneous conversions or copies of data.
--
Robert Kern
I have come to believe that the whole
.
import new
new
module 'new' from 'C:\Python25\lib\new.pyc'
If that filename does not point to 'C:\Python25\lib\new.pyc', then you have a
problem.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt
variables, that is an ambiguity
you
have to resolve.
There is, apparently, a large body of statistical signal processing literature
that defines the complex variance as
E{|z-E[z]|^2}
so, I (now) believe that this is what should be implemented.
--
Robert Kern
I have come to believe
: for
example, the current developement doc of python
(http://docs.python.org/dev/) looks pretty good to me, and using the
same tools as python makes more sense than forking our own, no ? Or am
I missing something fundamental ?
Yes. Sphinx does not do automatically generated documentation.
--
Robert
uses sort of extended distutils. I was
wondering if
this extended distutils enables building of static libraries or do I have to
go
the cumbersome Makefile-way again?
Cumbersome Makefile, sorry.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
around the corner!
Personally, I don't think it's worth standardizing. If it's readable and valid
reST, just do it.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
build
infrastructure.
It requires branches for us to evaluate.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
/session log --
No, numpy is entirely consistent. In[26] has Python's complex numbers, not
numpy's.
In [1]: from numpy import complex64
In [2]: complex64(3+1j) complex64(-1+3j)
Out[2]: True
--
Robert Kern
I have come to believe
.
Are you going to continue not reading the f2py list? If so, you should point
everyone there to this list and close the list.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
of memory ownership and object lifetime
issues. If you can modify the C code, it might be easier for you to have numpy
allocate the memory, then make the C code use that pointer to do its operations.
But look at numpy.memmap first and see if it fits your needs.
--
Robert Kern
I have come
Damian Eads wrote:
Robert Kern wrote:
Damian Eads wrote:
Here's another question: is there any way to construct a numpy array and
specify the buffer address where it should store its values? I ask
because I would like to construct numpy arrays that work on buffers that
come from mmap
for generators, but it
would be a special case. We wouldn't be able to test for arbitrary iterables.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth
, but I'm not sure.
Contributions are, of course, welcome.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
Anne Archibald wrote:
On 06/02/2008, Robert Kern [EMAIL PROTECTED] wrote:
I guess the all function doesn't know about generators?
Yup. It works on arrays and things it can turn into arrays by calling the C
API
equivalent of numpy.asarray(). There's a ton of magic and special cases
to messages normally.
Thank you.
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth.
-- Umberto Eco
___
Numpy
?
Not really, no. Can you describe your use case in more detail?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth.
-- Umberto Eco
anything at all;
otherwise, median(x, out=out) is no better than out[:] =
median(x). Personally, I don't think that a function should expose an
out= parameter unless if it can make good on that promise of memory
efficency. Can you show us the current implementation that you have?
--
Robert Kern
is stored in memory, and this messed up the call to
.shape?
No. The problem is that (27) is not a tuple. Parentheses are also
used for grouping expressions in Python, so a single-element tuple
needs a comma to disambiguate. You want d.shape = (27,).
--
Robert Kern
I have come to believe
algorithms out there
which can make use of the memory efficiently. I wanted to establish
the call signature to allow that. I don't feel strongly about it
though.
I say add the out= parameter when you use such an algorithm. But if
you like, just use slice assignment for now.
--
Robert Kern
I
On Feb 11, 2008 3:49 AM, David Cournapeau [EMAIL PROTECTED] wrote:
On Feb 11, 2008 5:38 PM, Robert Kern [EMAIL PROTECTED] wrote:
On Feb 11, 2008 2:21 AM, Robert Kern [EMAIL PROTECTED] wrote:
I've just updated the SVN trunk to get the latest numscons merge.
Something broke the support I
On Feb 12, 2008 12:41 AM, Damian Eads [EMAIL PROTECTED] wrote:
Robert Kern wrote:
On Feb 12, 2008 12:14 AM, Damian Eads [EMAIL PROTECTED] wrote:
David Cournapeau wrote:
On Mon, 2008-02-11 at 22:50 -0700, Damian Eads wrote:
Dear Lou,
You may want to try using distutils or setuputils
not
generate a shared library on a mac?
Python extension modules are shared libraries, yes. But they must
follow a particular format, namely exposing a correct
initmodulename function. distutils/setuptools only maked Python
extension modules, not arbitrary shared libraries.
--
Robert Kern
I have come
not
generate a shared library on a mac?
As to David's point, yes, distutils makes a .so shared library on
Macs. This is not the same thing as a dynamic library (on Macs) which
is what ctypes needs (on Macs), IIRC. There is a subtle, but important
difference between the two.
--
Robert Kern
I have come
to add the --inplace option. This
used to work as of r4772, but now any Fortran Extensions have the
generated sources added twice. This causes links to fail since the
same symbol shows up twice.
David, any ideas?
--
Robert Kern
I have come to believe that the whole world is an enigma, a harmless
On Feb 11, 2008 2:21 AM, Robert Kern [EMAIL PROTECTED] wrote:
I've just updated the SVN trunk to get the latest numscons merge.
Something broke the support I put in for the setuptools develop
command. In order to make sure that setuptools' develop works with
numpy.distutils' build_src, we
.
If the same signature is used, there is no need to special-case
median(). I realise it's kind of a niche example, though.
I'm happy with that use case. The docstring should mention that out=
is not memory-optimized like it is for the others, though.
--
Robert Kern
I have come to believe
).
Is there a reason for it?
That's just what asfarray is designed to do. If you don't give it a dtype, it
uses float64. Changing it would be a redesign of the function that may break
code. The amount of code is probably minimal, so I'm only -0 on changing it.
--
Robert Kern
I have come to believe
801 - 900 of 2461 matches
Mail list logo