This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from inspect import isfunction, isclass, ismethod | |
import re | |
import builtins | |
from functools import wraps, partial, reduce | |
from copy import deepcopy | |
import ast | |
import copy | |
import inspect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "time" | |
func main() { | |
// Variables we'll need | |
x := make(chan int) | |
y := make(chan int, 1) | |
// If chaining channels together will present old values rather than new ones, we'll see a deadlock instead of 6. |
OlderNewer