[pypy-commit] [Mercurial][pypy/pypy][branch/py3.10] 6 commits: refactor code, raise OSError in gmtime like in localtime

2023-11-21 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/py3.10 at PyPy / pypy Commits: 851e0d2e by Matti Picus at 2023-11-21T09:09:39+02:00 refactor code, raise OSError in gmtime like in localtime --HG-- branch : py3.9 - - - - - 374b6a00 by Matti Picus at 2023-11-21T19:24:09+02:00 special case startswith, endswi

[pypy-commit] [Mercurial][pypy/pypy][branch/py3.9] trick test into working by mocking gc.collect, call desctructor in capsule_dealloc

2023-11-21 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/py3.9 at PyPy / pypy Commits: ccfbedc1 by Matti Picus at 2023-11-22T00:01:06+02:00 trick test into working by mocking gc.collect, call desctructor in capsule_dealloc Also skip part of the stdlib capsule tests that asusme capsules exist in various modules -

[pypy-commit] [Mercurial][pypy/pypy][branch/py3.9] special case startswith, endswith for bytearray to handle final null char

2023-11-21 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/py3.9 at PyPy / pypy Commits: 374b6a00 by Matti Picus at 2023-11-21T19:24:09+02:00 special case startswith, endswith for bytearray to handle final null char This will copy the contents and be slower. --HG-- branch : py3.9 - - - - - 2 changed files: - py