[prev in list] [next in list] [prev in thread] [next in thread]
List: pypy-svn
Subject: [pypy-commit] [Git][pypy/pypy][branch/max_int_threshold] 5 commits: test, fix max_str_int for bigint
From: "Matti Picus ( () mattip)" <foss () heptapod ! net>
Date: 2022-10-27 11:26:51
Message-ID: 635a6afb218aa_1b514f85c80611 () heptapod-foss ! mail
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Matti Picus pushed to branch branch/max_int_threshold at PyPy / pypy
Commits:
85097e12 by Matti Picus at 2022-10-26T17:49:20+02:00
test, fix max_str_int for bigint -> str for cpython compatiblitly.
We may want to diverge from CPython and set separate str -> int and int -> str \
thresholds
--HG--
branch : max_int_threshold
- - - - -
0c0657ce by Matti Picus at 2022-10-27T03:34:52+02:00
push check for bigint max_str_digits into rstring
--HG--
branch : max_int_threshold
- - - - -
addc31b4 by Matti Picus at 2022-10-27T11:42:44+02:00
test, fix some edge cases
--HG--
branch : max_int_threshold
- - - - -
3ce12eb5 by Matti Picus at 2022-10-27T11:43:49+02:00
stdlib change: timing test is different on PyPy, 50,000 digits is too fast
--HG--
branch : max_int_threshold
- - - - -
6a2514bf by Matti Picus at 2022-10-27T13:26:10+02:00
test, fix edge case with leading '-' in bigint -> str
--HG--
branch : max_int_threshold
- - - - -
7 changed files:
- lib-python/3/test/test_int.py
- pypy/objspace/std/intobject.py
- pypy/objspace/std/longobject.py
- pypy/objspace/std/test/test_longobject.py
- rpython/rlib/rarithmetic.py
- rpython/rlib/rbigint.py
- rpython/rlib/rstring.py
View it on Heptapod: \
https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00
--
View it on Heptapod: \
https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00
You're receiving this email because of your account on foss.heptapod.net.
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" \
"http://www.w3.org/TR/REC-html40/loose.dtd"> <html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
Heptapod
</title>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", \
Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI \
Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: inherit; }
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; \
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", \
Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI \
Emoji", "Segoe UI Symbol", "Noto Color Emoji";'> <div class="content">
<h3 style="margin-top: 20px; margin-bottom: 10px;">
Matti Picus pushed to branch branch/max_int_threshold
at <a href="https://foss.heptapod.net/pypy/pypy" style="color: #1068bf; \
text-decoration: none;">PyPy / pypy</a> </h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: bold;"><a \
href="https://foss.heptapod.net/pypy/pypy/-/commit/85097e12b6b9ad5b28084c7fd28d276f9ce82013" \
style="color: #1068bf; text-decoration: none;">85097e12</a></strong> <div>
<span>by Matti Picus</span>
<i>at 2022-10-26T17:49:20+02:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: \
0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans \
Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", \
"lucida console", monospace; word-break: break-all; word-wrap: break-word; \
background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: \
1px solid #dbdbdb;'>test, fix max_str_int for bigint -> str for cpython \
compatiblitly.
We may want to diverge from CPython and set separate str -> int and int -> str \
thresholds
--HG--
branch : max_int_threshold
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a \
href="https://foss.heptapod.net/pypy/pypy/-/commit/0c0657ce1f8e4c3f8ca9a32604dd144e2fa52e26" \
style="color: #1068bf; text-decoration: none;">0c0657ce</a></strong> <div>
<span>by Matti Picus</span>
<i>at 2022-10-27T03:34:52+02:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: \
0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans \
Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", \
"lucida console", monospace; word-break: break-all; word-wrap: break-word; \
background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: \
1px solid #dbdbdb;'>push check for bigint max_str_digits into rstring
--HG--
branch : max_int_threshold
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a \
href="https://foss.heptapod.net/pypy/pypy/-/commit/addc31b48524cdea78a08436594b5592c812cb20" \
style="color: #1068bf; text-decoration: none;">addc31b4</a></strong> <div>
<span>by Matti Picus</span>
<i>at 2022-10-27T11:42:44+02:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: \
0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans \
Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", \
"lucida console", monospace; word-break: break-all; word-wrap: break-word; \
background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: \
1px solid #dbdbdb;'>test, fix some edge cases
--HG--
branch : max_int_threshold
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a \
href="https://foss.heptapod.net/pypy/pypy/-/commit/3ce12eb57073a2e08c58c0fc04a9ea7d3edb6de5" \
style="color: #1068bf; text-decoration: none;">3ce12eb5</a></strong> <div>
<span>by Matti Picus</span>
<i>at 2022-10-27T11:43:49+02:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: \
0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans \
Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", \
"lucida console", monospace; word-break: break-all; word-wrap: break-word; \
background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: \
1px solid #dbdbdb;'>stdlib change: timing test is different on PyPy, 50,000 digits is \
too fast
--HG--
branch : max_int_threshold
</pre>
</li>
<li>
<strong style="font-weight: bold;"><a \
href="https://foss.heptapod.net/pypy/pypy/-/commit/6a2514bfcf73e294adfa8182a1a4c7d47b49ca00" \
style="color: #1068bf; text-decoration: none;">6a2514bf</a></strong> <div>
<span>by Matti Picus</span>
<i>at 2022-10-27T13:26:10+02:00</i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: \
0.8125rem; color: #303030; position: relative; font-family: "Menlo", "DejaVu Sans \
Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", \
"lucida console", monospace; word-break: break-all; word-wrap: break-word; \
background-color: #fafafa; border-radius: 2px; margin: 0; padding: 8px 12px; border: \
1px solid #dbdbdb;'>test, fix edge case with leading '-' in bigint -> str
--HG--
branch : max_int_threshold
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">7 changed files:</h4>
<ul>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#46566d38f097ba980c34ccfc30c7cb2d9f55a223" \
style="color: #1068bf; text-decoration: none;"> lib-python/3/test/test_int.py
</a>
</li>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#6c156b2e7423c04e769bc6351bd89cdde8a5ba76" \
style="color: #1068bf; text-decoration: none;"> pypy/objspace/std/intobject.py
</a>
</li>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#97caf21ee46983f8d272ba83198f68c179ade281" \
style="color: #1068bf; text-decoration: none;"> pypy/objspace/std/longobject.py
</a>
</li>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#f692f0baefeb0c6fd583c89ac253ad9e3adf2e6c" \
style="color: #1068bf; text-decoration: none;"> \
pypy/objspace/std/test/test_longobject.py </a>
</li>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#62a5528fc781d33cc5e5f9cf6c76d5d0980fcc1b" \
style="color: #1068bf; text-decoration: none;"> rpython/rlib/rarithmetic.py
</a>
</li>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#c0ab076e47c94b8507d2cdb41ef12d9eefbed07f" \
style="color: #1068bf; text-decoration: none;"> rpython/rlib/rbigint.py
</a>
</li>
<li class="file-stats">
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039 \
fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00#5276df1fb4c46e53be4eb69a30dbe69a850eac5a" \
style="color: #1068bf; text-decoration: none;"> rpython/rlib/rstring.py
</a>
</li>
</ul>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">
—
<br>
<a href="https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00" \
style="color: #1068bf; text-decoration: none;">View it on Heptapod</a>. <br>
You're receiving this email because of your account on foss.heptapod.net.
If you'd like to receive fewer emails, you can
adjust your notification settings.
</p>
</div>
</body>
</html>
_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-leave@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: pypy-svn@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic