[pypy-commit] [Git][pypy/pypy][branch/py3.8] 93 commits: call more appropriate methods a bit everywhere

Carl Friedrich Bolz-Tereick foss at heptapod.net
Fri Mar 5 15:44:43 EST 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8 at PyPy / pypy


Commits:
48b98346 by Carl Friedrich Bolz-Tereick at 2021-02-04T13:44:54+01:00
call more appropriate methods a bit everywhere

--HG--
branch : intbound-improvements-3

- - - - -
77dc56b7 by Carl Friedrich Bolz-Tereick at 2021-02-04T14:23:10+01:00
more of same

--HG--
branch : intbound-improvements-3

- - - - -
48be10cf by Carl Friedrich Bolz-Tereick at 2021-02-04T14:26:58+01:00
kill unnecessary imports

--HG--
branch : intbound-improvements-3

- - - - -
dc65a713 by Carl Friedrich Bolz-Tereick at 2021-02-04T15:07:36+01:00
document branch

--HG--
branch : intbound-improvements-3

- - - - -
0e49cf0c by Carl Friedrich Bolz-Tereick at 2020-04-26T17:37:20+02:00
make the JIT reason about int_invert and int_neg

--HG--
branch : intbound-improvements-3

- - - - -
38d9440a by Carl Friedrich Bolz-Tereick at 2020-04-29T11:06:35+02:00
better reasoning about upper bounds of or and xor, and about lower bounds of or

--HG--
branch : intbound-improvements-3

- - - - -
4f222570 by Carl Friedrich Bolz-Tereick at 2020-04-28T18:39:09+02:00
fix type-unsafe test

--HG--
branch : intbound-improvements-3

- - - - -
5d70c6a9 by Carl Friedrich Bolz-Tereick at 2021-02-15T17:05:28+01:00
Backed out changeset f1c2880a6b49
(some test fails weirdly, trying to see what caused it)

--HG--
branch : intbound-improvements-3

- - - - -
625bd7d5 by Carl Friedrich Bolz-Tereick at 2021-02-21T12:50:27+01:00
merge intbount-improvements-3

refactor the intbounds analyzer a little bit, add some optimizations for
int_neg and int_invert

- - - - -
e67c4108 by Matti Picus at 2021-02-21T16:24:11+02:00
test, fix for PyObject_Format(space.wrap(type('a')), None)

--HG--
branch : issue-3404

- - - - -
3dc2b420 by Matti Picus at 2021-02-21T20:05:34+02:00
update cffi to c16abb8f809f

- - - - -
fdfe9d93 by Matti Picus at 2021-02-21T20:20:13+02:00
merge branch to fix PyObject_Format for type objects (issue 3404)

- - - - -
03705a70 by Matti Picus at 2021-02-21T20:22:22+02:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
b8e08a49 by Matti Picus at 2021-02-21T20:23:19+02:00
typo

--HG--
branch : py3.7

- - - - -
eea32247 by Maciej Fijalkowski at 2021-02-23T11:40:07+00:00
update the files for vmprof-python

- - - - -
c4cf8ba6 by Maciej Fijalkowski at 2021-02-23T11:55:19+00:00
Start a new branch to get support for vmprof on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
3f8b27b0 by Maciej Fijalkowski at 2021-02-23T12:20:02+00:00
actually enable vmprof on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
60e509fc by Matti Picus at 2021-02-23T18:08:03+02:00
fix use of `pip install --local`

--HG--
branch : py3.7

- - - - -
fc55b62e by Matti Picus at 2021-02-23T19:18:08+02:00
sync with upstream

--HG--
branch : py3.7

- - - - -
d565840e by Matti Picus at 2021-02-24T16:48:39+02:00
fix use of pip install --user (bcc3432e03bb should have been "fix site.py for python implementation")

--HG--
branch : py3.7

- - - - -
5c2c65f2 by Matti Picus at 2021-02-24T16:49:40+02:00
more upstream syncing - move inttypes.h into pyport.h (issue 3407)

- - - - -
bf450c01 by Matti Picus at 2021-02-24T16:49:40+02:00
more upstream syncing - move inttypes.h into pyport.h (issue 3407)

--HG--
branch : py3.7

- - - - -
2dd2c855 by Carl Friedrich Bolz-Tereick at 2021-02-25T09:53:25+01:00
copy an optimization from CPython: when the search string of str.replace and
str.split doesn't occur in the string, don't create a copy but just reuse self.

--HG--
branch : string-algorithmic-optimizations

- - - - -
3a354ad3 by Carl Friedrich Bolz-Tereick at 2021-02-25T10:10:23+01:00
second optimization: have a fast path in replace for single character strings
here too

--HG--
branch : string-algorithmic-optimizations

- - - - -
5e22ae11 by Carl Friedrich Bolz-Tereick at 2021-02-25T13:02:10+01:00
fix a tiny performance bug in our string search that we ported from cpython.
the condition is a bit complicated:

- we need a last character that is unique in the string
- we are at a position in the string that matches the last character, but a
  previous char is a mismatch
- the next char in the haystack is in the bloom filter

if all this is met, we want to skip a whole needle length, not len(needle) - 1

this was pointed out by Tim Peters here: https://bugs.python.org/msg378301

--HG--
branch : string-algorithmic-optimizations

- - - - -
b8c07440 by Carl Friedrich Bolz-Tereick at 2021-02-25T13:15:00+01:00
add a random test for finding

--HG--
branch : string-algorithmic-optimizations

- - - - -
ebb8901f by Armin Rigo at 2021-02-26T10:39:29+01:00
Tests (passing) for _continulet switching to a different thread

- - - - -
a7da745c by Armin Rigo at 2021-02-26T11:21:42+01:00
Test and fix for #3381

- - - - -
38f81ebc by Armin Rigo at 2021-02-26T11:37:16+01:00
Copy dummy constants from greenlet 1.0.0

- - - - -
36829bf3 by Carl Friedrich Bolz-Tereick at 2021-02-26T11:58:51+01:00
follow what cpython is doing more systematically:

add similar cases, stop using StringBuilder, make a correctly sized llstr
directly. needs a refactoring

--HG--
branch : string-algorithmic-optimizations

- - - - -
888361fd by Carl Friedrich Bolz-Tereick at 2021-02-26T13:40:42+01:00
remove code duplication with rstr by having the real implementation of search
only live in rlib/rstring.py

--HG--
branch : string-algorithmic-optimizations

- - - - -
091c2b01 by Carl Friedrich Bolz-Tereick at 2021-02-26T14:08:44+01:00
maxsplit -> maxcount for replace functions

--HG--
branch : string-algorithmic-optimizations

- - - - -
0dbba608 by Carl Friedrich Bolz-Tereick at 2021-02-26T14:09:59+01:00
fix translation

--HG--
branch : string-algorithmic-optimizations

- - - - -
b63ca915 by Carl Friedrich Bolz-Tereick at 2021-02-26T21:03:03+01:00
remove pdb

--HG--
branch : string-algorithmic-optimizations

- - - - -
35e756c6 by Carl Friedrich Bolz-Tereick at 2021-02-26T22:10:41+01:00
BINARY_DIVIDE is gone on 3.x

--HG--
branch : py3.7

- - - - -
528d99e1 by Carl Friedrich Bolz-Tereick at 2021-02-28T14:43:32+01:00
add whatsnew

--HG--
branch : string-algorithmic-optimizations

- - - - -
27181592 by Carl Friedrich Bolz-Tereick at 2021-02-28T14:44:08+01:00
merge string-algorithmic-optimizations

- - - - -
680060b9 by fijal at 2021-03-01T14:18:12+02:00
an attempt to get vmprof going on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
1028285d by fijal at 2021-03-01T14:20:29+02:00
seems sometimes we have mc sometimes we dont

--HG--
branch : vmprof-aarch64

- - - - -
6e0e3220 by fijal at 2021-03-01T14:23:45+02:00
use the real way to do it

--HG--
branch : vmprof-aarch64

- - - - -
6b8b1ffa by Matti Picus at 2021-03-01T14:29:10+02:00
sprinkle more links to heptapod in the docs, update some older pages

- - - - -
c8c3ad09 by Matti Picus at 2021-03-01T14:38:36+02:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
21b8210b by Matti Picus at 2021-03-01T14:49:37+02:00
fix merge

--HG--
branch : py3.7

- - - - -
7ea34c4d by Maciej Fijalkowski at 2021-03-01T15:17:34+00:00
hopefully add vmprof support to pypy on aarch64

--HG--
branch : vmprof-aarch64

- - - - -
814e0a15 by fijal at 2021-03-01T21:14:32+02:00
close to be merged branch

--HG--
branch : vmprof-aarch64

- - - - -
4f926cc6 by fijal at 2021-03-01T21:14:49+02:00
Implement vmprof support for aarch64

- - - - -
451be290 by Matti Picus at 2021-03-02T07:25:29+02:00
document branch

- - - - -
978b3dd7 by Matti Picus at 2021-03-02T07:26:14+02:00
merge default into branch

--HG--
branch : py3.7

- - - - -
f57ce76d by Matti Picus at 2021-03-02T08:17:15+02:00
fix structseq attribute setter error message

- - - - -
8e095afd by Matti Picus at 2021-03-02T10:49:08+02:00
sync Py_.*Flags with sys.flags, issue 3409

- - - - -
5bd4267b by Matti Picus at 2021-03-02T11:59:50+02:00
make init_flags a init_function

- - - - -
c907a74e by Carl Friedrich Bolz-Tereick at 2021-03-02T13:10:56+01:00
re-do 444773826a28 which got lost in a merge

--HG--
branch : py3.7

- - - - -
755189fb by Carl Friedrich Bolz-Tereick at 2021-03-02T13:23:40+01:00
fast path for unicode.upper/lower for ascii

- - - - -
c6e6d80c by Carl Friedrich Bolz-Tereick at 2021-03-02T14:35:35+01:00
add ascii fast paths to the tolower/toupper functions of the unicode dbs too

(the part of the diff around special casing is due to c6650aed42e0 not
regenerating *all* unicodedb versions, only unicodedb_5_2_0)

- - - - -
0d470e57 by Carl Friedrich Bolz-Tereick at 2021-03-02T20:37:27+01:00
some ascii fast paths of latin-1 encoding/decoding

- - - - -
00a76e59 by Carl Friedrich Bolz-Tereick at 2021-03-02T21:27:45+01:00
woops

- - - - -
662757c6 by Carl Friedrich Bolz-Tereick at 2021-03-02T21:37:47+01:00
fix translation (can't iterate over tuples in rpython)

- - - - -
1e30e66c by Carl Friedrich Bolz-Tereick at 2021-03-03T10:02:21+01:00
test and fix in the ascii prefix shortcut

- - - - -
9acd6b83 by Carl Friedrich Bolz-Tereick at 2021-03-03T10:15:29+01:00
fix incorrect test

- - - - -
5106061a by Matti Picus at 2021-03-03T11:20:24+02:00
merge default into branch

--HG--
branch : py3.7

- - - - -
d685ad8e by Matti Picus at 2021-03-03T11:40:54+02:00
fix merge for py3.7, redo 95aba12aa102

--HG--
branch : py3.7

- - - - -
a47f841d by Carl Friedrich Bolz-Tereick at 2021-03-03T11:02:06+01:00
merge default

--HG--
branch : py3.7

- - - - -
475f9fc6 by Carl Friedrich Bolz-Tereick at 2021-03-03T11:04:32+01:00
consistent in naming static method with py3.7 branch

- - - - -
f5fc3e4d by Carl Friedrich Bolz-Tereick at 2021-03-03T11:05:27+01:00
merge default

--HG--
branch : py3.7

- - - - -
55e8a7f3 by Carl Friedrich Bolz-Tereick at 2021-03-03T14:05:45+01:00
add a jit driver for re.split

- - - - -
30377d3f by Matti Picus at 2021-03-03T23:56:27+02:00
port fixes for bpo-42051 reject XML entity declarations in plist files

--HG--
branch : py3.7

- - - - -
bb79f00a by Matti Picus at 2021-03-04T00:02:24+02:00
port fixes for bpo-42051 reject XML entity declarations in plist files

- - - - -
cd2b842e by Matti Picus at 2021-03-04T00:06:55+02:00
No longer call eval() on content received via HTTP in CJK codec tests (bpo-41944)

- - - - -
5afc3827 by Matti Picus at 2021-03-04T00:09:51+02:00
No longer call eval() on content received via HTTP in CJK codec tests (bpo-41944)

--HG--
branch : py3.7

- - - - -
6ed162ed by Carl Friedrich Bolz-Tereick at 2021-03-04T11:27:40+01:00
add a test for the unicode case

- - - - -
22aa2ecf by Matti Picus at 2021-03-04T13:55:32+02:00
add missing import

--HG--
branch : py3.7

- - - - -
311b8e94 by Matti Picus at 2021-03-04T14:19:47+02:00
update to stdlib 3.7.10

--HG--
branch : vendor/stdlib-3.7

- - - - -
bc11d37b by Matti Picus at 2021-03-04T14:25:04+02:00
update stdlib to 3.7.10

--HG--
branch : py3.7

- - - - -
d0cad0fa by Matti Picus at 2021-03-04T14:37:28+02:00
bpo-40791: Make compare_digest more constant-time

- - - - -
dba3fa43 by Carl Friedrich Bolz-Tereick at 2021-03-04T16:17:03+01:00
merge default

--HG--
branch : py3.7

- - - - -
ede9bf7d by Matti Picus at 2021-03-04T18:09:42+02:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
896d5141 by Matti Picus at 2021-03-04T18:10:08+02:00
merge heads

--HG--
branch : py3.7

- - - - -
29d3bbc9 by Matti Picus at 2021-03-04T18:19:41+02:00
update version to 3.7.10

--HG--
branch : py3.7

- - - - -
84084e62 by Matti Picus at 2021-03-04T18:26:55+02:00
merge heads

- - - - -
e61df392 by Matti Picus at 2021-03-04T21:40:20+02:00
bpo-42967: only use '&' as a query string separator

- - - - -
2f5ba8b7 by Matti Picus at 2021-03-05T09:07:07+02:00
fix bad merge

- - - - -
a53801b7 by Matti Picus at 2021-03-05T09:07:56+02:00
backed out changeset 12a7226bdbaa, doesn't work on 2.7

- - - - -
e3acd923 by Matti Picus at 2021-03-05T09:10:25+02:00
merge default into py3.7

--HG--
branch : py3.7

- - - - -
daa29890 by Matti Picus at 2021-03-05T09:19:36+02:00
fix so test can run

--HG--
branch : py3.7

- - - - -
7c67eddd by Matti Picus at 2021-03-05T09:24:36+02:00
document merged branch

--HG--
branch : py3.7

- - - - -
d5bbe31d by Matti Picus at 2021-03-05T09:35:47+02:00
not worth the effort to test Py_*Flags untranslated with MSVC

- - - - -
fca13894 by Matti Picus at 2021-03-05T09:38:27+02:00
merge default into branch

--HG--
branch : py3.7

- - - - -
8cc34b84 by Carl Friedrich Bolz-Tereick at 2021-03-05T11:32:54+01:00
add a hack that fixes test_ztranslation of _hpy_universal

--HG--
branch : py3.7

- - - - -
a45767ce by Carl Friedrich Bolz-Tereick at 2021-03-05T11:44:34+01:00
better place for the hack

--HG--
branch : py3.7

- - - - -
fa273acf by Carl Friedrich Bolz-Tereick at 2021-03-05T12:25:31+01:00
speaking of hacks: fix test_ztranslation of _posixsubprocess

--HG--
branch : py3.7

- - - - -
418727b5 by Matti Picus at 2021-03-05T14:14:06+02:00
comment how cpython fixed a failing test

--HG--
branch : py3.7

- - - - -
adf6c996 by Carl Friedrich Bolz-Tereick at 2021-03-05T21:37:39+01:00
add c_/f_/contiguous flags on memoryview

--HG--
branch : py3.7

- - - - -
c9633cd0 by Carl Friedrich Bolz-Tereick at 2021-03-05T21:44:17+01:00
merge py3.7

--HG--
branch : py3.8

- - - - -


30 changed files:

- extra_tests/cffi_tests/test_c.py
- lib-python/3/cgi.py
- lib-python/3/ctypes/test/test_parameters.py
- lib-python/3/distutils/command/install.py
- lib-python/3/plistlib.py
- lib-python/3/pydoc_data/topics.py
- lib-python/3/site.py
- lib-python/3/sysconfig.py
- lib-python/3/test/test_cgi.py
- lib-python/3/test/test_nntplib.py
- lib-python/3/test/test_plistlib.py
- lib-python/3/test/test_urlparse.py
- lib-python/3/urllib/parse.py
- lib_pypy/_structseq.py
- lib_pypy/cffi/verifier.py
- lib_pypy/greenlet.py
- pypy/doc/Makefile
- pypy/doc/contributing.rst
- pypy/doc/dev_method.rst
- pypy/doc/faq.rst
- pypy/doc/index.rst
- pypy/doc/whatsnew-head.rst
- pypy/doc/whatsnew-pypy3-head.rst
- pypy/interpreter/app_main.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/test/apptest_exceptions.py
- pypy/interpreter/test/test_unicodehelper.py
- pypy/interpreter/unicodehelper.py
- pypy/module/_cffi_backend/test/_backend_test_c.py
- pypy/module/_continuation/interp_continuation.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/d9013feee260a4223a92c8be1af93fdb22072dbd...c9633cd0cbc2d68dd3e551be35e31b824f6c51fc

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/d9013feee260a4223a92c8be1af93fdb22072dbd...c9633cd0cbc2d68dd3e551be35e31b824f6c51fc
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20210305/10367864/attachment-0001.html>


More information about the pypy-commit mailing list