20151-20712

19938-21072 subjects 20324-23381

^ [Bug #790](Closed) Unexpected Behaviour: Fibers as superclass don
20151 [redmine ruby] Issue #790 has been updated by Yukihiro Matsumoto.

^ [Bug #800] Problem with Array class
20158 [redmine ruby] Bug #800: Problem with Array class

^ [Bug #800] Problem with Array class
20159 [redmine ruby] Issue #800 has been updated by Rados¥Ê£Âw Bu¥Ê£Ât.

^ [Bug #800](Rejected) Problem with Array class
20160 [redmine ruby] Issue #800 has been updated by Yukihiro Matsumoto.

^ \Z? in regular expression in 1.9.1
20161 [michael.s.kl] I noticed that the following reg exp causes syntax error in 1.9.1 (I
20162 [radek.bulat ] T24gU2F0LCBOb3YgMjksIDIwMDggYXQgMTI6MTQgQU0sIE1pY2hhZWwgS2xpc2hpbgo8bWljaGFl
20163 [matz ruby-la] That's right.  But perhaps we should allow repeat quantifier after
+ 20164 [michael.s.kl] Yes, 1.8 does not raise SyntaxError in this case. Should I file a
+ 20165 [dblack rubyp] Does it make sense, though, for zero-width assertions? It's like
  + 20166 [michael.s.kl] I only asked because I noticed the following difference between 1.8
  + 20167 [B.Candler po] irb(main):001:0> puts "phooey" if /a/.match("bcde")
    + 20174 [dblack rubyp] It's hard to tell whether it's a bug, since it's not clear what \Z?
    | 20177 [B.Candler po] Sure. All I meant was, given the original regexp example
    + 20180 [matz ruby-la] Aargh, I will fix somehow.  Maybe by making it strict again.  Sorry

^ [Bug #799] cross compile 1.9.1-preview1 is not possible
20172 [redmine ruby] Issue #799 has been updated by Roger Pack.

^ Unable to build from source on Vista, VC++ 9
20176 [djberg96 gma] Windows Vista (Home Premium)
+ 20183 [nobu ruby-la] VC seems to define _M_AMD64 on amd64 instead of _M_IX86, but
| 20184 [djberg96 gma] As Park Heesob brought up on win32utils-devel, SEH on 64-bit Windows is table
| 20204 [nobu ruby-la] How we can access that table?
+ 20206 [usa garbagec] ruby 1.8 does NOT support x64 Windows.

^ [Bug #791](Closed) Fiber using a Proc object with a parameter having default value doesn't work
20182 [redmine ruby] Issue #791 has been updated by Nobuyoshi Nakada.

^ [ANN] Ruby 1.9.1 Preview 2 Released
20187 [yugui yugui.] Ruby 1.9.1 Preview 2 has been released.
20202 [duerst it.ao] Many thanks for mentioning this. However, processing of these

^ [Bug #804] Ruby 1.9.1 preview 2 : make test failure
20188 [redmine ruby] Bug #804: Ruby 1.9.1 preview 2 : make test failure

^ [Bug #805] Ruby 1.9.1 preview 2 : build failure on OpenSolaris
20189 [redmine ruby] Bug #805: Ruby 1.9.1 preview 2 : build failure on OpenSolaris
20205 [nobu ruby-la] Is ISPRINT macro defined anywhere on OpenSolaris?
20284 [lists daesan] I've checked system header files and found following macro definitions
20285 [nobu ruby-la] Hmmm, they obviously conflict.
20291 [lists daesan] "/usr/include/sys/euc.h" defines "#define ISPRINT(c, wp)

^ Behavior: autoload calls rb_require() directly
20190 [evan falling] While working on some specs, we found out that autoload
20200 [matz ruby-la] This leads another question: should any implementation be affected by
20215 [evan falling] It's a case by case basis. There are certainly places where you want
+ 20217 [dave pragpro] If you're worried about fragility, then isn't the ability to redefine
| + 20222 [wycats gmail] However, that is *not* currently the implementation, and it could introduce
| | + 20224 [dave pragpro] And Matz is saying the, if nothing else is agreed, that behavior will
| | | 20265 [Thomas.Enebo] Absolutely!  Matz pick what you want on this...please :)
| | + 20225 [transfire gm] ce
| + 20301 [matz ruby-la] I mentioned about fragility just because that will be an issue for
|   + 20316 [charles.nutt] I agree. There's no practical reason anyone should be able to override
|   | + 20317 [pbrannan atd] I agree.  Not having to check to see if Fixnum#+ is redefined each time
|   | + 20319 [transfire gm] On Dec 4, 1:25=A0pm, Charles Oliver Nutter <charles.nut...@sun.com>
|   | | 20321 [charles.nutt] Just for you, I think we should provide a command-line option
|   | + 20329 [dooby d10.ka] override Fixnum#+, after all, and protecting the core simplifies
|   | | 20335 [charles.nutt] I wasn't speaking as a language designer or an implementer; I was
|   | | + 20337 [neil hakubi.] This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
|   | | | 20338 [charles.nutt] I don't see why Ruby couldn't someday be the right tool for the job.
|   | | + 20341 [michael.seli] Not being a "compiled to machine code" language, it seems impossible to me
|   | |   20344 [charles.nutt] JRuby, via the JVM, already does compile Ruby to machine code. The JVM
|   | |   + 20348 [dooby d10.ka] So ...
|   | |   | 20351 [charles.nutt] Yes, some of these kinds of things are already in JRuby, such as a
|   | |   + 20349 [michael.seli] I know nothing about JRuby, so pardon my ignorance if I have got it all
|   | |   | + 20350 [Thomas.Enebo] With everything you assumed you also have to consider that Ruby/JRuby
|   | |   | + 20352 [charles.nutt] In simple cases, you can. However a general solution doesn't necessarily
|   | |   + 20354 [pbrannan atd] Instead of using guards you can recompile the world if someone ever
|   | |     20355 [Tomas.Matous] Except for the frames that are already on stack... that's not so easy.
|   | |     + 20356 [charles.nutt] Yes, deoptimization is the hard case; compiling, recompiling, even
|   | |     + 20373 [pbrannan atd] Yes, that's (very) difficult, but not impossible (method return needs to
|   | |       20381 [charles.nutt] Well, it's more than that; at any point you need to be able to branch
|   | + 20377 [kbloom gmail] There's plenty of reasons why someone might want to override Fixnum#+.
|   + 20378 [kbloom gmail] Actually, you can already see this kind of fragility in irb. There are
|     20383 [Tomas.Matous] QnV0IHRoaXMgb25seSBtZWFucyB3ZSBhcmUgbWlzc2luZyBhIHNhbmRib3ggZmVhdHVyZS4gSWYg
|     20388 [charles.nutt] JRuby as well, either by instantiating a new JRuby instance directly or
|     20410 [kbloom gmail] Could a sandbox feature like these (or why's) be used to protect the core?
|     20411 [charles.nutt] The environments are very separate, so they really act like separate
+ 20239 [charles.nutt] Rather than having autoload actually invoke the global require, whatever
  20257 [pbrannan atd] How would a require plugin avoid this?  It seems to me they would still
  20258 [charles.nutt] require plugins would only advise the require process of additional
  20260 [pbrannan atd] How is that different from overriding require, which also allows
  20264 [charles.nutt] If someone installs a new require that doesn't call the old one, the
  20267 [pbrannan atd] I'm having trouble imagining code that doesn't call the old require.  I

^ [Bug #806] Net::Protocol#rbuf_fill is slow
20191 [redmine ruby] Bug #806: Net::Protocol#rbuf_fill is slow

^ [Bug #806] Net::Protocol#rbuf_fill is slow
20198 [redmine ruby] Issue #806 has been updated by Yukihiro Matsumoto.

^ [Bug #806](Closed) Net::Protocol#rbuf_fill is slow
20199 [redmine ruby] Issue #806 has been updated by Yukihiro Matsumoto.

^ Language list in unicode.org
20201 [matz ruby-la] Juhapekka Tolvanen has informed me that unicode.org has a list of
+ 20203 [duerst it.ao] Many thanks for the notice. I guess I'm the one on this list
+ 20231 [ryand-ruby z] are you kidding? that's a beautifully complex sentence and it is
  20232 [matz ruby-la] You don't know how great my Japanese is.  Comparing that my English
  20322 [ryand-ruby z] Best. Response. Evar.
  20358 [duerst it.ao] The actual entry now has been made, at

^ [Bug #808] IO (StringIO) documentation corrections.
20212 [redmine ruby] Bug #808: IO (StringIO) documentation corrections.

^ [Bug #811] Documentation Patch: Preventing XPath Injection attacks
20213 [redmine ruby] Bug #811: Documentation Patch: Preventing XPath Injection attacks

^ Proposal: deferred blocks
20214 [wycats gmail] Several people have played around with solutions that use ParseTree or
+ 20216 [charles.nutt] It would have to be a keyword to be portable, since e.g. 1.9 and JRuby
| 20218 [wycats gmail] I'm ok with it being a keyword, and I would (honestly) even be ok with
| 20219 [wycats gmail] Just to follow up on my previous comment, simply having a feature of Ruby
+ 20220 [flo andersgr] Is this really necessary?
| 20221 [wycats gmail] My example was only a real-use that already exists.
| + 20223 [flo andersgr] Well,
| + 20254 [B.Candler po] Why not do it the other way round?
|   20255 [B.Candler po] Of course, you can make this look more like a block by use of appropriate
+ 20429 [rogerpack200] Yeah for me Proc#to_s and Method#to_s would also be quite useful, if
+ 20712 [rogerpack200] I suppose with a ruby parser, some luck, and Method#source_location

^ \b and \B with Unicode
20226 [dave pragpro] #encoding: utf-8
20227 [radek.bulat ] T24gV2VkLCBEZWMgMywgMjAwOCBhdCAxMjo0NiBBTSwgRGF2ZSBUaG9tYXMgPGRhdmVAcHJhZ3By
+ 20228 [matz ruby-la] I think it should.  I suspect it's a bug in Oniguruma.  I will inspect
+ 20229 [michael.seli] The character in question is Unicode U+2202 which is "Partial
  20234 [dave pragpro] I'll try again.

^ [Bug #811](Closed) Documentation Patch: Preventing XPath Injection attacks
20230 [redmine ruby] Issue #811 has been updated by Yukihiro Matsumoto.

^ [Bug #808](Closed) IO (StringIO) documentation corrections.
20233 [redmine ruby] Issue #808 has been updated by Nobuyoshi Nakada.

^ autoload and concurrency
20235 [wycats gmail] Merb uses autoload rather extensively. We have lately observed some
+ 20236 [jdeville mic] This seems like a strong argument in favor of Ruby-core:20225.
| 20240 [charles.nutt] Fixing autoload to call require doesn't solve anything because there's
| + 20242 [charles.nutt] A trivial example
| | 20245 [wycats gmail] Also, this just illustrates that it's possible. In the case of Merb, we
| | 20247 [Tomas.Matous] I think it has already been concluded that autoload and require are inheren=
| | + 20250 [dave pragpro] charset=US-ASCII;
| | + 20251 [charles.nutt] Require could be made safe if only one thread were allowed to execute
| |   + 20253 [Tomas.Matous] SSBtZWFudCB0aGF0IGV2ZW4gaWYgYXV0b2xvYWQgaXMgImZpeGVkIiBieSBhZGRpbmcgc29tZSBr
| |   | 20259 [charles.nutt] Except that my proposed fix for autoload would have all secondary
| |   | 20270 [Tomas.Matous] VW5sZXNzIHRoZSBmaWxlIHRoYXTigJlzIGJlaW5nIGF1dG8tbG9hZGVkIHJlcXVpcmVzIGFub3Ro
| |   | 20281 [charles.nutt] If the thread autoloading the file required another file, it's still the
| |   + 20275 [rogerpack200] That might be a great idea.  The only drawback being if you have
| |     20279 [rogerpack200] looks like this has been discussed before [on the todo list since 2000 [1]].
| |     + 20280 [vincent.isam] A stupid idea that just came to mind (maybe someone already mentioned
| |     + 20290 [charles.nutt] It would still require changes to autoload so that before autoload had
| + 20248 [jdeville mic] SSB3YXMga2V5aW5nIG9mZiBvZiB0aGlzOg0KDQpUaGUgd29yc3QgcGFydCBpcyB0aGF0IG5vIHVz
+ 20238 [charles.nutt] I've spent some time looking into this on Yehuda's behalf, and I believe
  + 20262 [Thomas.Enebo] The other wrinkle in this is that the autoload itself may make a check
  | 20271 [wycats gmail] Because of this problem, we *will* be removing the use of autoload in 1.1.
  | 20282 [gethemant gm] Why not use const_missing for lazy loading and protect "require" by a
  | 20283 [dave pragpro] I don't see how there could be a deadlock: once you've claimed the
  | + 20286 [james graypr] I loved your let's-move-on post so much it actually pains me to write
  | | 20289 [dave pragpro] That's a new thread, so the mutex.lock in its require will hang until
  | + 20288 [charles.nutt] autoload is a little trickier than that since it needs some intermediate
  + 20266 [brent mbari.] +1
    20269 [jim.weirich ] How do you prevent deadlocks?
    20274 [brent mbari.] Yes, I'd forgotten for a moment about the deadlock issue.
    + 20278 [kbloom gmail] Loading code right now is a depth-first search of the dependency tree for
    + 20287 [charles.nutt] I don't think this is really any different than having a single mutex
      20293 [brent mbari.] Charlie,

^ Does this count as a bug in #parameters?
20237 [dave pragpro] irb(main):023:0> ->(c=1+2) {}.parameters
20243 [wycats gmail] I would say so!

^ [Bug #814] NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
20241 [redmine ruby] Bug #814: NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
20244 [akr fsij.org] I think it is not necessary to make
20246 [akr fsij.org] Also, read_nonblock should read from buffer, if buffer is
20249 [aaron tender] Sorry about that!  I will put together a better fix tomorrow.  I'm too

^ [Bug #816] Unexpected syntax error with: if true and not\n   false
20252 [redmine ruby] Bug #816: Unexpected syntax error with: if true and not\n   false

^ [Bug #816](Closed) Unexpected syntax error with: if true and not\n   false
20256 [redmine ruby] Issue #816 has been updated by Nobuyoshi Nakada.

^ Tail recursion?
20273 [robert.dober] I was just having some real fun with the 191p2 and somehow I was sure
+ 20276 [rogerpack200] aXMgaXQgYSBjb21waWxlciBkaXJlY3RpdmU/IFtvciB1c2VkIHRvIGJlP10KLT1SCgpPbiBXZWQs
| 20302 [B.Candler po] When writing and compiling C code, you can tell gcc to optimise tail
| 20303 [robert.dober] Thanx.
+ 20307 [mame tsg.ne.] YARV itself implements tail call optimization, but the feature is currently
  + 20312 [rocky.bernst] Comments in line.
  | 20369 [mame tsg.ne.] Sorry I don't understand very well.  Do you mean we should give up to
  | 20371 [rocky.bernst] Not a problem. I don't explain very well.
  + 20360 [ks kurtsteph] The trick to doing properly tail-recursive interpreter embedded in C is to
  | 20368 [shyouhei rub] Ruby 1.9 _does_ properly implement tail recursion.  It is just turned off by default.
  + 20361 [ks kurtsteph] A trick to implementing a properly tail-recursive interpreter embedded in C is

^ [Bug #814] NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
20277 [redmine ruby] Issue #814 has been updated by Aaron Patterson.
20298 [akr fsij.org] The buffering mechanism of OpenSSL::SSL::SSLSocket is
20300 [matz ruby-la] Oops.  I just checked in the patch.  I am awaiting even better patch

^ [Bug #805](Closed) Ruby 1.9.1 preview 2 : build failure on OpenSolaris
20292 [redmine ruby] Issue #805 has been updated by Yukihiro Matsumoto.
20294 [lists daesan] Thanks Matz!
20295 [matz ruby-la] Oops, sorry.  I just checked in.

^ [Bug #766] 'Not enough space' error on windows
20296 [redmine ruby] Issue #766 has been updated by Ittay Dror.
20297 [matz ruby-la] That problem seems to happen only on you.  Something in your computer

^ [Bug #814](Closed) NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
20299 [redmine ruby] Issue #814 has been updated by Yukihiro Matsumoto.

^ [Bug #766] 'Not enough space' error on windows
20305 [redmine ruby] Issue #766 has been updated by Ittay Dror.
20315 [matz ruby-la] As long as you don't disclose the whole information, I am afraid we

^ [Bug #822] gets blocks when it shouldn't
20310 [redmine ruby] Bug #822: gets blocks when it shouldn't

^ [Bug #822](Rejected) gets blocks when it shouldn't
20313 [redmine ruby] Issue #822 has been updated by Nobuyoshi Nakada.

^ [Bug #822] gets blocks when it shouldn't
20318 [redmine ruby] Issue #822 has been updated by Brian Candler.
20347 [nobu ruby-la] Perhaps.
20364 [B.Candler po] Better, but now it doesn't say that preceding newlines are dropped.

^ [Bug #823] bad error recovery in Net::IMAP
20320 [redmine ruby] Bug #823: bad error recovery in Net::IMAP

^ Leave my open classes alone (was Behavior: autoload calls rb_require()  directly)
20323 [dave pragpro] Please, no.
+ 20325 [charles.nutt] I can appreciate the "choice is good" argument, but I think the Ruby
| + 20326 [michael.lett] Being able to redefine something as basic as FixNum#+ is something that I
| + 20327 [pit.capitain] And who decides which things are more important than the others? Based
| | 20330 [charles.nutt] You are entitled to your opinion. :)
| | 20390 [wycats gmail] What is desirable is a user option that could turn on more static
| + 20333 [dblack rubyp] It's not a growing-up thing, though. The freedom of Ruby isn't the
|   + 20336 [charles.nutt] Because it isn't today. It might be more open tomorrow, or it might be
|   | 20366 [dblack rubyp] HriI --
|   + 20391 [wycats gmail] Again, what is desired is a way to *elect* into this state of affairs
+ 20328 [matz ruby-la] Don't get me wrong.  No matter how Charles agreed, I said I wanted to
| + 20334 [charles.nutt] I in no way meant to characterize what you suggested as being
| | 20384 [brent mbari.] This is somewhat of a tangent, but I think it is related...
| | + 20385 [pbrannan atd] Floats are 64-bits wide, and need at least 1 bit to indicate that the
| | | 20386 [brent mbari.] Paul,
| | | + 20387 [charles.nutt] There's a lot of interest in adding value types and tagged numerics to
| | | | 20397 [brent mbari.] Charlie,
| | | | 20404 [charles.nutt] I'm not sure, actually. There's a lot of people using JRuby on peculiar
| | | + 20393 [pbrannan atd] You can't easily do these sorts of tricks with floating point numbers;
| | |   20396 [brent mbari.] Paul,
| | |   20426 [pbrannan atd] - My initial concern was that arithmetic would be done on objects that
| | + 20398 [matz ruby-la] Ko1 once experimented making float values immediate on 64bit systems.
| |   20415 [ko1 atdot.ne] To be precise, most of Desktop OSs are 32bit.  But 64bit CPU and OSs are
| |   20441 [kbloom gmail] Even so, where would you get space for the tag from? Ruby's documentation
| |   20442 [ko1 atdot.ne] Good point.
| |   20444 [duerst it.ao] Do you have a pointer?
| |   20445 [ko1 atdot.ne] I posted this paper to PPL2008.
| + 20353 [dave pragpro] Ah, got me :)...
| + 20389 [wycats gmail] Matz,
|   20399 [matz ruby-la] Makes sense.  Although I have no fixed idea for 2.0 namespace.  At
+ 20343 [pbrannan atd] Is there a use case where redefining Fixnum#+ actually solves a
| + 20346 [transfire gm] Think out loud a bit here... Needless to say I'm in the camp of
| | 20357 [jeremymcanal] Soooo basically you're advocating a Python-like object tree, which is
| | 20359 [billk cts.co] I think, rather, that Trans was wanting Ruby to be just as open as it
| | 20367 [transfire gm] Yes. And hopefully even more open. I've written code were I wanted to
| | 20382 [evan falling] I see my simple little question has ruffled feathers in the hen house
| + 20380 [matz ruby-la] I know none for Fixnum#+ bu mathn uses Fixnum#/ replacement, and it is
+ 20392 [Daniel.Berge] No need to ask. No need to check explicitly.
threads.html
top