New submission from Liam Marsh:
when does 3*0.1 make 0.30004 ?
YES it is the same program!
--
components: Regular Expressions
messages: 207092
nosy: Liam.Marsh, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: what is that result!?
versions
Liam Marsh added the comment:
can you add an approximation of the result in the command?
(ex: the biggest precision in the values is 0.1, so it won't show after 4.0)
meen while, thank you.
--
___
Python tracker
<http://bugs.python.org/is
New submission from Liam Marsh:
idea:
var():
input var name (str),
outputs var value
useful for(example in a chess program):
>>>count=1
>>>while count<=8:
...var('a', count)='black queen'
...count=count+1
--
messages: 207118
nosy: Lia
Liam Marsh added the comment:
first, it was for the second idea, which can be replaced,
but maybe sameone needs it,
when you reed theese lines, this idea is sent.
meen while,
have a happy new year.
--
status: pending -> open
___
Python tracker
&l
New submission from Liam Marsh:
hello,
pep 397 describes a "Python launcher for the Windows platform.
A Python launcher is a single executable which uses a number of
heuristics to locate a Python executable and launch it with a
specified command line."
Problem: that af
New submission from Liam Marsh:
hello!
trying the solutions proposed by the 23546'th issue, i found that the -m
argument, for packages (like tkinter, or idlelib; not io or socket), trys to
find the "__main__" file, not the "__init__" file, which is the main file of
Liam Marsh added the comment:
the "py -m idlelib -e " command failed!
(issue 23610 created)
otherwise, yes, different versions of the "edit with idle" command sounds
better.
--
___
Python tracker
<http://bug
Liam Marsh added the comment:
in fact, the idlelib.__main__ file exists in the 3.4 version...
the question is: is it possible to make it exist on older versions?
--
___
Python tracker
<http://bugs.python.org/issue23
Liam Marsh added the comment:
"""to do that we need to start shipping an EXE launcher, probably with a unique
name (e.g. idle35-32.exe)."""
nope, the windows packages already include an "idle.bat" launcher next to the
"idle.py" and "idle.
Liam Marsh added the comment:
(uploaded file: dd.bmp)
--
___
Python tracker
<http://bugs.python.org/issue23546>
___
___
Python-bugs-list mailing list
Unsubscribe:
Liam Marsh added the comment:
>Why run a batch file instead of directly running the .pyw script via
>>pythonw.exe? A batch file is executed by cmd.exe, which is a console
>>application.
the strange thing is that it exists
--
___
Liam Marsh added the comment:
er... is the fact that py -m ignore 's shebang deliberate?
(using the 3.4.2 version of py.exe)
--
___
Python tracker
<http://bugs.python.org/is
Liam Marsh added the comment:
thank you for all this hard work.
really.
--
___
Python tracker
<http://bugs.python.org/issue23546>
___
___
Python-bugs-list mailin
New submission from Liam Marsh:
I found a really weird comportment with NANs:
>>> from math import nan, isnan, inf
>>> nan==nan
False
>>> nan!=nan
True
>>> a=nan # maybe get another instance would fix it (or so I thought)
>>> a==nan
False
>&
14 matches
Mail list logo