Commit 1cdb721d authored by Kirill Smelkov's avatar Kirill Smelkov

*: Update PyPy-related links from bitbucket to heptapod

PyPy changed home from bitbucket to foss.heptapod recently[1]. The old
links on bitbucket no longer works. -> Update bitbucket links to their
correspondents on foss.heptapod.net .

[1] https://morepypy.blogspot.com/2020/02/pypy-and-cffi-have-moved-to-heptapod.html
parent de09663c
Pipeline #12677 failed with stage
in 0 seconds
......@@ -356,7 +356,7 @@ Pygolang change history
__ https://lab.nexedi.com/nexedi/pygolang/commit/5aa1e899
__ https://lab.nexedi.com/nexedi/pygolang/commit/5142460d
__ https://bugs.python.org/issue38106
__ https://bitbucket.org/pypy/pypy/issues/3072
__ https://foss.heptapod.net/pypy/pypy/-/issues/3072
- If C-level panic causes termination, its argument is now printed (commit__).
......
# -*- coding: utf-8 -*-
# Copyright (C) 2019 Nexedi SA and Contributors.
# Copyright (C) 2019-2020 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
......@@ -37,7 +37,7 @@ def afterimport(modname):
#print('patching %s ...' % (modname,))
f()
# XXX on pypy < 7.3 lazy-loading fails: https://bitbucket.org/pypy/pypy/issues/3099
# XXX on pypy < 7.3 lazy-loading fails: https://foss.heptapod.net/pypy/pypy/-/issues/3099
# -> import & patch eagerly
if 'PyPy' in sys.version and sys.pypy_version_info < (7,3):
try:
......
......@@ -60,7 +60,7 @@ from libc.stdio cimport printf
# did the original acquire. This used to corrupt memory and deadlock on macOS
# due to CPython & PyPy runtime bugs:
# https://bugs.python.org/issue38106
# https://bitbucket.org/pypy/pypy/issues/3072
# https://foss.heptapod.net/pypy/pypy/-/issues/3072
cdef nogil:
struct WorkState:
sync.Mutex mu # protects vvv
......
......@@ -1363,7 +1363,7 @@ def test_defer_excchain():
# verify that recover breaks exception chain.
@mark.xfail('PyPy' in sys.version and sys.version_info >= (3,) and sys.pypy_version_info < (7,3),
reason="https://bitbucket.org/pypy/pypy/issues/3096")
reason="https://foss.heptapod.net/pypy/pypy/-/issues/3096")
def test_defer_excchain_vs_recover():
@func
def _():
......
# cython: language_level=2
# Copyright (C) 2019 Nexedi SA and Contributors.
# Copyright (C) 2019-2020 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
......@@ -46,8 +46,8 @@ from cpython.pythread cimport PyThread_acquire_lock, PyThread_release_lock, \
#
# PyPy has the same bug for both pypy2 and pypy3:
#
# https://bitbucket.org/pypy/pypy/src/578667b3fef9/rpython/translator/c/src/thread_pthread.c#lines-443:465
# https://bitbucket.org/pypy/pypy/src/5b42890d48c3/rpython/translator/c/src/thread_pthread.c#lines-443:465
# https://foss.heptapod.net/pypy/pypy/-/blob/ab03445c3b48/rpython/translator/c/src/thread_pthread.c#L443-465
# https://foss.heptapod.net/pypy/pypy/-/blob/release-pypy3.5-v7.0.0/rpython/translator/c/src/thread_pthread.c#L443-465
#
# This way when Pygolang is used with buggy Python/darwin, the bug leads to
# frequently appearing deadlocks, while e.g. CPython3/darwin works ok.
......@@ -55,7 +55,7 @@ from cpython.pythread cimport PyThread_acquire_lock, PyThread_release_lock, \
# The bug was reported to CPython/PyPy upstreams:
#
# - https://bugs.python.org/issue38106
# - https://bitbucket.org/pypy/pypy/issues/3072
# - https://foss.heptapod.net/pypy/pypy/-/issues/3072
#
# and fixed in CPython 2.7.17 and PyPy 7.2 .
import sys, platform
......@@ -68,7 +68,7 @@ if 'darwin' in sys.platform:
buglink = "https://bugs.python.org/issue38106"
if 'PyPy' in pyimpl and sys.pypy_version_info < (7,2):
buggy = "pypy/darwin < 7.2"
buglink = "https://bitbucket.org/pypy/pypy/issues/3072"
buglink = "https://foss.heptapod.net/pypy/pypy/-/issues/3072"
if buggy:
print("WARNING: pyxgo: thread: %s has race condition bug in runtime"
" that leads to deadlocks (%s)" % (buggy, buglink), file=sys.stderr)
......
......@@ -240,7 +240,7 @@ def test_waitgroup():
# PyErr_Restore_traceback_ok indicates whether python exceptions are restored with correct traceback.
# It is always the case for CPython, but PyPy < 7.3 had a bug:
# https://bitbucket.org/pypy/pypy/issues/3120/pyerr_restore-does-not-restore-traceback
# https://foss.heptapod.net/pypy/pypy/-/issues/3120
PyErr_Restore_traceback_ok = True
if 'PyPy' in sys.version and sys.pypy_version_info < (7,3):
PyErr_Restore_traceback_ok = False
......
......@@ -296,7 +296,7 @@ def main():
# (on py3 _thread is imported by the interpreter early to support fine-grained import lock)
avoid = ['pkg_resources', 'golang', 'socket', 'select', 'threading',
'thread', 'ssl', 'subprocess']
# pypy7 made time always pre-imported (https://bitbucket.org/pypy/pypy/commits/6759b768)
# pypy7 made time always pre-imported (https://foss.heptapod.net/pypy/pypy/-/commit/f4fa167b)
# cpython3.8 made time always pre-imported via zipimport hook:
# https://github.com/python/cpython/commit/79d1c2e6c9d1 (`import time` in zipimport.py)
pypy = ('PyPy' in sys.version)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment