Cat Stevens

Results 54 comments of Cat Stevens

Hmm, in my opinion that workaround (using `init`, but not inheriting the array) can still cause inexplicable infinite recursion. I haven't gotten a small piece of code that can reproduce...

```ruby class Top { method init { say "Top: #{__METHOD_NAME__}" } } const Array global_array = [ { say 'asd' }, { say 'different' } ] class Next < Top...

also, it would be cool to have a method `.code` or something on Block and function-likes: ```ruby { var a = 1; a += 2 } # {|_| #`(__BLOCK__|94390607501168) ......

Ah, I think that's a bug, let me see if I can write a fix.

@derVedro that pull which fixes this (#4) hasn't been merged yet, and unfortunately isn't released yet. You can clone [my branch with the fix](https://github.com/catb0t/elevate/tree/relp) for now though.

> @catb0t I think this never was released on PyPi. Should I continue using your branch for this fix or will it be released See the discussion between Barney and...

In my Factor port of elevate I added `lowered`, I plan to add it here in a future pull request. It's pretty simple to quickly implement for your own code...

> pkexec window wouldn't disappear, and the process didn't continue executing. Is a separate bug. Please write a new issue including your code (or was it just the example code?)...

Actually I think this might happen regardless of UAC for me. On the other hand, my Windows 7 is screwed up and customised to the point where it might be...