Skip to content

Instantly share code, notes, and snippets.

package main
import (
"bufio"
"fmt"
"log"
"net/url"
"os"
"strings"
"time"
import ctypes
import gc
# Ctypes helps us to access unreachable objects by "memory address"
class PyObject(ctypes.Structure):
_fields_ = [("refcnt", ctypes.c_long)]
class SomeWeirdClass: