On Sunday, October 23, 2022 at 8:23:26 PM UTC+3, rbowman wrote:
> On Sun, 23 Oct 2022 08:46:10 -0700 (PDT), Kisakye Moses wrote:
>
> > Hello am a (M) and glad that I've joined this group.
> > Any help in python for TinyML, i will honored
> https://tinynet.autoai.org/en/
Hello am a (M) and glad that I've joined this group.
Any help in python for TinyML, i will honored
--
https://mail.python.org/mailman/listinfo/python-list
Change by Caris Moses :
--
title: Mock.call_args and Mock.call_args_list -> Mock.call_args and
Mock.call_args_list not propagated to parent Mock
___
Python tracker
<https://bugs.python.org/issu
New submission from Caris Moses :
When I use some_mock.attach_mock(...) and make calls, the resulting
some_mock.call_args is None while the some_mock.mock_calls list is not empty.
The code below shows this in Python 3.7.5:
from unittest import TestCase
from unittest.mock import patch, Mock
Caris Moses added the comment:
I believe I have found another bug related to this issue. I can start a new
issue if necessary. When I use some_mock.attach_mock(...) and make calls, the
resulting some_mock.call_args is None while the some_mock.mock_calls list is
not empty.
The code below
Caris Moses added the comment:
I see. Thanks for your help!
--
___
Python tracker
<https://bugs.python.org/issue21478>
___
___
Python-bugs-list mailin
Caris Moses added the comment:
Great, thanks so much. It works with the patch. So will this patch be included
in the next released version of Python?
--
___
Python tracker
<https://bugs.python.org/issue21
Caris Moses added the comment:
I am having some trouble figuring out how to use CPython to get the exact PR
you tested on since I've never used CPython before. However, when I just
install Python 3.7.5RC1 and 3.8.0RC1 from the binaries and run your code I do
get the AttributeError. And when
Caris Moses added the comment:
I tried it with mocked functions instead of methods and got the same result, so
I dug into this a little deeper. It seems as though the issue it how the mocked
functions are called. If I replace the do_something() line with the following
then it works
Caris Moses added the comment:
Hello,
I am still running into this issue. I have tested the following code with
Python 3.7.4, 3.7.5rc1 , and 3.8.0rc1.
from unittest import TestCase
from unittest.mock import patch, Mock, call
class MyObject:
def __init__(self):
self.foo = 0
()
num_threads -= 1
lock.release()
return new
start_new_thread(heron,(81,))
start_new_thread(heron,(999,))
start_new_thread(heron,(1733,))
while not thread_started:
pass
while num_threads 0:
pass
Thanks,
Moses.
--
http://mail.python.org/mailman/listinfo/python-list
and/or postgresql)
for web development
thanks and regards,
Simon Moses.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/--
http://mail.python.org/mailman/listinfo/python-list
to code a web page which connects to a database and displays some rows, what
minimum software and libraries i should install?
python 2.6, mysql 5.0, apache 2.2 and Django? thats enough?
From: Stephen Hansen apt.shan...@gmail.com
To: Simon Moses ksmo
so python 2.6, mysql 5.0, apache 2.2, mod_wsgi, MySQL-python-1.2.2.win32-py2.6
and Django should be sufficient for my requirement.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/--
http://mail.python.org/mailman/listinfo/python-list
Hi Everyone,
I have written a script in python to plot a graph. However, the
range for the x-axis starts from 0.5 to 1.0. However, I would like
to start from 0 to 1. Any pointer to this shall be appreciated.
Thanks,
Moses
--
http://mail.python.org/mailman/listinfo/python-list
...@rebertia.com wrote:
On Mon, Nov 9, 2009 at 7:45 AM, Moses jam...@gmail.com wrote:
I have written a script in python to plot a graph. However, the
range for the x-axis starts from 0.5 to 1.0. However, I would like
to start from 0 to 1. Any pointer to this shall be appreciated.
Some /very/ basic
()
Moses
On Mon, Nov 9, 2009 at 6:43 PM, Moses jam...@gmail.com wrote:
Hi Chris,
I am using python 2.6 and am using scipy and pylab. See the code below.
Cheers.
from scipy import *
from pylab import *
x1 = [0.5,0.6,0.7,0.8,0.9,1.0]
x2 = [0,1,2,3,4,5,6,7,8,9,10]
plot(x1,y01,linewidth=5.0
Toit for supplying this fix.
http://sourceforge.net/project/showfiles.php?group_id=119175
Regards,
Neil Moses.
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
18 matches
Mail list logo