ext
>lib_dir = "/lib"
>libs = glob.glob(os.path.join(lib_dir, "*s.o"))
>==>
>lib_dir = Path("/lib")
>libs = lib_dir.files("*.so")
Probably that should be:
...
libs = glob.g
ative_tolerance.
As to the equation itself, wouldn't a symmetric version be somewhat
better?
def nearby(x, y, rel_tol=1.e-5, abs_tol=1.e-8):
return abs(x - y) < abs_tol + rel_tol * (abs(x) + abs(y))
This avoids areclose(0, 1e-8) != areclose(1e-8, 0), for example.
--Scott David
difference <= max(abs(x), abs(y)) * relative_tol)
I use <=, since "zero-tolerance" should pass equal values.
--Scott David Daniels
[EMAIL PROTECTED]
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python
This is too-little, too-late (I was offline this past week), but for those who
enjoy digging through historical archives, the Tcl folks had an interesting
stubs mechanism that was *supposed* to solve the versioning issue (although I
suspect it hasn’t actually done much in that regard) in additio
Oddly, I did not get Mark's original e-mail, but am seeing replies here.
Piggybacking off of James' email here...
On 03/12/2019 16:15, Mark Shannon wrote:
> Hi Everyone,
>
> I am proposing a new PEP, still in draft form, to impose a limit of one
> million on various aspects
On Mon 12/16/19, 9:59 AM, "David Mertz"
mailto:me...@gnosis.cx>> wrote:
Admittedly, I was only lukewarm about making an insertion-order guarantee for
dictionaries too. But for sets I feel more strongly opposed. Although it
seems unlikely now, if some improved implementation
2101 - 2106 of 2106 matches
Mail list logo