Re: Bug report

2021-02-24 Thread Peter Otten
On 24/02/2021 22:03, Dan Stromberg wrote: On Wed, Feb 24, 2021 at 12:58 PM Peter Otten <__pete...@web.de> wrote: On 24/02/2021 20:36, Carla Molina wrote: This is not a bug. Have a look at the array's dtype: >>> n = 60461826 >>> a = np.array([1, 50, 100, 150, 200, 250, 300]) >>> a.dtype d

Re: Bug report

2021-02-24 Thread Dan Stromberg
On Wed, Feb 24, 2021 at 12:58 PM Peter Otten <__pete...@web.de> wrote: > On 24/02/2021 20:36, Carla Molina wrote: > This is not a bug. Have a look at the array's dtype: > > >>> n = 60461826 > >>> a = np.array([1, 50, 100, 150, 200, 250, 300]) > >>> a.dtype > dtype('int32') > I'm getting dtypes

Re: Bug report

2021-02-24 Thread Dan Stromberg
I'm getting: /usr/local/cpython-2.7/bin/python (2.7.16) bad ('numpy version:', '1.16.6') Traceback (most recent call last): File "./nii", line 31, in assert left == right, "{} != {}".format(left, right) AssertionError: 86374.0371429 != 86374.0371429 /usr/local/cpython-3.0

Re: Bug report

2021-02-24 Thread Peter Otten
On 24/02/2021 20:36, Carla Molina wrote: I found the following bug (python 3.9.1) when multiplying an array by several variables without parentheses; look at the following example: import numpy as np NR = 0.25 N = 60461826 initialINCIDENCE = np.array([1, 50, 100, 150, 200, 250, 300]) initialIN

Re: Bug report: ClientForm

2009-03-01 Thread Steve Holden
MRAB wrote: > Muddy Coder wrote: >> Hi Folks, >> >> As directed, I got ClientForm and played with it. It is cool! However, >> I also found a bug: >> >> When it parses a form, if the VALUE of a field has not space, it works >> very well. For example, if a dropdown list, there many options, such >> a

Re: Bug report: ClientForm

2009-02-28 Thread Lie Ryan
MRAB wrote: > Muddy Coder wrote: >> Hi Folks, >> >> When it parses a form, if the VALUE of a field has not space, it works >> very well. For example, if a dropdown list, there many options, such >> as: >> >> >> >> the value foo will be picked up for sure. But, if there is a space: >> >>

Re: Bug report: ClientForm

2009-02-28 Thread Gabriel Genellina
En Sat, 28 Feb 2009 21:01:56 -0200, Muddy Coder escribió: By the way, can somebody helps me on setting parameter of uploading a file. In ClientForm, if I need to upload a text file, I can do it by: form.add_file(..., "text/plain") What about a picture file? What is the counterpart of 'text/

Re: Bug report: ClientForm

2009-02-28 Thread MRAB
Muddy Coder wrote: Hi Folks, As directed, I got ClientForm and played with it. It is cool! However, I also found a bug: When it parses a form, if the VALUE of a field has not space, it works very well. For example, if a dropdown list, there many options, such as: the value foo will be p

Re: Bug Report / Patch (1159139 cgi.py invalid REQUEST_METHOD set)

2005-07-26 Thread Joe
Reinhold, Thanks for responding... I see that you are using Python 2.4.1 and the bug was against 2.4. (I am now using 2.4.1) If I remember correctly there were two issues that I ran into, one was with a missing REQUEST_METHOD and the other was with a INCORRECT request method. As per your exa

Re: Bug Report / Patch (1159139 cgi.py invalid REQUEST_METHOD set)

2005-07-26 Thread Steven Bethard
Joe wrote: > Back in March I submitted a patch for cgi.py to sourceforge to fix a problem > with the handling of an invalid REQUEST_METHOD. > > I thought I followed all the steps to properly submit the bug and patch but > the patch is still sitting there in limbo. Patches get processed when peo

Re: Bug Report / Patch (1159139 cgi.py invalid REQUEST_METHOD set)

2005-07-26 Thread Reinhold Birkenfeld
Joe wrote: > Back in March I submitted a patch for cgi.py to sourceforge to fix a problem > with the handling of an invalid REQUEST_METHOD. > > I thought I followed all the steps to properly submit the bug and patch but > the patch is still sitting there in limbo. > > This is the first patch I