General

Profile

fxn (Xavier Noria)

  • Login: fxn
  • Email: fxn@hashref.com
  • Registered on: 03/21/2010
  • Last connection: 04/10/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 6 6

Activity

05/16/2022

12:21 AM Ruby master Bug #15790: Strange interaction between autoload and $LOADED_FEATURES
> The behaviour described here does not seem strange to me
What do you mean Samuel?
You don't find strange that we ...
fxn (Xavier Noria)

05/07/2022

08:18 AM Ruby master Bug #18663: Autoload doesn't work with fiber context switch.
❤️ fxn (Xavier Noria)

04/22/2022

11:26 AM Ruby master Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
Exactly :).
Backwards compatibility, adding a flag, a new method, etc., is something for core to consider. But in ...
fxn (Xavier Noria)
10:38 AM Ruby master Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
@Eregon in your proposal
```ruby
Module.new.const_get(:String)
```
raises.
Would
```ruby
Class.new.co...
fxn (Xavier Noria)

04/21/2022

03:30 PM Ruby master Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
I you want to check only in the receiver, that is `mod.const_get(cname, false)` already.
If you want to check from...
fxn (Xavier Noria)

03/25/2022

10:29 PM Ruby master Bug #18663: Autoload doesn't work with fiber context switch.
@ioquatix hmmm, let me explain.
The feature in development for a web application is reloading. Ordinary gems using...
fxn (Xavier Noria)
08:17 PM Ruby master Misc #18662: Fiber scheduling and Module#autoload
https://bugs.ruby-lang.org/issues/18663 is the same, human race condition :D. We could close one of the two, at your ... fxn (Xavier Noria)
07:50 PM Ruby master Misc #18662 (Closed): Fiber scheduling and Module#autoload
Looks like Fiber context-switching does not synchronize constant reference access. This script using the `async` gem ... fxn (Xavier Noria)

03/16/2022

09:58 AM Ruby master Feature #15592: mode where "autoload" behaves like an immediate "require"
I'd personally suggest closing this one.
When you offer lazy/eager loading mechanisms, loading has to be _consistent...
fxn (Xavier Noria)

03/13/2022

01:55 PM Ruby master Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
> That makes sense, I think we should improve const_get docs to says it's like module A; B; end and not A::B (which I... fxn (Xavier Noria)

Also available in: Atom