Change by Rafi Hassan Chowdhury :
Added file: https://bugs.python.org/file49978/main.py
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bugs-list m
Change by Rafi Hassan Chowdhury :
Removed file: https://bugs.python.org/file49977/main.py
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bug
Change by Rafi Hassan Chowdhury :
Removed file: https://bugs.python.org/file49976/main.py
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bug
Change by Rafi Hassan Chowdhury :
Added file: https://bugs.python.org/file49977/main.py
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bugs-list m
Change by Rafi Hassan Chowdhury :
Added file: https://bugs.python.org/file49976/main.py
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bugs-list m
Change by Rafi Hassan Chowdhury :
Removed file: https://bugs.python.org/file49975/main.py
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bug
Change by Rafi Hassan Chowdhury :
--
type: behavior ->
___
Python tracker
<https://bugs.python.org/issue43924>
___
___
Python-bugs-list mailing list
Un
Change by Rafi Hassan Chowdhury :
--
files: main.py
nosy: rafihassan190041234
priority: normal
severity: normal
status: open
title: print unexpected values in infinite loop
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file49975/main.py
://attendee.gotowebinar.com/register/7034105107342895362
we hope to see you there :)
Rafi,
WhiteSource software.
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
://attendee.gotowebinar.com/register/7034105107342895362
we hope to see you there :)
Rafi,
WhiteSource software.
--
https://mail.python.org/mailman/listinfo/python-list
an int
import math
math.ceil (12.3)
13.0
int (math.ceil (12.3))
13
hth
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
Ron Garret wrote:
Because eval() takes an expression as an argument, and assignment is a
statement.
And if you find this distinction annoying, try Lisp.
that's were I come from :-)
--
rafi
Imagination is more important than knowledge.
(Albert
with weird REs, why not use Python's standard
filename manipulation library instead?
http://docs.python.org/lib/module-os.path.html
/F
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman
Adriaan Renting wrote:
You might be able to do something along the lines of
for count in range(0,maxcount):
value = values[count]
exec(eval('a%s=%s' % (count, value)))
why using the eval?
exec ('a%s=%s' % (count, value))
should be fine
--
rafi
Imagination is more important
for a distributed operating system]
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
I cannot find an answer to: any idea
why does eval() consider '=' as a syntax error?
eval ('a=1')
Traceback (most recent call last):
File stdin, line 1, in ?
File string, line 1
a=1
^
SyntaxError: invalid syntax
Thanks
--
rafi
Imagination is more important than
Steve Holden wrote:
Because eval() takes an expression as an argument, and assignment is a
statement.
I am definitely not a language lawyer... but I should a little bit more
thanks,
--
rafi
Imagination is more important than knowledge.
(Albert
I suppose you wrote this down (instead of cut and paste) as the none is
not capitalized. There must be something else in your module that writes
the none as your code presented above should really not as is.
--
rafi
Imagination is more important than knowledge
existing mail client, written in python
which wud serve my cause.
i searched google for no avail.
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
and int or a string as they are non mutable objects. however
lists are mutable objects so... modify your function as follow:
def myFunction(l1,l2,result=None):
if result is None:
result = []
hth
--
rafi
Imagination is more important than knowledge
answer, it is like driving a truck with the eyes closed in
down town (I can go fast, I am not scared, I do not see the dangers).
Please tell us for you are working in order for us to avoid the software
/ services you are providing.
--
rafi
Imagination is more important than knowledge
, the function hangs. (Which is the
cas for receive)
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
bruno modulix wrote:
Mohammed Altaj wrote:
Dear All
This is my problem again ,
(snip)
Read my answers to your two previous posts.
(in short : use str.split() - but *do* read my answers if you want to
save you a lot of pain)
especially when several persons replied to you...
--
rafi
the last 20
lines. How do I do this?
Thomas Philips
If you are using a Unix:
tail -20 file.txt
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
for a good ppiece of code
from my point of view.
my 2 cents
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
running two times slower
but with two times less bugs, imagine how many hours we would benefit...
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
problem easily
my 2 cents
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
calling mount as
an external program and parsing the output - but I prefer cleaner
solutions. Is there one?
why not looking at the content of the /Volumes folder?
my 2 cents
--
rafi
Imagination is more important than knowledge.
(Albert Einstein
the library provide basic blocks that you may
assemble in your own way (even if some constaints exist).
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
is again not the one of an expert of unit testing).
I do agree with Benjamin Niermann when he says: Or because it is
already close to perfection (at least in what it is intended to do).
unittest is for unittesting :-)
my 2 cents
--
rafi
Imagination is more important than knowledge
rafi wrote:
In order to unit test a function / method one should use mock objects,
otherwise you may not be sure that your code is faulty.
'should' may be too strong, 'may' may be better. In the meantime I found:
http://python-mock.sourceforge.net/
my 2 cents
--
rafi
of the use of the code?
on my box it runs, except that ValueError is not caught by the except.
side question: what is the point of accepting invalid dates?
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org
compared to C++) because of the lack of
multiple inheritance.
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
in the
definition of C (here the value of foo in A). Am I right? I am mostly
using old style (without type unification) init but this motivate the
shift for the new style. Is there somewhere a document about this?
Thanks a lot Scott
--
rafi
Imagination is more important than knowledge
Michele Simionato wrote:
I am mostly
using old style (without type unification) init but this motivate the
shift for the new style. Is there somewhere a document about this?
Yes, see http://www.python.org/2.3/mro.html by yours truly
Michele Simionato
Thanks a lot
--
rafi
may have googled the wrong keywords) for
the order of the __init__ calls from C. I was expecting (following the
same order as the method lookup):
i am an A
i am a B
i am a C
A.foo
Thanks
--
rafi
Imagination is more important than knowledge.
(Albert
py2app?
Have you tried to re-install the py2app (even version 0.17)?
my 2 cents
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
, it may mean that you are ready to post a question :-)
my 2 cents
--
rafi
Imagination is more important than knowledge.
(Albert Einstein)
--
http://mail.python.org/mailman/listinfo/python-list
38 matches
Mail list logo