Raffaele Sena

Results 29 comments of Raffaele Sena

Removing `+build linux` (or adding `+build darwin`) does solve the undefined. Not sure if it works, but it allows me to build the original package. Thanks!

This is a fix for issue 2 (signing failes on Windows). Feel free to merge and then update writeURI to use path.Clean directly (I didn't want to rename the path...

Fixed in pull request / issue-5

Vegeta seems to support a formatted body that can contain multiple URLs/methods/body (you have to create a different type of targeter instead of using NewStaticTargeter with a single request) It...

The main problem. of gPython at this point is that it may not have enough of the "standard library" implemented for what you want to do (or for what is...

Ah! So, the problem is that it doesn't work from REPL. REPL should probably ignore empty lines. What I did was, I was writing a test for the print stuff,...

Given a file classes.py: class X(object): def __init__(self, x): self.x = x def __str__(self): return "my name is " + str(self.x) x = X("hello") print(x) x = X(42) print(x) This...

A couple of way to fix this: 1) recover from the panic and generate the RecursionError exception 2) implement the recursion check in Vm.Call, similar to CPython (add a counter...

The 2nd method would probably be better since CPython has a limit of 1000 nested calls (by default) while gpython runs until it runs out of memory.

At least on MacOS it seems that when using hiDPI the scale is reversed. I.e. in https://github.com/danfragoso/thdwb/blob/master/mustard/window.go#L35: ` window := &Window{ title: title, width: int(float32(width) / xscale), height: int(float32(height) /...