-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path_weakref.lisp
41 lines (32 loc) · 1.05 KB
/
_weakref.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CLPYTHON.MODULE._WEAKREF -*-
;;
;; This software is Copyright (c) Franz Inc. and Willem Broekema.
;; Franz Inc. and Willem Broekema grant you the rights to
;; distribute and use this software as governed by the terms
;; of the Lisp Lesser GNU Public License
;; (http://opensource.franz.com/preamble.html),
;; known as the LLGPL.
(in-package :clpython.module._weakref)
(defun |getweakrefcount| (x)
(declare (ignore x))
(error "TODO"))
(defun |getweakrefs| (x)
(declare (ignore x))
(error "TODO"))
(defclass |ref| (clpython:object)
()
(:metaclass clpython:py-type))
(defun |proxy| (x &optional callback)
(declare (ignore x callback))
(error "TODO"))
(defclass |ProxyType| (clpython:object)
()
(:metaclass clpython:py-type))
(defclass |CallableProxyType| (clpython:object)
()
(:metaclass clpython:py-type))
(defclass |ReferenceType| (clpython:object)
()
(:metaclass clpython:py-type))
(defparameter |ReferenceError|
(find-class 'clpython.user.builtin.type.exception:|ReferenceError|))