Josh Cogliati added the comment:
Other than in the source code in Modules/main.c, is -b documented anywhere?
(For 2.7.6, The html docs, man page, and --help all failed to mention it)
--
nosy: +jrincayc
___
Python tracker
<http://bugs.python.
Josh Cogliati added the comment:
Well, I think think I would at least like the sections in the Library
reference documentation should mention the other functions. I.e. the
following should have cross references:
A. 2. Built-in Functions hex() should cross reference float.hex()
B. 2. Built-in
Josh Cogliati added the comment:
Okay. Thank you. I looked at the issue 3008 discussion. I see why
hex() was not changed. Can int.hex() and int.fromhex() be added for
symmetry? I am willing to work on the patch, it just might be a bit.
As well, either way, it might be useful for the
Josh Cogliati added the comment:
Thank you for telling me about that function. I read the documentation
on hex() and never realized that there was a second instance method
float.hex().
I am curious why the proper way to turn a number into hex is the following:
import types
def to_hex(a
Changes by Josh Cogliati :
--
type: -> feature request
___
Python tracker
<http://bugs.python.org/issue7028>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Josh Cogliati :
The hex() builtin function only takes integers. Also there is no way to
create a floating point number from a hexadecimal string. However it
would often be useful to be able to see the hexadecimal version of an
float since this is an exact representation as
Josh Cogliati <[EMAIL PROTECTED]> added the comment:
Hm. Well, after filing the bug, I created a thread for each subprocess,
and had that thread do an wait on the process, and that worked fine.
So, I guess at minimum it sounds like the documentation for poll could
be improved to mentio
New submission from Josh Cogliati <[EMAIL PROTECTED]>:
I was trying to use subprocess to run multiple processes, and then wait
until one was finished. I was using poll() to do this and created the
following test case:
#BEGIN
import subprocess,os
procs = [subprocess.Popen(["sleep&qu