
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
gen_eval is a homebrew version of instance_eval that eliminates the most annoying aspect of its use:
For example:
@x = 20
@y = 30
my_image.instance_eval {
circle @x, @y, 20
}
=> error @x not initialized
In the above code the programmer means to access the local @x yet instance_eval looks up @x in the receiver (my_image).
gen_eval, on the other hand, works as you'd expect, it looks up @x in the caller-context yet still invokes methods in the receiver-context.
This means we can now do things like this:
@x = 20
@y = 30
image.gen_eval {
pixel @x, @y
circle @x, @y, 20
}
FAQs
Unknown package
We found that gen_eval demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.