[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23320] [Bug #920] require is not thread-safe

From: Tuomas Karkkainen <redmine@...>
Date: 2009-04-26 21:16:22 UTC
List: ruby-core #23320
Issue #920 has been updated by Tuomas Karkkainen.


is circular require a feature of the ruby language?

if it was disallowed the way rake handles invoke_with_call_chain and multitask could work on this issue as well:
http://rake.rubyforge.org/classes/Rake/MultiTask.html
http://www.fsdata.se/kund/gemdocs/rake-0.8.1/rdoc/classes/Rake/Task.html#M004984

that is:
1) each require is locked by it's own mutex, 
2) each require passes along a list of all requires that is has traversed
3) a file may not require itself.


----------------------------------------
http://redmine.ruby-lang.org/issues/show/920

----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next