New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asyncore sillies #40384
Comments
current cvs head, mac os x 10.2, debug build of python. test_asynchat fails if and only if the compiled asyncore.pyc this makes no sense to me, but it's consistent. |
Logged In: YES Oh my: >>> 1e309
Inf
[40577 refs]
>>> marshal.loads(marshal.dumps(1e309))
0.0
[40577 refs] this must be the new "LC_NUMERIC agnostic" stuff, right? |
Logged In: YES Well, what marshal (or pickle) do with an infinity (or NaN, or Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> 1e309
1.#INF
>>> import marshal
>>> marshal.loads(marshal.dumps(1e309))
1.0
>>> So simply can't use a literal 1e309 in compiled code. There's |
Logged In: YES actually, i think the summary is that the most recent change to |
Logged In: YES Is it worth making marshal issue a warning when someone |
Logged In: YES marshal doesn't know whether the input is an infinity; that's |
Logged In: YES I think this can be closed now. A half-assed test could be |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: