Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-27 Thread David Cournapeau
On Sun, Jun 28, 2009 at 11:31 AM, Dinesh B Vadhia wrote: > The machine in question is factory installed with: > > OS: Windows Vista 64-bit SP2 > Processor: Intel Core2 Quad CPU, Q6600 @ 2.4Ghz @2.4GHz > Memory:  8Gb > > Apart from Python 2.5.4 nothing has been installed on this machine as it is > b

Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-27 Thread Dinesh B Vadhia
The machine in question is factory installed with: OS: Windows Vista 64-bit SP2 Processor: Intel Core2 Quad CPU, Q6600 @ 2.4Ghz @2.4GHz Memory: 8Gb Apart from Python 2.5.4 nothing has been installed on this machine as it is being used only to run Python programs. Python 2.6.1 was installed s

Re: [Numpy-discussion] switching to float32

2009-06-27 Thread Dan Goodman
Dag Sverre Seljebotn wrote: > Well, such a mechanism would mean that your code could not be reused > reliably by other code (because, what if two different codebases sets > different defaults...). So requiring any such mechanism would make it > easier to write non-reusable code, which is general

[Numpy-discussion] Fwd: YASS (Yet Another Success Story)

2009-06-27 Thread Emanuel Woiski
pessoal Hstória de sucesso woiski -- Forwarded message -- From: k3xji Date: 2009/6/20 Subject: YASS (Yet Another Success Story) To: python-l...@python.org Hi all, Started a project year ago with hard goals in mind : Developing a game server which can handle thousands of clients

[Numpy-discussion] npy/npz file extensions in save/savez

2009-06-27 Thread Ralf Gommers
Hi, The .npy/.npz extensions are just suggestions and can be replaced with something application-specific according to the NEP (see "Conventions" in http://svn.scipy.org/svn/numpy/trunk/doc/neps/npy-format.txt). However the code in save/savez does not seem to allow this. Pass in 'filename.ext' and

Re: [Numpy-discussion] stderr

2009-06-27 Thread Charles R Harris
On Sat, Jun 27, 2009 at 1:12 PM, Pauli Virtanen wrote: > On 2009-06-27, Charles R Harris wrote: > [clip] > > > >PyOS_snprintf(format, sizeof(format), _FMT1, prec); > >res = numpyos_ascii_for...@type@(buf, buflen, format, val, 0); > >if (res == NULL) { > >fprintf(stderr, "Erro

Re: [Numpy-discussion] stderr

2009-06-27 Thread Pauli Virtanen
On 2009-06-27, Charles R Harris wrote: [clip] > >PyOS_snprintf(format, sizeof(format), _FMT1, prec); >res = numpyos_ascii_for...@type@(buf, buflen, format, val, 0); >if (res == NULL) { >fprintf(stderr, "Error while formatting\n"); >return; >} > [clip] > Do we want t

Re: [Numpy-discussion] fromfile and ticket #1152

2009-06-27 Thread Pauli Virtanen
On 2009-06-27, Jed Ludlow wrote: > Of course, this discussion isn't new, and I don't know that it needs to be > completely rehashed. See > > http://mail.scipy.org/pipermail/numpy-discussion/2009-May/042668.html Especially this: http://mail.scipy.org/pipermail/numpy-discussion/2009-May/

Re: [Numpy-discussion] fromfile and ticket #1152

2009-06-27 Thread Jed Ludlow
Charles R Harris gmail.com> writes: > > The question is: what should happen when fewer items are read than > requested. The current behaviour is > > 1) Error message written to stderr (needs to be fixed) > 2) If 0 items are read then nomemory error is raised ;) > > So, should a warning be rais

Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-27 Thread David Cournapeau
On Sun, Jun 28, 2009 at 2:05 AM, Dinesh B Vadhia wrote: > Okay.  Maybe a bit harsh, but wouldn't it be better not to have the release > as available if it cannot be imported? It cannot be imported in some situations, but it works fine in others. David _

Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-27 Thread Dinesh B Vadhia
Okay. Maybe a bit harsh, but wouldn't it be better not to have the release as available if it cannot be imported? From: David Cournapeau Sent: Friday, June 26, 2009 7:00 PM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD On Sat, Jun

Re: [Numpy-discussion] switching to float32

2009-06-27 Thread David Goldsmith
--- On Sat, 6/27/09, Dag Sverre Seljebotn wrote: > Note that it is relatively easy for you to do e.g. > > default_dtype = np.float32 > > def array(*args, **kw): > if 'dtype' not in kw.keys(): > return np.array(*args, **kw, dtype=default_dtype) > else: > return np.ar

Re: [Numpy-discussion] switching to float32

2009-06-27 Thread Dag Sverre Seljebotn
Dan Goodman wrote: > Robert Kern wrote: >> On Fri, Jun 26, 2009 at 03:39, Christian K. wrote: >>> John Schulman caltech.edu> writes: >>> I'm trying to reduce the memory used in a calculation, so I'd like to switch my program to float32 instead of float64. Is it possible to change th

Re: [Numpy-discussion] switching to float32

2009-06-27 Thread Dan Goodman
Robert Kern wrote: > On Fri, Jun 26, 2009 at 03:39, Christian K. wrote: >> John Schulman caltech.edu> writes: >> >>> I'm trying to reduce the memory used in a calculation, so I'd like to >>> switch my program to float32 instead of float64. Is it possible to >>> change the numpy default float size,

[Numpy-discussion] SciPy abstract submission deadline extended

2009-06-27 Thread Gael Varoquaux
Greetings, The conference committee is extending the deadline for abstract submission for the Scipy conference 2009 one week. On Friday July 3th, at midnight Pacific, we will turn off the abstract submission on the conference site. Up to then, you can modify the already-submitted abstract, or su