HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
amitassaraf
lang
Python2016–2016
amitassaraf / lang · Archived

lang

Module for enforcing language constraints in Python

2Distinct people
2Mentions
0Explicit recommenders
70GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Module for enforcing language constraints in Python

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2016-02-13 13:49:51 UTC to 2016-02-13 15:10:39 UTC.

012016-02-13 13:00:00 UTC to 2016-02-13 14:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsFeb 13, 13:002016-02-13 14:00:00 UTC to 2016-02-13 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 13, 14:002016-02-13 15:00:00 UTC to 2016-02-13 16:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 13, 15:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Feb 13, 13:002016-02-13 13:00:00 UTC2016-02-13 14:00:00 UTC110
Feb 13, 14:002016-02-13 14:00:00 UTC2016-02-13 15:00:00 UTC000
Feb 13, 15:002016-02-13 15:00:00 UTC2016-02-13 16:00:00 UTC101

What Hacker News says

2 sources
This will add some overhead for every single call to such wrapped function. If you use that extensively for many classes, won't that be a huge performance degradation? It would maybe be nice to have a flag so that these wrappings apply only in test or debug mode. Also, it works e.g. by using `inspect.currentframe().f_back.f_back`. I'm not sure if that is such a clean and stable solution. (See e.g. here: https://github.com/amitassaraf/lang/blob/master/src/lang/acc...) E.g. when you add other wrappers around your function, I'm quite sure that this would break.
In Lang: Python module for enforcing programming language constraints

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.